mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 15:36:33 +00:00
DXIL Disassembly show the interpolation mode on Input/Output variables
This commit is contained in:
@@ -2917,6 +2917,11 @@ void Program::MakeRDDisassemblyString(const DXBC::Reflection *reflection)
|
||||
m_Disassembly += " ";
|
||||
|
||||
EntryPointInterface::Signature &sig = entryPoint.inputs[j];
|
||||
|
||||
if(sig.interpolation != D3D_INTERPOLATION_MODE::D3D_INTERPOLATION_UNDEFINED &&
|
||||
sig.interpolation != D3D_INTERPOLATION_MODE::D3D_INTERPOLATION_LINEAR)
|
||||
m_Disassembly += ToStr((DXBC::InterpolationMode)sig.interpolation) + " ";
|
||||
|
||||
ComponentType compType = sig.type;
|
||||
|
||||
m_Disassembly += ProcessNormCompType(compType);
|
||||
@@ -2986,6 +2991,10 @@ void Program::MakeRDDisassemblyString(const DXBC::Reflection *reflection)
|
||||
|
||||
m_Disassembly += " ";
|
||||
|
||||
if(sig.interpolation != D3D_INTERPOLATION_MODE::D3D_INTERPOLATION_UNDEFINED &&
|
||||
sig.interpolation != D3D_INTERPOLATION_MODE::D3D_INTERPOLATION_LINEAR)
|
||||
m_Disassembly += ToStr((DXBC::InterpolationMode)sig.interpolation) + " ";
|
||||
|
||||
ComponentType compType = sig.type;
|
||||
|
||||
m_Disassembly += ProcessNormCompType(compType);
|
||||
|
||||
Reference in New Issue
Block a user