summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>2018-05-07 07:42:51 +0200
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>2018-05-10 18:43:30 +0200
commit3ba0657bff4216d1ec7179935590261855f1651e (patch)
tree8e636098048977e2761d9d38387a7d965d5bf991
parent318e0b8c5cdf7aac628f85d0c4a00db8f2d6ab0d (diff)
glsl-uniform-initializer-7: Fixed uninitialized uniform.
This fixes a valgrind error in executing shader_runner on this test. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
-rw-r--r--tests/shaders/glsl-uniform-initializer-7.shader_test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-uniform-initializer-7.shader_test b/tests/shaders/glsl-uniform-initializer-7.shader_test
index 4d6f28f67..135b30853 100644
--- a/tests/shaders/glsl-uniform-initializer-7.shader_test
+++ b/tests/shaders/glsl-uniform-initializer-7.shader_test
@@ -24,6 +24,6 @@ void main()
}
[test]
-uniform vec4 color 1.0 0.0 0.5
+uniform vec4 color 1.0 0.0 0.5 1.0
draw rect -1 -1 2 2
probe all rgba 0.0 1.0 0.5 0.0