Skip to content

Commit

Permalink
DXIL Debugger return DXILDebug::INVALID_ID for Constant's in GetSSAId
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorro666 committed Dec 16, 2024
1 parent 8a9b344 commit 8cec6c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions renderdoc/driver/shaders/dxil/dxil_disassemble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ DXILDebug::Id DXIL::GetSSAId(const DXIL::Value *value)
return inst->slot;
if(const GlobalVar *gv = cast<GlobalVar>(value))
return gv->ssaId;
if(const Constant *c = cast<Constant>(value))
return DXILDebug::INVALID_ID;

RDCERR("Unhandled DXIL::Value type");
return DXILDebug::INVALID_ID;
Expand Down

0 comments on commit 8cec6c3

Please sign in to comment.