mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
DXIL Disassembly added variable for name of fake input/output structs
This commit is contained in:
@@ -49,6 +49,9 @@ struct ThreadState;
|
||||
|
||||
namespace DXIL
|
||||
{
|
||||
static const rdcstr DXIL_FAKE_OUTPUT_STRUCT_NAME("_OUT");
|
||||
static const rdcstr DXIL_FAKE_INPUT_STRUCT_NAME("_IN");
|
||||
|
||||
struct BumpAllocator
|
||||
{
|
||||
BumpAllocator(size_t totalSize);
|
||||
|
||||
@@ -3053,7 +3053,7 @@ void Program::MakeRDDisassemblyString(const DXBC::Reflection *reflection)
|
||||
else
|
||||
componentStr = GetArgId(inst, 3);
|
||||
|
||||
lineStr += "<IN>." + name + rowStr + "." + componentStr;
|
||||
lineStr += DXIL_FAKE_INPUT_STRUCT_NAME + "." + name + rowStr + "." + componentStr;
|
||||
break;
|
||||
}
|
||||
case DXOp::StoreOutput:
|
||||
@@ -3091,7 +3091,7 @@ void Program::MakeRDDisassemblyString(const DXBC::Reflection *reflection)
|
||||
else
|
||||
componentStr = GetArgId(inst, 3);
|
||||
|
||||
lineStr += "<OUT>." + name + rowStr + "." + componentStr;
|
||||
lineStr += DXIL_FAKE_OUTPUT_STRUCT_NAME + "." + name + rowStr + "." + componentStr;
|
||||
lineStr += " = " + GetArgId(inst, 4);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user