Fix D3D shader debug ddx/ddy being the wrong way around

This commit is contained in:
baldurk
2022-10-27 16:04:35 +01:00
parent d9d06c8390
commit 9e9a333b56
+2 -2
View File
@@ -52,11 +52,11 @@ void RENDERDOC_DebugSampleVS(uint id
: UVS)
{
if(id == 0)
uv = debugSampleUV + debugSampleDDX * 2.0f;
uv = debugSampleUV + debugSampleDDY * 2.0f;
else if(id == 1)
uv = debugSampleUV;
else if(id == 2)
uv = debugSampleUV + debugSampleDDY * 2.0f;
uv = debugSampleUV + debugSampleDDX * 2.0f;
else
uv = 0.0f.xxxx;