mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-09 13:51:31 +00:00
Parameters to macro were the wrong way around
This commit is contained in:
1 parent
00cea7bbd5
commit
09a73a1ac7
1 file changed
+1
-1
@@ -73,7 +73,7 @@ string ToStrHelper<false, D3D12ComponentMapping>::Get(const D3D12ComponentMappin
|
||||
uint32_t swizzle = (uint32_t)el;
|
||||
|
||||
for(int i = 0; i < 4; i++)
|
||||
ret += mapping[D3D12_DECODE_SHADER_4_COMPONENT_MAPPING(swizzle, i)];
|
||||
ret += mapping[D3D12_DECODE_SHADER_4_COMPONENT_MAPPING(i, swizzle)];
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user