mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Ensure we don't hide an invalid buffer value that truncates to green
This commit is contained in:
@@ -55,7 +55,10 @@ layout(binding = 0, std140) uniform constsbuf
|
||||
|
||||
void main()
|
||||
{
|
||||
Color = col;
|
||||
if(col == vec4(0.0, 1.0, 0.0, 1.0))
|
||||
Color = col;
|
||||
else
|
||||
Color = vec4(1.0, 0.0, 0.0, 1.0);
|
||||
}
|
||||
|
||||
)EOSHADER";
|
||||
|
||||
Reference in New Issue
Block a user