summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-07-23 10:05:52 +1000
committerDave Airlie <airlied@redhat.com>2015-07-23 10:08:07 +1000
commit86ae0bcd009dd505c50a9889589b5802648f30df (patch)
treeb948ad243a17620c0a1e9d3e6cfa2076f8f002c9
parent0a0b1cb05544f3e11219670647d16e6166247482 (diff)
arb_program_resource: add vs output to sub test for gs
This allows the program to link and the test to run. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rwxr-xr-xtests/spec/arb_program_interface_query/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/spec/arb_program_interface_query/common.h b/tests/spec/arb_program_interface_query/common.h
index e083a6ef0..9e57ad116 100755
--- a/tests/spec/arb_program_interface_query/common.h
+++ b/tests/spec/arb_program_interface_query/common.h
@@ -211,12 +211,14 @@ static const char vs_sub[] =
"#version 150\n"
"#extension GL_ARB_shader_subroutine : require\n"
"in vec4 vs_input0;\n"
+ "out vec4 vs_output1;\n"
"subroutine vec4 vs_offset();\n"
"subroutine uniform vs_offset VERTEX;\n"
"subroutine (vs_offset) vec4 vss() { return vec4(1, 0, 0, 0); }\n"
"subroutine (vs_offset) vec4 vss2() { return vec4(1, 0, 0, 0); }\n"
"void main() {\n"
" gl_Position = vs_input0 + VERTEX();\n"
+ " vs_output1 = vs_input0;\n"
"}";
static const char gs_sub[] =