Commit 8f04a7ec authored by Andres Gomez's avatar Andres Gomez

arb_enhanced_layouts: GL_ARB_gpu_shader_fp64 requires GLSL 1.50

Cc: Timothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Andres Gomez's avatarAndres Gomez <agomez@igalia.com>
Reviewed-by: Juan A. Suárez's avatarJuan A. Suarez <jasuarez@igalia.com>
parent db98d3a7
// [config]
// expect_result: fail
// glsl_version: 1.40
// glsl_version: 1.50
// require_extensions: GL_ARB_enhanced_layouts GL_ARB_gpu_shader_fp64 GL_ARB_separate_shader_objects
// [end config]
//
......@@ -9,7 +9,7 @@
// "It is a compile-time error to use component 1 or 3 as the beginning of a
// double or dvec2."
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......
// [config]
// expect_result: fail
// glsl_version: 1.40
// glsl_version: 1.50
// require_extensions: GL_ARB_enhanced_layouts GL_ARB_gpu_shader_fp64 GL_ARB_separate_shader_objects
// [end config]
//
......@@ -9,7 +9,7 @@
// "It is a compile-time error to use component 1 or 3 as the beginning of a
// double or dvec2."
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......
// [config]
// expect_result: pass
// glsl_version: 1.40
// glsl_version: 1.50
// require_extensions: GL_ARB_enhanced_layouts GL_ARB_gpu_shader_fp64 GL_ARB_separate_shader_objects
// [end config]
//
......@@ -10,7 +10,7 @@
// consume all four components available within a location. A dvec3 or dvec4
// can only be declared without specifying a component."
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......
// [config]
// expect_result: fail
// glsl_version: 1.40
// glsl_version: 1.50
// require_extensions: GL_ARB_enhanced_layouts GL_ARB_gpu_shader_fp64 GL_ARB_separate_shader_objects
// [end config]
//
......@@ -8,7 +8,7 @@
//
// "A dvec3 or dvec4 can only be declared without specifying a component."
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......
// [config]
// expect_result: fail
// glsl_version: 1.40
// glsl_version: 1.50
// require_extensions: GL_ARB_enhanced_layouts GL_ARB_gpu_shader_fp64 GL_ARB_separate_shader_objects
// [end config]
//
......@@ -8,7 +8,7 @@
//
// "A dvec3 or dvec4 can only be declared without specifying a component."
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......
// [config]
// expect_result: fail
// glsl_version: 1.40
// glsl_version: 1.50
// require_extensions: GL_ARB_enhanced_layouts GL_ARB_gpu_shader_fp64 GL_ARB_separate_shader_objects
// [end config]
//
......@@ -12,7 +12,7 @@
// will consume two of these components, and a dvec2 will consume all four
// components available within a location."
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......
// [config]
// expect_result: fail
// glsl_version: 1.40
// glsl_version: 1.50
// require_extensions: GL_ARB_enhanced_layouts GL_ARB_gpu_shader_fp64 GL_ARB_separate_shader_objects
// [end config]
//
......@@ -12,7 +12,7 @@
// will consume two of these components, and a dvec2 will consume all four
// components available within a location."
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......
# Test filling in the gaps of a dvec3 array.
[require]
GLSL >= 1.40
GLSL >= 1.50
GL_ARB_enhanced_layouts
GL_ARB_separate_shader_objects
GL_ARB_gpu_shader_fp64
[vertex shader]
#version 140
#version 150
#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 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_separate_shader_objects: require
#extension GL_ARB_gpu_shader_fp64: require
......
# pass a basic double component layout through vs->fs.
[require]
GLSL >= 1.40
GLSL >= 1.50
GL_ARB_enhanced_layouts
GL_ARB_separate_shader_objects
GL_ARB_gpu_shader_fp64
[vertex shader]
#version 140
#version 150
#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 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_separate_shader_objects: require
#extension GL_ARB_gpu_shader_fp64: require
......
......@@ -9,13 +9,13 @@
// component aliasing."
[require]
GLSL >= 1.40
GLSL >= 1.50
GL_ARB_enhanced_layouts
GL_ARB_gpu_shader_fp64
GL_ARB_separate_shader_objects
[vertex shader]
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......@@ -33,7 +33,7 @@ void main()
}
[fragment shader]
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......
......@@ -13,13 +13,13 @@
// the same auxiliary storage and interpolation qualification"
[require]
GLSL >= 1.40
GLSL >= 1.50
GL_ARB_enhanced_layouts
GL_ARB_separate_shader_objects
GL_ARB_gpu_shader_fp64
GL_ARB_separate_shader_objects
[vertex shader]
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......@@ -37,7 +37,7 @@ void main()
}
[fragment shader]
#version 140
#version 150
#extension GL_ARB_enhanced_layouts: require
#extension GL_ARB_gpu_shader_fp64: require
#extension GL_ARB_separate_shader_objects: require
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment