mirror of https://github.com/PCSX2/pcsx2.git
glsl: fix debugging of tex coordinate in apitrace
This commit is contained in:
parent
31f8c065db
commit
6d253c0b8f
|
@ -280,6 +280,9 @@ vec4 sample_color(vec2 st, float q)
|
|||
}
|
||||
#ifdef TEX_COORD_DEBUG
|
||||
c[0].rg = uv.xy;
|
||||
c[1].rg = uv.xy;
|
||||
c[2].rg = uv.xy;
|
||||
c[3].rg = uv.xy;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -1029,6 +1029,9 @@ static const char* tfx_fs_all_glsl =
|
|||
" }\n"
|
||||
"#ifdef TEX_COORD_DEBUG\n"
|
||||
" c[0].rg = uv.xy;\n"
|
||||
" c[1].rg = uv.xy;\n"
|
||||
" c[2].rg = uv.xy;\n"
|
||||
" c[3].rg = uv.xy;\n"
|
||||
"#endif\n"
|
||||
" }\n"
|
||||
"\n"
|
||||
|
|
Loading…
Reference in New Issue