diff options
author | Iago Toral Quiroga <itoral@igalia.com> | 2016-07-28 11:37:57 +0200 |
---|---|---|
committer | Iago Toral Quiroga <itoral@igalia.com> | 2016-10-27 08:06:50 +0200 |
commit | 2962b758485560327390e7a71ff603a2665cd823 (patch) | |
tree | e5e618c365353bf6086ac1fd1b583ee147010767 | |
parent | 66be9acf0b03fe7861cce4a7d923c11f77775da0 (diff) |
arb_enhanced_layouts: fix shader GLSL version requirement
The test declares that only GLSL 1.40 is required, but then shaders
use version 4.20, leading to execution failures if the platform does
not support 4.20. Just require GLSL 1.40 in the shaders too, since
that is sufficient and consistent with other similar tests.
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
-rw-r--r-- | tests/spec/arb_enhanced_layouts/execution/component-layout/vs-fs-doubles.shader_test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/spec/arb_enhanced_layouts/execution/component-layout/vs-fs-doubles.shader_test b/tests/spec/arb_enhanced_layouts/execution/component-layout/vs-fs-doubles.shader_test index de334594b..250766834 100644 --- a/tests/spec/arb_enhanced_layouts/execution/component-layout/vs-fs-doubles.shader_test +++ b/tests/spec/arb_enhanced_layouts/execution/component-layout/vs-fs-doubles.shader_test @@ -7,7 +7,7 @@ GL_ARB_separate_shader_objects GL_ARB_gpu_shader_fp64 [vertex shader] -#version 420 +#version 140 #extension GL_ARB_enhanced_layouts: require #extension GL_ARB_separate_shader_objects: require #extension GL_ARB_gpu_shader_fp64: require @@ -30,7 +30,7 @@ void main() } [fragment shader] -#version 420 +#version 140 #extension GL_ARB_enhanced_layouts: require #extension GL_ARB_separate_shader_objects: require #extension GL_ARB_gpu_shader_fp64: require |