diff options
Diffstat (limited to 'tests/spec/arb_tessellation_shader/compiler/input-must-be-array.tesc')
-rw-r--r-- | tests/spec/arb_tessellation_shader/compiler/input-must-be-array.tesc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/spec/arb_tessellation_shader/compiler/input-must-be-array.tesc b/tests/spec/arb_tessellation_shader/compiler/input-must-be-array.tesc new file mode 100644 index 000000000..f36a3ff43 --- /dev/null +++ b/tests/spec/arb_tessellation_shader/compiler/input-must-be-array.tesc @@ -0,0 +1,12 @@ +// [config] +// expect_result: fail +// glsl_version: 1.50 +// require_extensions: GL_ARB_tessellation_shader +// [end config] +// +// Inputs to the tessellation control shader must be arrays. + +#version 150 +#extension GL_ARB_tessellation_shader: require + +in vec4 x; /* not an array */ |