mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Move hasQuadScope assert to the correct place (after workgroup check)
This commit is contained in:
@@ -6658,12 +6658,12 @@ ShaderDebugTrace *VulkanReplay::DebugComputeCommon(ShaderStage stage, uint32_t e
|
||||
RDCASSERTNOTEQUAL(subgroupSize, 0);
|
||||
numThreads = RDCMAX(numThreads, subgroupSize);
|
||||
|
||||
if(hasQuadScope)
|
||||
RDCASSERT(numThreads >= 4);
|
||||
|
||||
if(hasWorkgroupScope)
|
||||
numThreads = RDCMAX(numThreads, threadDim[0] * threadDim[1] * threadDim[2]);
|
||||
|
||||
if(hasQuadScope)
|
||||
RDCASSERT(numThreads >= 4);
|
||||
|
||||
apiWrapper->global_builtins[ShaderBuiltin::NumSubgroups] =
|
||||
ShaderVariable(rdcstr(), winner->numSubgroups, 0U, 0U, 0U);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user