mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-17 13:07:14 +00:00
Only set shader ext UAV on DXBC bytecode if it's present
* For DXIL bytecode we don't attempt to nicely fixup the disassembly, but we still want to remove the reflected UAV if present.
This commit is contained in:
@@ -1872,7 +1872,8 @@ DXBCContainer::DXBCContainer(bytebuf &ByteCode, const rdcstr &debugInfoPath, Gra
|
||||
{
|
||||
found = true;
|
||||
m_Reflection->UAVs.erase(i);
|
||||
m_DXBCByteCode->SetShaderEXTUAV(api, shaderExtSpace, shaderExtReg);
|
||||
if(m_DXBCByteCode)
|
||||
m_DXBCByteCode->SetShaderEXTUAV(api, shaderExtSpace, shaderExtReg);
|
||||
m_ShaderExt = {shaderExtSpace, shaderExtReg};
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user