mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-30 18:45:13 +00:00
Add a global value to GL_Shader_Debug_Zoo
* This produces unique debug info for 'executable' code
This commit is contained in:
1 file changed
+3
-1
@@ -149,9 +149,11 @@ flat in vec3 v2fFlatFloat;
|
||||
noperspective in vec3 v2fNoPerspFloat;
|
||||
#endif
|
||||
|
||||
vec4 global_value = vec4(1.1f, 2.2f, 3.3f, 4.4f);
|
||||
|
||||
void main()
|
||||
{
|
||||
outColor = v2fColor + v2fUV.xyxy;
|
||||
outColor = v2fColor + v2fUV.xyxy + global_value;
|
||||
|
||||
#ifdef BLOCK
|
||||
outColor.r += v2f.a;
|
||||
|
||||
Reference in new issue
Block a user