mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-11 09:11:00 +00:00
Fix compute shader handling of implicitly-set unspecified root signature
* Previous commit 304e636 fixed this for most cases but was incorrect for
compute PSOs.
This commit is contained in:
@@ -842,8 +842,6 @@ bool WrappedID3D12Device::Serialise_CreateComputePipelineState(
|
||||
WrappedID3D12Shader *entry = WrappedID3D12Shader::AddShader(wrapped->compute->CS, this);
|
||||
entry->AddRef();
|
||||
|
||||
wrapped->FetchRootSig(GetShaderCache());
|
||||
|
||||
if(m_GlobalEXTUAV != ~0U)
|
||||
entry->SetShaderExtSlot(m_GlobalEXTUAV, m_GlobalEXTUAVSpace);
|
||||
|
||||
@@ -856,6 +854,8 @@ bool WrappedID3D12Device::Serialise_CreateComputePipelineState(
|
||||
|
||||
wrapped->compute->CS.pShaderBytecode = entry;
|
||||
|
||||
wrapped->FetchRootSig(GetShaderCache());
|
||||
|
||||
if(Replay_Debug_SingleThreadedCompilation())
|
||||
{
|
||||
RDResult res = DeferredPipelineCompile(m_pDevice, OrigDescriptor, wrapped);
|
||||
|
||||
Reference in New Issue
Block a user