mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
D3D12 Shader Debugging error for invalid sample return type
This commit is contained in:
@@ -276,6 +276,10 @@ bool D3D12ShaderDebug::CalculateSampleGather(
|
||||
};
|
||||
|
||||
cbufferData.debugSampleRetType = retTypes[resourceData.retType];
|
||||
if(cbufferData.debugSampleRetType == 0)
|
||||
{
|
||||
RDCERR("Unsupported return type %d in sample operation", resourceData.retType);
|
||||
}
|
||||
|
||||
cbufferData.debugSampleGatherChannel = (int)gatherChannel;
|
||||
cbufferData.debugSampleSampleIndex = multisampleIndex;
|
||||
|
||||
Reference in New Issue
Block a user