mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-14 05:50:51 +00:00
Parameters to macro were the wrong way around
This commit is contained in:
@@ -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