summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2015-10-07 09:30:30 +0300
committerTapani Pälli <tapani.palli@intel.com>2015-10-07 13:00:53 +0300
commit2dda69e7273cf66cbd8ea33d1fd20a071d799efb (patch)
treee3cc26959671d5965cded64888f8199655ab7dfd
parent1b3163a899ad9e62c1a29d68fac744adada460fb (diff)
arb_program_interface_query: revert linker test for querying varyings
This reverts commit e68f387df54767c177fcbf9e2f0b44a98525eb2a. This test is wrong. Varyings as GL_PROGRAM_INPUT should be in the resource list only when using SSO, not in case of full shader programs with multiple stages. I will write a separate test for that case. Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
-rw-r--r--tests/spec/arb_program_interface_query/linker/query-varyings.shader_test33
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/spec/arb_program_interface_query/linker/query-varyings.shader_test b/tests/spec/arb_program_interface_query/linker/query-varyings.shader_test
deleted file mode 100644
index 994ef54a1..000000000
--- a/tests/spec/arb_program_interface_query/linker/query-varyings.shader_test
+++ /dev/null
@@ -1,33 +0,0 @@
-# Tests that we can succesfully query properties of varyings
-# that have interface GL_PROGRAM_INPUT in fragment stage.
-#
-# This tests that possible optimization for packing variables
-# does not lose information about individual variables.
-#
-[require]
-GLSL >= 1.10
-GL_ARB_program_interface_query
-
-[vertex shader]
-#version 110
-varying float r, g, b;
-void main()
-{
- r = 1.0;
- g = 0.0;
- b = 1.0;
- gl_Position = vec4(0.0);
-}
-
-[fragment shader]
-#version 110
-varying float r, g, b;
-void main()
-{
- gl_FragColor = vec4(r, g, b, 1.0);
-}
-
-[test]
-verify program_interface_query GL_PROGRAM_INPUT r GL_ARRAY_SIZE 1
-verify program_interface_query GL_PROGRAM_INPUT g GL_TYPE GL_FLOAT
-verify program_interface_query GL_PROGRAM_INPUT b GL_REFERENCED_BY_FRAGMENT_SHADER 1