From: Pyry Haulos Date: Tue, 16 Aug 2016 10:35:51 +0000 (+0200) Subject: Fix whitespace issues in other text files X-Git-Tag: upstream/0.1.0~662^2~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f189365bd621a14ac442faf93d81d031aad3a6f8;p=platform%2Fupstream%2FVK-GL-CTS.git Fix whitespace issues in other text files Change-Id: Idab51b62589b9702d307022b0952a887bae263af --- diff --git a/data/gles2/shaders/constants.test b/data/gles2/shaders/constants.test index b2cb1b7..bfc2786 100644 --- a/data/gles2/shaders/constants.test +++ b/data/gles2/shaders/constants.test @@ -247,8 +247,8 @@ case const_float_global values { output float out0 = 1000.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theConstant = 1000.0; void main() { @@ -262,11 +262,11 @@ case const_float_main values { output float out0 = -1000.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} void main() { - const float theConstant = -1000.0; + const float theConstant = -1000.0; out0 = theConstant; ${OUTPUT} } @@ -277,11 +277,11 @@ case const_float_function values { output float out0 = -0.012; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} float func() { - const float theConstant = -0.012; + const float theConstant = -0.012; return theConstant; } void main() @@ -296,8 +296,8 @@ case const_float_scope values { output float out0 = 1.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} void main() { { @@ -313,8 +313,8 @@ case const_float_scope_shawdowing_1 values { output float out0 = 1.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} void main() { const float theConstant = 100.0; @@ -331,8 +331,8 @@ case const_float_scope_shawdowing_2 values { output float out0 = 1.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theConstant = 100.0; void main() { @@ -349,12 +349,12 @@ case const_float_scope_shawdowing_3 values { output float out0 = 1.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theConstant = 100.0; void main() { - const float theConstant = -100.0; + const float theConstant = -100.0; { const float theConstant = 1.0; out0 = theConstant; @@ -368,8 +368,8 @@ case const_float_scope_shawdowing_4 values { output float out0 = 2.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theConstant = 100.0; float func() { @@ -378,7 +378,7 @@ case const_float_scope_shawdowing_4 } void main() { - const float theConstant = -100.0; + const float theConstant = -100.0; { const float theConstant = 1.0; out0 = func(); @@ -392,8 +392,8 @@ case const_float_operations_with_const values { output float out0 = 21.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theGlobalConstant = 10.0; float func() { @@ -402,7 +402,7 @@ case const_float_operations_with_const } void main() { - const float theConstant = -100.0; + const float theConstant = -100.0; { const float theConstant = 1.0; out0 = func() * theGlobalConstant + theConstant; @@ -416,11 +416,11 @@ case const_float_assignment_1 values { output float out0 = 10.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} void main() { - const float theConstant1 = 10.0; + const float theConstant1 = 10.0; const float theConstant2 = theConstant1; out0 = theConstant2; ${OUTPUT} @@ -432,11 +432,11 @@ case const_float_assignment_2 values { output float out0 = 10.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} void main() { - const float theConstant1 = 10.0; + const float theConstant1 = 10.0; { const float theConstant2 = theConstant1; out0 = theConstant2; @@ -450,8 +450,8 @@ case const_float_assignment_3 values { output float out0 = 10.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theConstant1 = 10.0; void main() { @@ -466,8 +466,8 @@ case const_float_assignment_4 values { output float out0 = 10.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theConstant1 = 10.0; float func() { @@ -486,8 +486,8 @@ case const_float_assign_uniform expect compile_fail values { output float out0 = 10.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} uniform float theUniform; void main() { @@ -502,7 +502,7 @@ case const_float_assign_varying expect compile_fail values { output float out0 = 10.0; } vertex "" - ${VERTEX_DECLARATIONS} + ${VERTEX_DECLARATIONS} varying float theVarying; void main() { @@ -511,8 +511,8 @@ case const_float_assign_varying } "" fragment "" - precision mediump float; - ${FRAGMENT_DECLARATIONS} + precision mediump float; + ${FRAGMENT_DECLARATIONS} varying float theVarying; void main() { @@ -525,11 +525,11 @@ end case const_float_function_gotcha desc "Function constant parameters are not really constants, so using them as constant expressions should fail." - expect compile_fail + expect compile_fail values { output float out0 = 20.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} float func(const float gotcha) { const float theConstant2 = gotcha; @@ -537,7 +537,7 @@ case const_float_function_gotcha } void main() { - const float theConstant = 10.0; + const float theConstant = 10.0; out0 = func(theConstant); ${OUTPUT} } @@ -548,8 +548,8 @@ case const_float_from_int values { output float out0 = 10.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theConstant = float(10); void main() { @@ -563,8 +563,8 @@ case const_float_from_vec2 values { output float out0 = 10.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theConstant = vec2(1.0, 10.0).y; void main() { @@ -578,8 +578,8 @@ case const_float_from_vec3 values { output float out0 = 10.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theConstant = vec3(1.0, 10.0, 20.0).y; void main() { @@ -593,8 +593,8 @@ case const_float_from_vec4 values { output float out0 = 10.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} const float theConstant = vec4(1.0, 10.0, 20.0, -10.0).y; void main() { @@ -608,8 +608,8 @@ case const_float_assign_variable_1 expect compile_fail values { output float out0 = 20.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} void main() { float theVariable = 20.0; @@ -624,8 +624,8 @@ case const_float_assign_variable_2 expect compile_fail values { output float out0 = 50.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} void main() { float theVariable = 20.0; @@ -641,12 +641,12 @@ case const_float_assign_user_func expect compile_fail values { output float out0 = 50.0; } both "" - precision mediump float; - ${DECLARATIONS} + precision mediump float; + ${DECLARATIONS} float func() { return 50.0; - } + } void main() { const float theConstant = func(); diff --git a/data/gles2/shaders/linkage.test b/data/gles2/shaders/linkage.test index bf03aba..edfc0a8 100644 --- a/data/gles2/shaders/linkage.test +++ b/data/gles2/shaders/linkage.test @@ -1624,8 +1624,8 @@ case uniform_struct_use_case_rip output float out0 = 2.0; } vertex "" - struct Light - { + struct Light + { mediump vec3 color; highp vec4 position; highp vec3 direction; @@ -1644,8 +1644,8 @@ case uniform_struct_use_case_rip "" fragment "" precision mediump float; - struct Light - { + struct Light + { mediump vec3 color; highp vec4 position; highp vec3 direction; @@ -1673,8 +1673,8 @@ case uniform_struct_use_case_rip_sans_highp output float out0 = 2.0; } vertex "" - struct Light - { + struct Light + { mediump vec3 color; mediump vec4 position; mediump vec3 direction; @@ -1693,8 +1693,8 @@ case uniform_struct_use_case_rip_sans_highp "" fragment "" precision mediump float; - struct Light - { + struct Light + { mediump vec3 color; mediump vec4 position; mediump vec3 direction; diff --git a/data/gles2/shaders/preprocessor.test b/data/gles2/shaders/preprocessor.test index d2dc32b..139e883 100644 --- a/data/gles2/shaders/preprocessor.test +++ b/data/gles2/shaders/preprocessor.test @@ -222,7 +222,7 @@ group definitions "Symbol Definition Tests" ${DECLARATIONS} #define FUNCTION(a,b) a+b #undef FUNCTION - #define FUNCTION(a,b) a-b + #define FUNCTION(a,b) a-b void main() { @@ -284,8 +284,8 @@ group object_redefinitions "Object Redefinition Tests" expect compile_fail both "" precision mediump float; - # define AAA 2.0 - # define AAAA 2.1 + # define AAA 2.0 + # define AAAA 2.1 # define VALUE (AAA - 1.0) # define VALUE (AAAA - 1.0) @@ -300,7 +300,7 @@ group object_redefinitions "Object Redefinition Tests" expect compile_fail both "" precision mediump float; - # define AAA 2.0 + # define AAA 2.0 # define VALUE (AAA - 1.0) # define VALUE (AAA- 1.0) @@ -315,7 +315,7 @@ group object_redefinitions "Object Redefinition Tests" expect compile_fail both "" precision mediump float; - # define AAA 2.0 + # define AAA 2.0 # define VALUE (AAA - 1.0) # define VALUE (AAA + 1.0) @@ -330,7 +330,7 @@ group object_redefinitions "Object Redefinition Tests" expect compile_fail both "" precision mediump float; - # define AAA 2.0 + # define AAA 2.0 # define VALUE (AAA - 1.0) # define VALUE (AAA - 1.1) @@ -345,7 +345,7 @@ group object_redefinitions "Object Redefinition Tests" expect compile_fail both "" precision mediump float; - # define AAA 2.0 + # define AAA 2.0 # define VALUE (AAA - 1.0) # define VALUE (AAA - 1.0e-1) @@ -360,7 +360,7 @@ group object_redefinitions "Object Redefinition Tests" expect compile_fail both "" precision mediump float; - # define AAA 2 + # define AAA 2 # define VALUE (AAA - 1) # define VALUE (AAA - 2) @@ -375,7 +375,7 @@ group object_redefinitions "Object Redefinition Tests" expect compile_fail both "" precision mediump float; - # define AAA 2 + # define AAA 2 # define VALUE (AAA - 1) # define VALUE (AAA - 0x1) @@ -393,7 +393,7 @@ group object_redefinitions "Object Redefinition Tests" precision mediump float; ${DECLARATIONS} # define VAL1 1.0 - #define VAL2 2.0 + #define VAL2 2.0 #define RES2 (RES1 * VAL2) #define RES1 (VAL2 / VAL1) @@ -531,7 +531,7 @@ group object_redefinitions "Object Redefinition Tests" precision mediump float; ${DECLARATIONS} # define VAL1 1.0 - #define VAL2 2.0 + #define VAL2 2.0 #define RES2 /* fdsjklfdsjkl dsfjkhfdsjkh fdsjklhfdsjkh */ (RES1 * VAL2) #define RES1 (VAL2 / VAL1) @@ -553,7 +553,7 @@ group object_redefinitions "Object Redefinition Tests" precision mediump float; ${DECLARATIONS} # define VAL1 1.0 - #define VAL2 2.0 + #define VAL2 2.0 #define RES2 /* fdsjklfdsjkl dsfjkhfdsjkh @@ -733,7 +733,7 @@ group function_definitions "Function Definitions Tests" both "" precision mediump float; ${DECLARATIONS} - /* sdfljk */ #/* sdfljk */define /* sdfljk */ FUNC( /* jklsfd*/a /*sfdjklh*/, /*sdfklj */b /*sdfklj*/) a+b + /* sdfljk */ #/* sdfljk */define /* sdfljk */ FUNC( /* jklsfd*/a /*sfdjklh*/, /*sdfklj */b /*sdfklj*/) a+b void main() { @@ -765,7 +765,7 @@ group recursion "Recursions Tests" both "" precision mediump float; # define AAA BBB - #define BBB AAA + #define BBB AAA void main() { @@ -779,7 +779,7 @@ group recursion "Recursions Tests" both "" precision mediump float; # define AAA (1.0+BBB) - #define BBB (2.0+AAA) + #define BBB (2.0+AAA) void main() { diff --git a/data/gles2/shaders/swizzles.test b/data/gles2/shaders/swizzles.test index 7e82c3e..695ed46 100644 --- a/data/gles2/shaders/swizzles.test +++ b/data/gles2/shaders/swizzles.test @@ -4,6807 +4,6807 @@ group vector_swizzles "Vector Swizzles" case mediump_vec2_x - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.x; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.x; + ${OUTPUT} + } + "" end case mediump_vec2_xx - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec2 out0 = [ vec2(0.0, 0.0) | vec2(1.0, 1.0) | vec2(-0.5, -0.5) | vec2(-32.0, -32.0) | vec2(-0.75, -0.75) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec2 out0 = [ vec2(0.0, 0.0) | vec2(1.0, 1.0) | vec2(-0.5, -0.5) | vec2(-32.0, -32.0) | vec2(-0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xx; + ${OUTPUT} + } + "" end case mediump_vec2_xy - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec2 out0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec2 out0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xy; + ${OUTPUT} + } + "" end case mediump_vec2_yx - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec2 out0 = [ vec2(0.5, 0.0) | vec2(1.25, 1.0) | vec2(-2.25, -0.5) | vec2(64.0, -32.0) | vec2(-0.0322580645161, -0.75) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec2 out0 = [ vec2(0.5, 0.0) | vec2(1.25, 1.0) | vec2(-2.25, -0.5) | vec2(64.0, -32.0) | vec2(-0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yx; + ${OUTPUT} + } + "" end case mediump_vec2_yxy - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yxy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yxy; + ${OUTPUT} + } + "" end case mediump_vec2_xyxx - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyxx; + ${OUTPUT} + } + "" end case mediump_vec2_yyyy - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yyyy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yyyy; + ${OUTPUT} + } + "" end case mediump_vec2_s - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.s; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.s; + ${OUTPUT} + } + "" end case mediump_vec2_ss - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec2 out0 = [ vec2(0.0, 0.0) | vec2(1.0, 1.0) | vec2(-0.5, -0.5) | vec2(-32.0, -32.0) | vec2(-0.75, -0.75) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec2 out0 = [ vec2(0.0, 0.0) | vec2(1.0, 1.0) | vec2(-0.5, -0.5) | vec2(-32.0, -32.0) | vec2(-0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ss; + ${OUTPUT} + } + "" end case mediump_vec2_st - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec2 out0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec2 out0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.st; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.st; + ${OUTPUT} + } + "" end case mediump_vec2_ts - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec2 out0 = [ vec2(0.5, 0.0) | vec2(1.25, 1.0) | vec2(-2.25, -0.5) | vec2(64.0, -32.0) | vec2(-0.0322580645161, -0.75) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec2 out0 = [ vec2(0.5, 0.0) | vec2(1.25, 1.0) | vec2(-2.25, -0.5) | vec2(64.0, -32.0) | vec2(-0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ts; + ${OUTPUT} + } + "" end case mediump_vec2_tst - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tst; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tst; + ${OUTPUT} + } + "" end case mediump_vec2_stss - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stss; + ${OUTPUT} + } + "" end case mediump_vec2_tttt - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tttt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tttt; + ${OUTPUT} + } + "" end case mediump_vec2_r - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.r; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.r; + ${OUTPUT} + } + "" end case mediump_vec2_rr - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec2 out0 = [ vec2(0.0, 0.0) | vec2(1.0, 1.0) | vec2(-0.5, -0.5) | vec2(-32.0, -32.0) | vec2(-0.75, -0.75) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec2 out0 = [ vec2(0.0, 0.0) | vec2(1.0, 1.0) | vec2(-0.5, -0.5) | vec2(-32.0, -32.0) | vec2(-0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rr; + ${OUTPUT} + } + "" end case mediump_vec2_rg - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec2 out0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec2 out0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rg; + ${OUTPUT} + } + "" end case mediump_vec2_gr - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec2 out0 = [ vec2(0.5, 0.0) | vec2(1.25, 1.0) | vec2(-2.25, -0.5) | vec2(64.0, -32.0) | vec2(-0.0322580645161, -0.75) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec2 out0 = [ vec2(0.5, 0.0) | vec2(1.25, 1.0) | vec2(-2.25, -0.5) | vec2(64.0, -32.0) | vec2(-0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gr; + ${OUTPUT} + } + "" end case mediump_vec2_grg - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.grg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.grg; + ${OUTPUT} + } + "" end case mediump_vec2_rgrr - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgrr; + ${OUTPUT} + } + "" end case mediump_vec2_gggg - values - { - input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; - output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; - } + values + { + input vec2 in0 = [ vec2(0.0, 0.5) | vec2(1.0, 1.25) | vec2(-0.5, -2.25) | vec2(-32.0, 64.0) | vec2(-0.75, -0.0322580645161) ]; + output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gggg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gggg; + ${OUTPUT} + } + "" end case mediump_vec3_x - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.x; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.x; + ${OUTPUT} + } + "" end case mediump_vec3_z - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output float out0 = [ 0.75 | 1.125 | -4.875 | -51.0 | 0.0526315789474 ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output float out0 = [ 0.75 | 1.125 | -4.875 | -51.0 | 0.0526315789474 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.z; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.z; + ${OUTPUT} + } + "" end case mediump_vec3_xz - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec2 out0 = [ vec2(0.0, 0.75) | vec2(1.0, 1.125) | vec2(-0.5, -4.875) | vec2(-32.0, -51.0) | vec2(-0.75, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec2 out0 = [ vec2(0.0, 0.75) | vec2(1.0, 1.125) | vec2(-0.5, -4.875) | vec2(-32.0, -51.0) | vec2(-0.75, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xz; + ${OUTPUT} + } + "" end case mediump_vec3_zz - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec2 out0 = [ vec2(0.75, 0.75) | vec2(1.125, 1.125) | vec2(-4.875, -4.875) | vec2(-51.0, -51.0) | vec2(0.0526315789474, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec2 out0 = [ vec2(0.75, 0.75) | vec2(1.125, 1.125) | vec2(-4.875, -4.875) | vec2(-51.0, -51.0) | vec2(0.0526315789474, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zz; + ${OUTPUT} + } + "" end case mediump_vec3_xyz - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyz; + ${OUTPUT} + } + "" end case mediump_vec3_zyx - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.75, 0.5, 0.0) | vec3(1.125, 1.25, 1.0) | vec3(-4.875, -2.25, -0.5) | vec3(-51.0, 64.0, -32.0) | vec3(0.0526315789474, -0.0322580645161, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.75, 0.5, 0.0) | vec3(1.125, 1.25, 1.0) | vec3(-4.875, -2.25, -0.5) | vec3(-51.0, 64.0, -32.0) | vec3(0.0526315789474, -0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zyx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zyx; + ${OUTPUT} + } + "" end case mediump_vec3_xxx - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.0, 0.0, 0.0) | vec3(1.0, 1.0, 1.0) | vec3(-0.5, -0.5, -0.5) | vec3(-32.0, -32.0, -32.0) | vec3(-0.75, -0.75, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.0, 0.0, 0.0) | vec3(1.0, 1.0, 1.0) | vec3(-0.5, -0.5, -0.5) | vec3(-32.0, -32.0, -32.0) | vec3(-0.75, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xxx; + ${OUTPUT} + } + "" end case mediump_vec3_zzz - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.75, 0.75, 0.75) | vec3(1.125, 1.125, 1.125) | vec3(-4.875, -4.875, -4.875) | vec3(-51.0, -51.0, -51.0) | vec3(0.0526315789474, 0.0526315789474, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.75, 0.75, 0.75) | vec3(1.125, 1.125, 1.125) | vec3(-4.875, -4.875, -4.875) | vec3(-51.0, -51.0, -51.0) | vec3(0.0526315789474, 0.0526315789474, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzz; + ${OUTPUT} + } + "" end case mediump_vec3_zzy - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.75, 0.75, 0.5) | vec3(1.125, 1.125, 1.25) | vec3(-4.875, -4.875, -2.25) | vec3(-51.0, -51.0, 64.0) | vec3(0.0526315789474, 0.0526315789474, -0.0322580645161) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.75, 0.75, 0.5) | vec3(1.125, 1.125, 1.25) | vec3(-4.875, -4.875, -2.25) | vec3(-51.0, -51.0, 64.0) | vec3(0.0526315789474, 0.0526315789474, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzy; + ${OUTPUT} + } + "" end case mediump_vec3_yxy - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yxy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yxy; + ${OUTPUT} + } + "" end case mediump_vec3_xzx - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.0, 0.75, 0.0) | vec3(1.0, 1.125, 1.0) | vec3(-0.5, -4.875, -0.5) | vec3(-32.0, -51.0, -32.0) | vec3(-0.75, 0.0526315789474, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.0, 0.75, 0.0) | vec3(1.0, 1.125, 1.0) | vec3(-0.5, -4.875, -0.5) | vec3(-32.0, -51.0, -32.0) | vec3(-0.75, 0.0526315789474, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xzx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xzx; + ${OUTPUT} + } + "" end case mediump_vec3_xyyx - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.5, 0.0) | vec4(1.0, 1.25, 1.25, 1.0) | vec4(-0.5, -2.25, -2.25, -0.5) | vec4(-32.0, 64.0, 64.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.0322580645161, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.5, 0.0) | vec4(1.0, 1.25, 1.25, 1.0) | vec4(-0.5, -2.25, -2.25, -0.5) | vec4(-32.0, 64.0, 64.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyyx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyyx; + ${OUTPUT} + } + "" end case mediump_vec3_zzzz - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec4 out0 = [ vec4(0.75, 0.75, 0.75, 0.75) | vec4(1.125, 1.125, 1.125, 1.125) | vec4(-4.875, -4.875, -4.875, -4.875) | vec4(-51.0, -51.0, -51.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.0526315789474, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec4 out0 = [ vec4(0.75, 0.75, 0.75, 0.75) | vec4(1.125, 1.125, 1.125, 1.125) | vec4(-4.875, -4.875, -4.875, -4.875) | vec4(-51.0, -51.0, -51.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.0526315789474, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzzz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzzz; + ${OUTPUT} + } + "" end case mediump_vec3_s - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.s; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.s; + ${OUTPUT} + } + "" end case mediump_vec3_p - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output float out0 = [ 0.75 | 1.125 | -4.875 | -51.0 | 0.0526315789474 ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output float out0 = [ 0.75 | 1.125 | -4.875 | -51.0 | 0.0526315789474 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.p; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.p; + ${OUTPUT} + } + "" end case mediump_vec3_sp - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec2 out0 = [ vec2(0.0, 0.75) | vec2(1.0, 1.125) | vec2(-0.5, -4.875) | vec2(-32.0, -51.0) | vec2(-0.75, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec2 out0 = [ vec2(0.0, 0.75) | vec2(1.0, 1.125) | vec2(-0.5, -4.875) | vec2(-32.0, -51.0) | vec2(-0.75, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.sp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.sp; + ${OUTPUT} + } + "" end case mediump_vec3_pp - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec2 out0 = [ vec2(0.75, 0.75) | vec2(1.125, 1.125) | vec2(-4.875, -4.875) | vec2(-51.0, -51.0) | vec2(0.0526315789474, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec2 out0 = [ vec2(0.75, 0.75) | vec2(1.125, 1.125) | vec2(-4.875, -4.875) | vec2(-51.0, -51.0) | vec2(0.0526315789474, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.pp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.pp; + ${OUTPUT} + } + "" end case mediump_vec3_stp - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stp; + ${OUTPUT} + } + "" end case mediump_vec3_pts - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.75, 0.5, 0.0) | vec3(1.125, 1.25, 1.0) | vec3(-4.875, -2.25, -0.5) | vec3(-51.0, 64.0, -32.0) | vec3(0.0526315789474, -0.0322580645161, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.75, 0.5, 0.0) | vec3(1.125, 1.25, 1.0) | vec3(-4.875, -2.25, -0.5) | vec3(-51.0, 64.0, -32.0) | vec3(0.0526315789474, -0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.pts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.pts; + ${OUTPUT} + } + "" end case mediump_vec3_sss - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.0, 0.0, 0.0) | vec3(1.0, 1.0, 1.0) | vec3(-0.5, -0.5, -0.5) | vec3(-32.0, -32.0, -32.0) | vec3(-0.75, -0.75, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.0, 0.0, 0.0) | vec3(1.0, 1.0, 1.0) | vec3(-0.5, -0.5, -0.5) | vec3(-32.0, -32.0, -32.0) | vec3(-0.75, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.sss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.sss; + ${OUTPUT} + } + "" end case mediump_vec3_ppp - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.75, 0.75, 0.75) | vec3(1.125, 1.125, 1.125) | vec3(-4.875, -4.875, -4.875) | vec3(-51.0, -51.0, -51.0) | vec3(0.0526315789474, 0.0526315789474, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.75, 0.75, 0.75) | vec3(1.125, 1.125, 1.125) | vec3(-4.875, -4.875, -4.875) | vec3(-51.0, -51.0, -51.0) | vec3(0.0526315789474, 0.0526315789474, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ppp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ppp; + ${OUTPUT} + } + "" end case mediump_vec3_ppt - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.75, 0.75, 0.5) | vec3(1.125, 1.125, 1.25) | vec3(-4.875, -4.875, -2.25) | vec3(-51.0, -51.0, 64.0) | vec3(0.0526315789474, 0.0526315789474, -0.0322580645161) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.75, 0.75, 0.5) | vec3(1.125, 1.125, 1.25) | vec3(-4.875, -4.875, -2.25) | vec3(-51.0, -51.0, 64.0) | vec3(0.0526315789474, 0.0526315789474, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ppt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ppt; + ${OUTPUT} + } + "" end case mediump_vec3_tst - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tst; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tst; + ${OUTPUT} + } + "" end case mediump_vec3_sps - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.0, 0.75, 0.0) | vec3(1.0, 1.125, 1.0) | vec3(-0.5, -4.875, -0.5) | vec3(-32.0, -51.0, -32.0) | vec3(-0.75, 0.0526315789474, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.0, 0.75, 0.0) | vec3(1.0, 1.125, 1.0) | vec3(-0.5, -4.875, -0.5) | vec3(-32.0, -51.0, -32.0) | vec3(-0.75, 0.0526315789474, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.sps; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.sps; + ${OUTPUT} + } + "" end case mediump_vec3_stts - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.5, 0.0) | vec4(1.0, 1.25, 1.25, 1.0) | vec4(-0.5, -2.25, -2.25, -0.5) | vec4(-32.0, 64.0, 64.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.0322580645161, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.5, 0.0) | vec4(1.0, 1.25, 1.25, 1.0) | vec4(-0.5, -2.25, -2.25, -0.5) | vec4(-32.0, 64.0, 64.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stts; + ${OUTPUT} + } + "" end case mediump_vec3_pppp - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec4 out0 = [ vec4(0.75, 0.75, 0.75, 0.75) | vec4(1.125, 1.125, 1.125, 1.125) | vec4(-4.875, -4.875, -4.875, -4.875) | vec4(-51.0, -51.0, -51.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.0526315789474, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec4 out0 = [ vec4(0.75, 0.75, 0.75, 0.75) | vec4(1.125, 1.125, 1.125, 1.125) | vec4(-4.875, -4.875, -4.875, -4.875) | vec4(-51.0, -51.0, -51.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.0526315789474, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.pppp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.pppp; + ${OUTPUT} + } + "" end case mediump_vec3_r - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.r; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.r; + ${OUTPUT} + } + "" end case mediump_vec3_b - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output float out0 = [ 0.75 | 1.125 | -4.875 | -51.0 | 0.0526315789474 ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output float out0 = [ 0.75 | 1.125 | -4.875 | -51.0 | 0.0526315789474 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.b; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.b; + ${OUTPUT} + } + "" end case mediump_vec3_rb - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec2 out0 = [ vec2(0.0, 0.75) | vec2(1.0, 1.125) | vec2(-0.5, -4.875) | vec2(-32.0, -51.0) | vec2(-0.75, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec2 out0 = [ vec2(0.0, 0.75) | vec2(1.0, 1.125) | vec2(-0.5, -4.875) | vec2(-32.0, -51.0) | vec2(-0.75, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rb; + ${OUTPUT} + } + "" end case mediump_vec3_bb - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec2 out0 = [ vec2(0.75, 0.75) | vec2(1.125, 1.125) | vec2(-4.875, -4.875) | vec2(-51.0, -51.0) | vec2(0.0526315789474, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec2 out0 = [ vec2(0.75, 0.75) | vec2(1.125, 1.125) | vec2(-4.875, -4.875) | vec2(-51.0, -51.0) | vec2(0.0526315789474, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bb; + ${OUTPUT} + } + "" end case mediump_vec3_rgb - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgb; + ${OUTPUT} + } + "" end case mediump_vec3_bgr - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.75, 0.5, 0.0) | vec3(1.125, 1.25, 1.0) | vec3(-4.875, -2.25, -0.5) | vec3(-51.0, 64.0, -32.0) | vec3(0.0526315789474, -0.0322580645161, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.75, 0.5, 0.0) | vec3(1.125, 1.25, 1.0) | vec3(-4.875, -2.25, -0.5) | vec3(-51.0, 64.0, -32.0) | vec3(0.0526315789474, -0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bgr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bgr; + ${OUTPUT} + } + "" end case mediump_vec3_rrr - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.0, 0.0, 0.0) | vec3(1.0, 1.0, 1.0) | vec3(-0.5, -0.5, -0.5) | vec3(-32.0, -32.0, -32.0) | vec3(-0.75, -0.75, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.0, 0.0, 0.0) | vec3(1.0, 1.0, 1.0) | vec3(-0.5, -0.5, -0.5) | vec3(-32.0, -32.0, -32.0) | vec3(-0.75, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rrr; + ${OUTPUT} + } + "" end case mediump_vec3_bbb - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.75, 0.75, 0.75) | vec3(1.125, 1.125, 1.125) | vec3(-4.875, -4.875, -4.875) | vec3(-51.0, -51.0, -51.0) | vec3(0.0526315789474, 0.0526315789474, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.75, 0.75, 0.75) | vec3(1.125, 1.125, 1.125) | vec3(-4.875, -4.875, -4.875) | vec3(-51.0, -51.0, -51.0) | vec3(0.0526315789474, 0.0526315789474, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbb; + ${OUTPUT} + } + "" end case mediump_vec3_bbg - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.75, 0.75, 0.5) | vec3(1.125, 1.125, 1.25) | vec3(-4.875, -4.875, -2.25) | vec3(-51.0, -51.0, 64.0) | vec3(0.0526315789474, 0.0526315789474, -0.0322580645161) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.75, 0.75, 0.5) | vec3(1.125, 1.125, 1.25) | vec3(-4.875, -4.875, -2.25) | vec3(-51.0, -51.0, 64.0) | vec3(0.0526315789474, 0.0526315789474, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbg; + ${OUTPUT} + } + "" end case mediump_vec3_grg - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.5, 0.0, 0.5) | vec3(1.25, 1.0, 1.25) | vec3(-2.25, -0.5, -2.25) | vec3(64.0, -32.0, 64.0) | vec3(-0.0322580645161, -0.75, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.grg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.grg; + ${OUTPUT} + } + "" end case mediump_vec3_rbr - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec3 out0 = [ vec3(0.0, 0.75, 0.0) | vec3(1.0, 1.125, 1.0) | vec3(-0.5, -4.875, -0.5) | vec3(-32.0, -51.0, -32.0) | vec3(-0.75, 0.0526315789474, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec3 out0 = [ vec3(0.0, 0.75, 0.0) | vec3(1.0, 1.125, 1.0) | vec3(-0.5, -4.875, -0.5) | vec3(-32.0, -51.0, -32.0) | vec3(-0.75, 0.0526315789474, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rbr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rbr; + ${OUTPUT} + } + "" end case mediump_vec3_rggr - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.5, 0.0) | vec4(1.0, 1.25, 1.25, 1.0) | vec4(-0.5, -2.25, -2.25, -0.5) | vec4(-32.0, 64.0, 64.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.0322580645161, -0.75) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.5, 0.0) | vec4(1.0, 1.25, 1.25, 1.0) | vec4(-0.5, -2.25, -2.25, -0.5) | vec4(-32.0, 64.0, 64.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rggr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rggr; + ${OUTPUT} + } + "" end case mediump_vec3_bbbb - values - { - input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; - output vec4 out0 = [ vec4(0.75, 0.75, 0.75, 0.75) | vec4(1.125, 1.125, 1.125, 1.125) | vec4(-4.875, -4.875, -4.875, -4.875) | vec4(-51.0, -51.0, -51.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.0526315789474, 0.0526315789474) ]; - } + values + { + input vec3 in0 = [ vec3(0.0, 0.5, 0.75) | vec3(1.0, 1.25, 1.125) | vec3(-0.5, -2.25, -4.875) | vec3(-32.0, 64.0, -51.0) | vec3(-0.75, -0.0322580645161, 0.0526315789474) ]; + output vec4 out0 = [ vec4(0.75, 0.75, 0.75, 0.75) | vec4(1.125, 1.125, 1.125, 1.125) | vec4(-4.875, -4.875, -4.875, -4.875) | vec4(-51.0, -51.0, -51.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.0526315789474, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbbb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbbb; + ${OUTPUT} + } + "" end case mediump_vec4_x - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.x; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.x; + ${OUTPUT} + } + "" end case mediump_vec4_w - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output float out0 = [ 0.825 | 1.75 | 9.0 | 24.0 | 0.25 ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output float out0 = [ 0.825 | 1.75 | 9.0 | 24.0 | 0.25 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.w; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.w; + ${OUTPUT} + } + "" end case mediump_vec4_wx - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec2 out0 = [ vec2(0.825, 0.0) | vec2(1.75, 1.0) | vec2(9.0, -0.5) | vec2(24.0, -32.0) | vec2(0.25, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec2 out0 = [ vec2(0.825, 0.0) | vec2(1.75, 1.0) | vec2(9.0, -0.5) | vec2(24.0, -32.0) | vec2(0.25, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wx; + ${OUTPUT} + } + "" end case mediump_vec4_wz - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec2 out0 = [ vec2(0.825, 0.75) | vec2(1.75, 1.125) | vec2(9.0, -4.875) | vec2(24.0, -51.0) | vec2(0.25, 0.0526315789474) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec2 out0 = [ vec2(0.825, 0.75) | vec2(1.75, 1.125) | vec2(9.0, -4.875) | vec2(24.0, -51.0) | vec2(0.25, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wz; + ${OUTPUT} + } + "" end case mediump_vec4_www - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec3 out0 = [ vec3(0.825, 0.825, 0.825) | vec3(1.75, 1.75, 1.75) | vec3(9.0, 9.0, 9.0) | vec3(24.0, 24.0, 24.0) | vec3(0.25, 0.25, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec3 out0 = [ vec3(0.825, 0.825, 0.825) | vec3(1.75, 1.75, 1.75) | vec3(9.0, 9.0, 9.0) | vec3(24.0, 24.0, 24.0) | vec3(0.25, 0.25, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.www; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.www; + ${OUTPUT} + } + "" end case mediump_vec4_yyw - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec3 out0 = [ vec3(0.5, 0.5, 0.825) | vec3(1.25, 1.25, 1.75) | vec3(-2.25, -2.25, 9.0) | vec3(64.0, 64.0, 24.0) | vec3(-0.0322580645161, -0.0322580645161, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec3 out0 = [ vec3(0.5, 0.5, 0.825) | vec3(1.25, 1.25, 1.75) | vec3(-2.25, -2.25, 9.0) | vec3(64.0, 64.0, 24.0) | vec3(-0.0322580645161, -0.0322580645161, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yyw; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yyw; + ${OUTPUT} + } + "" end case mediump_vec4_wzy - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec3 out0 = [ vec3(0.825, 0.75, 0.5) | vec3(1.75, 1.125, 1.25) | vec3(9.0, -4.875, -2.25) | vec3(24.0, -51.0, 64.0) | vec3(0.25, 0.0526315789474, -0.0322580645161) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec3 out0 = [ vec3(0.825, 0.75, 0.5) | vec3(1.75, 1.125, 1.25) | vec3(9.0, -4.875, -2.25) | vec3(24.0, -51.0, 64.0) | vec3(0.25, 0.0526315789474, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wzy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wzy; + ${OUTPUT} + } + "" end case mediump_vec4_xyzw - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyzw; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyzw; + ${OUTPUT} + } + "" end case mediump_vec4_wzyx - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.75, 0.5, 0.0) | vec4(1.75, 1.125, 1.25, 1.0) | vec4(9.0, -4.875, -2.25, -0.5) | vec4(24.0, -51.0, 64.0, -32.0) | vec4(0.25, 0.0526315789474, -0.0322580645161, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.75, 0.5, 0.0) | vec4(1.75, 1.125, 1.25, 1.0) | vec4(9.0, -4.875, -2.25, -0.5) | vec4(24.0, -51.0, 64.0, -32.0) | vec4(0.25, 0.0526315789474, -0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wzyx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wzyx; + ${OUTPUT} + } + "" end case mediump_vec4_xxxx - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.0, 0.0, 0.0, 0.0) | vec4(1.0, 1.0, 1.0, 1.0) | vec4(-0.5, -0.5, -0.5, -0.5) | vec4(-32.0, -32.0, -32.0, -32.0) | vec4(-0.75, -0.75, -0.75, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.0, 0.0, 0.0, 0.0) | vec4(1.0, 1.0, 1.0, 1.0) | vec4(-0.5, -0.5, -0.5, -0.5) | vec4(-32.0, -32.0, -32.0, -32.0) | vec4(-0.75, -0.75, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xxxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xxxx; + ${OUTPUT} + } + "" end case mediump_vec4_yyyy - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yyyy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yyyy; + ${OUTPUT} + } + "" end case mediump_vec4_wwww - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.825) | vec4(1.75, 1.75, 1.75, 1.75) | vec4(9.0, 9.0, 9.0, 9.0) | vec4(24.0, 24.0, 24.0, 24.0) | vec4(0.25, 0.25, 0.25, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.825) | vec4(1.75, 1.75, 1.75, 1.75) | vec4(9.0, 9.0, 9.0, 9.0) | vec4(24.0, 24.0, 24.0, 24.0) | vec4(0.25, 0.25, 0.25, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wwww; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wwww; + ${OUTPUT} + } + "" end case mediump_vec4_wzzw - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.75, 0.75, 0.825) | vec4(1.75, 1.125, 1.125, 1.75) | vec4(9.0, -4.875, -4.875, 9.0) | vec4(24.0, -51.0, -51.0, 24.0) | vec4(0.25, 0.0526315789474, 0.0526315789474, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.75, 0.75, 0.825) | vec4(1.75, 1.125, 1.125, 1.75) | vec4(9.0, -4.875, -4.875, 9.0) | vec4(24.0, -51.0, -51.0, 24.0) | vec4(0.25, 0.0526315789474, 0.0526315789474, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wzzw; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wzzw; + ${OUTPUT} + } + "" end case mediump_vec4_wwwy - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.5) | vec4(1.75, 1.75, 1.75, 1.25) | vec4(9.0, 9.0, 9.0, -2.25) | vec4(24.0, 24.0, 24.0, 64.0) | vec4(0.25, 0.25, 0.25, -0.0322580645161) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.5) | vec4(1.75, 1.75, 1.75, 1.25) | vec4(9.0, 9.0, 9.0, -2.25) | vec4(24.0, 24.0, 24.0, 64.0) | vec4(0.25, 0.25, 0.25, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wwwy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wwwy; + ${OUTPUT} + } + "" end case mediump_vec4_xyxx - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyxx; + ${OUTPUT} + } + "" end case mediump_vec4_zzwz - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.75, 0.75, 0.825, 0.75) | vec4(1.125, 1.125, 1.75, 1.125) | vec4(-4.875, -4.875, 9.0, -4.875) | vec4(-51.0, -51.0, 24.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.25, 0.0526315789474) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.75, 0.75, 0.825, 0.75) | vec4(1.125, 1.125, 1.75, 1.125) | vec4(-4.875, -4.875, 9.0, -4.875) | vec4(-51.0, -51.0, 24.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.25, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzwz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzwz; + ${OUTPUT} + } + "" end case mediump_vec4_s - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.s; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.s; + ${OUTPUT} + } + "" end case mediump_vec4_q - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output float out0 = [ 0.825 | 1.75 | 9.0 | 24.0 | 0.25 ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output float out0 = [ 0.825 | 1.75 | 9.0 | 24.0 | 0.25 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.q; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.q; + ${OUTPUT} + } + "" end case mediump_vec4_qs - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec2 out0 = [ vec2(0.825, 0.0) | vec2(1.75, 1.0) | vec2(9.0, -0.5) | vec2(24.0, -32.0) | vec2(0.25, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec2 out0 = [ vec2(0.825, 0.0) | vec2(1.75, 1.0) | vec2(9.0, -0.5) | vec2(24.0, -32.0) | vec2(0.25, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qs; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qs; + ${OUTPUT} + } + "" end case mediump_vec4_qp - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec2 out0 = [ vec2(0.825, 0.75) | vec2(1.75, 1.125) | vec2(9.0, -4.875) | vec2(24.0, -51.0) | vec2(0.25, 0.0526315789474) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec2 out0 = [ vec2(0.825, 0.75) | vec2(1.75, 1.125) | vec2(9.0, -4.875) | vec2(24.0, -51.0) | vec2(0.25, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qp; + ${OUTPUT} + } + "" end case mediump_vec4_qqq - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec3 out0 = [ vec3(0.825, 0.825, 0.825) | vec3(1.75, 1.75, 1.75) | vec3(9.0, 9.0, 9.0) | vec3(24.0, 24.0, 24.0) | vec3(0.25, 0.25, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec3 out0 = [ vec3(0.825, 0.825, 0.825) | vec3(1.75, 1.75, 1.75) | vec3(9.0, 9.0, 9.0) | vec3(24.0, 24.0, 24.0) | vec3(0.25, 0.25, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qqq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qqq; + ${OUTPUT} + } + "" end case mediump_vec4_ttq - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec3 out0 = [ vec3(0.5, 0.5, 0.825) | vec3(1.25, 1.25, 1.75) | vec3(-2.25, -2.25, 9.0) | vec3(64.0, 64.0, 24.0) | vec3(-0.0322580645161, -0.0322580645161, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec3 out0 = [ vec3(0.5, 0.5, 0.825) | vec3(1.25, 1.25, 1.75) | vec3(-2.25, -2.25, 9.0) | vec3(64.0, 64.0, 24.0) | vec3(-0.0322580645161, -0.0322580645161, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ttq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ttq; + ${OUTPUT} + } + "" end case mediump_vec4_qpt - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec3 out0 = [ vec3(0.825, 0.75, 0.5) | vec3(1.75, 1.125, 1.25) | vec3(9.0, -4.875, -2.25) | vec3(24.0, -51.0, 64.0) | vec3(0.25, 0.0526315789474, -0.0322580645161) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec3 out0 = [ vec3(0.825, 0.75, 0.5) | vec3(1.75, 1.125, 1.25) | vec3(9.0, -4.875, -2.25) | vec3(24.0, -51.0, 64.0) | vec3(0.25, 0.0526315789474, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qpt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qpt; + ${OUTPUT} + } + "" end case mediump_vec4_stpq - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stpq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stpq; + ${OUTPUT} + } + "" end case mediump_vec4_qpts - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.75, 0.5, 0.0) | vec4(1.75, 1.125, 1.25, 1.0) | vec4(9.0, -4.875, -2.25, -0.5) | vec4(24.0, -51.0, 64.0, -32.0) | vec4(0.25, 0.0526315789474, -0.0322580645161, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.75, 0.5, 0.0) | vec4(1.75, 1.125, 1.25, 1.0) | vec4(9.0, -4.875, -2.25, -0.5) | vec4(24.0, -51.0, 64.0, -32.0) | vec4(0.25, 0.0526315789474, -0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qpts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qpts; + ${OUTPUT} + } + "" end case mediump_vec4_ssss - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.0, 0.0, 0.0, 0.0) | vec4(1.0, 1.0, 1.0, 1.0) | vec4(-0.5, -0.5, -0.5, -0.5) | vec4(-32.0, -32.0, -32.0, -32.0) | vec4(-0.75, -0.75, -0.75, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.0, 0.0, 0.0, 0.0) | vec4(1.0, 1.0, 1.0, 1.0) | vec4(-0.5, -0.5, -0.5, -0.5) | vec4(-32.0, -32.0, -32.0, -32.0) | vec4(-0.75, -0.75, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ssss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ssss; + ${OUTPUT} + } + "" end case mediump_vec4_tttt - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tttt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tttt; + ${OUTPUT} + } + "" end case mediump_vec4_qqqq - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.825) | vec4(1.75, 1.75, 1.75, 1.75) | vec4(9.0, 9.0, 9.0, 9.0) | vec4(24.0, 24.0, 24.0, 24.0) | vec4(0.25, 0.25, 0.25, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.825) | vec4(1.75, 1.75, 1.75, 1.75) | vec4(9.0, 9.0, 9.0, 9.0) | vec4(24.0, 24.0, 24.0, 24.0) | vec4(0.25, 0.25, 0.25, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qqqq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qqqq; + ${OUTPUT} + } + "" end case mediump_vec4_qppq - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.75, 0.75, 0.825) | vec4(1.75, 1.125, 1.125, 1.75) | vec4(9.0, -4.875, -4.875, 9.0) | vec4(24.0, -51.0, -51.0, 24.0) | vec4(0.25, 0.0526315789474, 0.0526315789474, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.75, 0.75, 0.825) | vec4(1.75, 1.125, 1.125, 1.75) | vec4(9.0, -4.875, -4.875, 9.0) | vec4(24.0, -51.0, -51.0, 24.0) | vec4(0.25, 0.0526315789474, 0.0526315789474, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qppq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qppq; + ${OUTPUT} + } + "" end case mediump_vec4_qqqt - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.5) | vec4(1.75, 1.75, 1.75, 1.25) | vec4(9.0, 9.0, 9.0, -2.25) | vec4(24.0, 24.0, 24.0, 64.0) | vec4(0.25, 0.25, 0.25, -0.0322580645161) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.5) | vec4(1.75, 1.75, 1.75, 1.25) | vec4(9.0, 9.0, 9.0, -2.25) | vec4(24.0, 24.0, 24.0, 64.0) | vec4(0.25, 0.25, 0.25, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qqqt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qqqt; + ${OUTPUT} + } + "" end case mediump_vec4_stss - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stss; + ${OUTPUT} + } + "" end case mediump_vec4_ppqp - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.75, 0.75, 0.825, 0.75) | vec4(1.125, 1.125, 1.75, 1.125) | vec4(-4.875, -4.875, 9.0, -4.875) | vec4(-51.0, -51.0, 24.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.25, 0.0526315789474) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.75, 0.75, 0.825, 0.75) | vec4(1.125, 1.125, 1.75, 1.125) | vec4(-4.875, -4.875, 9.0, -4.875) | vec4(-51.0, -51.0, 24.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.25, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ppqp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ppqp; + ${OUTPUT} + } + "" end case mediump_vec4_r - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output float out0 = [ 0.0 | 1.0 | -0.5 | -32.0 | -0.75 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.r; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.r; + ${OUTPUT} + } + "" end case mediump_vec4_a - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output float out0 = [ 0.825 | 1.75 | 9.0 | 24.0 | 0.25 ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output float out0 = [ 0.825 | 1.75 | 9.0 | 24.0 | 0.25 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.a; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.a; + ${OUTPUT} + } + "" end case mediump_vec4_ar - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec2 out0 = [ vec2(0.825, 0.0) | vec2(1.75, 1.0) | vec2(9.0, -0.5) | vec2(24.0, -32.0) | vec2(0.25, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec2 out0 = [ vec2(0.825, 0.0) | vec2(1.75, 1.0) | vec2(9.0, -0.5) | vec2(24.0, -32.0) | vec2(0.25, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ar; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ar; + ${OUTPUT} + } + "" end case mediump_vec4_ab - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec2 out0 = [ vec2(0.825, 0.75) | vec2(1.75, 1.125) | vec2(9.0, -4.875) | vec2(24.0, -51.0) | vec2(0.25, 0.0526315789474) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec2 out0 = [ vec2(0.825, 0.75) | vec2(1.75, 1.125) | vec2(9.0, -4.875) | vec2(24.0, -51.0) | vec2(0.25, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ab; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ab; + ${OUTPUT} + } + "" end case mediump_vec4_aaa - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec3 out0 = [ vec3(0.825, 0.825, 0.825) | vec3(1.75, 1.75, 1.75) | vec3(9.0, 9.0, 9.0) | vec3(24.0, 24.0, 24.0) | vec3(0.25, 0.25, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec3 out0 = [ vec3(0.825, 0.825, 0.825) | vec3(1.75, 1.75, 1.75) | vec3(9.0, 9.0, 9.0) | vec3(24.0, 24.0, 24.0) | vec3(0.25, 0.25, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.aaa; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.aaa; + ${OUTPUT} + } + "" end case mediump_vec4_gga - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec3 out0 = [ vec3(0.5, 0.5, 0.825) | vec3(1.25, 1.25, 1.75) | vec3(-2.25, -2.25, 9.0) | vec3(64.0, 64.0, 24.0) | vec3(-0.0322580645161, -0.0322580645161, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec3 out0 = [ vec3(0.5, 0.5, 0.825) | vec3(1.25, 1.25, 1.75) | vec3(-2.25, -2.25, 9.0) | vec3(64.0, 64.0, 24.0) | vec3(-0.0322580645161, -0.0322580645161, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gga; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gga; + ${OUTPUT} + } + "" end case mediump_vec4_abg - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec3 out0 = [ vec3(0.825, 0.75, 0.5) | vec3(1.75, 1.125, 1.25) | vec3(9.0, -4.875, -2.25) | vec3(24.0, -51.0, 64.0) | vec3(0.25, 0.0526315789474, -0.0322580645161) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec3 out0 = [ vec3(0.825, 0.75, 0.5) | vec3(1.75, 1.125, 1.25) | vec3(9.0, -4.875, -2.25) | vec3(24.0, -51.0, 64.0) | vec3(0.25, 0.0526315789474, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.abg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.abg; + ${OUTPUT} + } + "" end case mediump_vec4_rgba - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgba; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgba; + ${OUTPUT} + } + "" end case mediump_vec4_abgr - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.75, 0.5, 0.0) | vec4(1.75, 1.125, 1.25, 1.0) | vec4(9.0, -4.875, -2.25, -0.5) | vec4(24.0, -51.0, 64.0, -32.0) | vec4(0.25, 0.0526315789474, -0.0322580645161, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.75, 0.5, 0.0) | vec4(1.75, 1.125, 1.25, 1.0) | vec4(9.0, -4.875, -2.25, -0.5) | vec4(24.0, -51.0, 64.0, -32.0) | vec4(0.25, 0.0526315789474, -0.0322580645161, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.abgr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.abgr; + ${OUTPUT} + } + "" end case mediump_vec4_rrrr - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.0, 0.0, 0.0, 0.0) | vec4(1.0, 1.0, 1.0, 1.0) | vec4(-0.5, -0.5, -0.5, -0.5) | vec4(-32.0, -32.0, -32.0, -32.0) | vec4(-0.75, -0.75, -0.75, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.0, 0.0, 0.0, 0.0) | vec4(1.0, 1.0, 1.0, 1.0) | vec4(-0.5, -0.5, -0.5, -0.5) | vec4(-32.0, -32.0, -32.0, -32.0) | vec4(-0.75, -0.75, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rrrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rrrr; + ${OUTPUT} + } + "" end case mediump_vec4_gggg - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.5, 0.5, 0.5, 0.5) | vec4(1.25, 1.25, 1.25, 1.25) | vec4(-2.25, -2.25, -2.25, -2.25) | vec4(64.0, 64.0, 64.0, 64.0) | vec4(-0.0322580645161, -0.0322580645161, -0.0322580645161, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gggg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gggg; + ${OUTPUT} + } + "" end case mediump_vec4_aaaa - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.825) | vec4(1.75, 1.75, 1.75, 1.75) | vec4(9.0, 9.0, 9.0, 9.0) | vec4(24.0, 24.0, 24.0, 24.0) | vec4(0.25, 0.25, 0.25, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.825) | vec4(1.75, 1.75, 1.75, 1.75) | vec4(9.0, 9.0, 9.0, 9.0) | vec4(24.0, 24.0, 24.0, 24.0) | vec4(0.25, 0.25, 0.25, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.aaaa; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.aaaa; + ${OUTPUT} + } + "" end case mediump_vec4_abba - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.75, 0.75, 0.825) | vec4(1.75, 1.125, 1.125, 1.75) | vec4(9.0, -4.875, -4.875, 9.0) | vec4(24.0, -51.0, -51.0, 24.0) | vec4(0.25, 0.0526315789474, 0.0526315789474, 0.25) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.75, 0.75, 0.825) | vec4(1.75, 1.125, 1.125, 1.75) | vec4(9.0, -4.875, -4.875, 9.0) | vec4(24.0, -51.0, -51.0, 24.0) | vec4(0.25, 0.0526315789474, 0.0526315789474, 0.25) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.abba; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.abba; + ${OUTPUT} + } + "" end case mediump_vec4_aaag - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.5) | vec4(1.75, 1.75, 1.75, 1.25) | vec4(9.0, 9.0, 9.0, -2.25) | vec4(24.0, 24.0, 24.0, 64.0) | vec4(0.25, 0.25, 0.25, -0.0322580645161) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.825, 0.825, 0.825, 0.5) | vec4(1.75, 1.75, 1.75, 1.25) | vec4(9.0, 9.0, 9.0, -2.25) | vec4(24.0, 24.0, 24.0, 64.0) | vec4(0.25, 0.25, 0.25, -0.0322580645161) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.aaag; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.aaag; + ${OUTPUT} + } + "" end case mediump_vec4_rgrr - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.0, 0.5, 0.0, 0.0) | vec4(1.0, 1.25, 1.0, 1.0) | vec4(-0.5, -2.25, -0.5, -0.5) | vec4(-32.0, 64.0, -32.0, -32.0) | vec4(-0.75, -0.0322580645161, -0.75, -0.75) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgrr; + ${OUTPUT} + } + "" end case mediump_vec4_bbab - values - { - input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; - output vec4 out0 = [ vec4(0.75, 0.75, 0.825, 0.75) | vec4(1.125, 1.125, 1.75, 1.125) | vec4(-4.875, -4.875, 9.0, -4.875) | vec4(-51.0, -51.0, 24.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.25, 0.0526315789474) ]; - } + values + { + input vec4 in0 = [ vec4(0.0, 0.5, 0.75, 0.825) | vec4(1.0, 1.25, 1.125, 1.75) | vec4(-0.5, -2.25, -4.875, 9.0) | vec4(-32.0, 64.0, -51.0, 24.0) | vec4(-0.75, -0.0322580645161, 0.0526315789474, 0.25) ]; + output vec4 out0 = [ vec4(0.75, 0.75, 0.825, 0.75) | vec4(1.125, 1.125, 1.75, 1.125) | vec4(-4.875, -4.875, 9.0, -4.875) | vec4(-51.0, -51.0, 24.0, -51.0) | vec4(0.0526315789474, 0.0526315789474, 0.25, 0.0526315789474) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbab; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbab; + ${OUTPUT} + } + "" end case mediump_ivec2_x - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.x; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.x; + ${OUTPUT} + } + "" end case mediump_ivec2_xx - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, 0) | ivec2(-32, -32) | ivec2(0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, 0) | ivec2(-32, -32) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xx; + ${OUTPUT} + } + "" end case mediump_ivec2_xy - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xy; + ${OUTPUT} + } + "" end case mediump_ivec2_yx - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-2, 0) | ivec2(64, -32) | ivec2(0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-2, 0) | ivec2(64, -32) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yx; + ${OUTPUT} + } + "" end case mediump_ivec2_yxy - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yxy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yxy; + ${OUTPUT} + } + "" end case mediump_ivec2_xyxx - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyxx; + ${OUTPUT} + } + "" end case mediump_ivec2_yyyy - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yyyy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yyyy; + ${OUTPUT} + } + "" end case mediump_ivec2_s - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.s; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.s; + ${OUTPUT} + } + "" end case mediump_ivec2_ss - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, 0) | ivec2(-32, -32) | ivec2(0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, 0) | ivec2(-32, -32) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ss; + ${OUTPUT} + } + "" end case mediump_ivec2_st - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.st; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.st; + ${OUTPUT} + } + "" end case mediump_ivec2_ts - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-2, 0) | ivec2(64, -32) | ivec2(0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-2, 0) | ivec2(64, -32) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ts; + ${OUTPUT} + } + "" end case mediump_ivec2_tst - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tst; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tst; + ${OUTPUT} + } + "" end case mediump_ivec2_stss - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stss; + ${OUTPUT} + } + "" end case mediump_ivec2_tttt - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tttt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tttt; + ${OUTPUT} + } + "" end case mediump_ivec2_r - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.r; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.r; + ${OUTPUT} + } + "" end case mediump_ivec2_rr - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, 0) | ivec2(-32, -32) | ivec2(0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, 0) | ivec2(-32, -32) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rr; + ${OUTPUT} + } + "" end case mediump_ivec2_rg - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rg; + ${OUTPUT} + } + "" end case mediump_ivec2_gr - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-2, 0) | ivec2(64, -32) | ivec2(0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-2, 0) | ivec2(64, -32) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gr; + ${OUTPUT} + } + "" end case mediump_ivec2_grg - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.grg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.grg; + ${OUTPUT} + } + "" end case mediump_ivec2_rgrr - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgrr; + ${OUTPUT} + } + "" end case mediump_ivec2_gggg - values - { - input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec2 in0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -2) | ivec2(-32, 64) | ivec2(0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gggg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gggg; + ${OUTPUT} + } + "" end case mediump_ivec3_x - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.x; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.x; + ${OUTPUT} + } + "" end case mediump_ivec3_z - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output int out0 = [ 0 | 1 | -4 | -51 | 0 ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output int out0 = [ 0 | 1 | -4 | -51 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.z; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.z; + ${OUTPUT} + } + "" end case mediump_ivec3_xz - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -4) | ivec2(-32, -51) | ivec2(0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -4) | ivec2(-32, -51) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xz; + ${OUTPUT} + } + "" end case mediump_ivec3_zz - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-4, -4) | ivec2(-51, -51) | ivec2(0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-4, -4) | ivec2(-51, -51) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zz; + ${OUTPUT} + } + "" end case mediump_ivec3_xyz - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyz; + ${OUTPUT} + } + "" end case mediump_ivec3_zyx - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -2, 0) | ivec3(-51, 64, -32) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -2, 0) | ivec3(-51, 64, -32) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zyx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zyx; + ${OUTPUT} + } + "" end case mediump_ivec3_xxx - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, 0, 0) | ivec3(-32, -32, -32) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, 0, 0) | ivec3(-32, -32, -32) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xxx; + ${OUTPUT} + } + "" end case mediump_ivec3_zzz - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -4) | ivec3(-51, -51, -51) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -4) | ivec3(-51, -51, -51) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzz; + ${OUTPUT} + } + "" end case mediump_ivec3_zzy - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -2) | ivec3(-51, -51, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -2) | ivec3(-51, -51, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzy; + ${OUTPUT} + } + "" end case mediump_ivec3_yxy - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yxy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yxy; + ${OUTPUT} + } + "" end case mediump_ivec3_xzx - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -4, 0) | ivec3(-32, -51, -32) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -4, 0) | ivec3(-32, -51, -32) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xzx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xzx; + ${OUTPUT} + } + "" end case mediump_ivec3_xyyx - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -2, 0) | ivec4(-32, 64, 64, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -2, 0) | ivec4(-32, 64, 64, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyyx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyyx; + ${OUTPUT} + } + "" end case mediump_ivec3_zzzz - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, -4, -4) | ivec4(-51, -51, -51, -51) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, -4, -4) | ivec4(-51, -51, -51, -51) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzzz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzzz; + ${OUTPUT} + } + "" end case mediump_ivec3_s - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.s; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.s; + ${OUTPUT} + } + "" end case mediump_ivec3_p - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output int out0 = [ 0 | 1 | -4 | -51 | 0 ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output int out0 = [ 0 | 1 | -4 | -51 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.p; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.p; + ${OUTPUT} + } + "" end case mediump_ivec3_sp - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -4) | ivec2(-32, -51) | ivec2(0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -4) | ivec2(-32, -51) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.sp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.sp; + ${OUTPUT} + } + "" end case mediump_ivec3_pp - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-4, -4) | ivec2(-51, -51) | ivec2(0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-4, -4) | ivec2(-51, -51) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.pp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.pp; + ${OUTPUT} + } + "" end case mediump_ivec3_stp - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stp; + ${OUTPUT} + } + "" end case mediump_ivec3_pts - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -2, 0) | ivec3(-51, 64, -32) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -2, 0) | ivec3(-51, 64, -32) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.pts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.pts; + ${OUTPUT} + } + "" end case mediump_ivec3_sss - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, 0, 0) | ivec3(-32, -32, -32) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, 0, 0) | ivec3(-32, -32, -32) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.sss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.sss; + ${OUTPUT} + } + "" end case mediump_ivec3_ppp - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -4) | ivec3(-51, -51, -51) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -4) | ivec3(-51, -51, -51) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ppp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ppp; + ${OUTPUT} + } + "" end case mediump_ivec3_ppt - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -2) | ivec3(-51, -51, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -2) | ivec3(-51, -51, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ppt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ppt; + ${OUTPUT} + } + "" end case mediump_ivec3_tst - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tst; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tst; + ${OUTPUT} + } + "" end case mediump_ivec3_sps - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -4, 0) | ivec3(-32, -51, -32) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -4, 0) | ivec3(-32, -51, -32) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.sps; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.sps; + ${OUTPUT} + } + "" end case mediump_ivec3_stts - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -2, 0) | ivec4(-32, 64, 64, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -2, 0) | ivec4(-32, 64, 64, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stts; + ${OUTPUT} + } + "" end case mediump_ivec3_pppp - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, -4, -4) | ivec4(-51, -51, -51, -51) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, -4, -4) | ivec4(-51, -51, -51, -51) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.pppp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.pppp; + ${OUTPUT} + } + "" end case mediump_ivec3_r - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.r; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.r; + ${OUTPUT} + } + "" end case mediump_ivec3_b - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output int out0 = [ 0 | 1 | -4 | -51 | 0 ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output int out0 = [ 0 | 1 | -4 | -51 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.b; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.b; + ${OUTPUT} + } + "" end case mediump_ivec3_rb - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -4) | ivec2(-32, -51) | ivec2(0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(0, -4) | ivec2(-32, -51) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rb; + ${OUTPUT} + } + "" end case mediump_ivec3_bb - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-4, -4) | ivec2(-51, -51) | ivec2(0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(-4, -4) | ivec2(-51, -51) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bb; + ${OUTPUT} + } + "" end case mediump_ivec3_rgb - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgb; + ${OUTPUT} + } + "" end case mediump_ivec3_bgr - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -2, 0) | ivec3(-51, 64, -32) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -2, 0) | ivec3(-51, 64, -32) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bgr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bgr; + ${OUTPUT} + } + "" end case mediump_ivec3_rrr - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, 0, 0) | ivec3(-32, -32, -32) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, 0, 0) | ivec3(-32, -32, -32) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rrr; + ${OUTPUT} + } + "" end case mediump_ivec3_bbb - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -4) | ivec3(-51, -51, -51) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -4) | ivec3(-51, -51, -51) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbb; + ${OUTPUT} + } + "" end case mediump_ivec3_bbg - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -2) | ivec3(-51, -51, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-4, -4, -2) | ivec3(-51, -51, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbg; + ${OUTPUT} + } + "" end case mediump_ivec3_grg - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, 0, -2) | ivec3(64, -32, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.grg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.grg; + ${OUTPUT} + } + "" end case mediump_ivec3_rbr - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -4, 0) | ivec3(-32, -51, -32) | ivec3(0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -4, 0) | ivec3(-32, -51, -32) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rbr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rbr; + ${OUTPUT} + } + "" end case mediump_ivec3_rggr - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -2, 0) | ivec4(-32, 64, 64, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -2, 0) | ivec4(-32, 64, 64, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rggr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rggr; + ${OUTPUT} + } + "" end case mediump_ivec3_bbbb - values - { - input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, -4, -4) | ivec4(-51, -51, -51, -51) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec3 in0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(0, -2, -4) | ivec3(-32, 64, -51) | ivec3(0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, -4, -4) | ivec4(-51, -51, -51, -51) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbbb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbbb; + ${OUTPUT} + } + "" end case mediump_ivec4_x - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.x; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.x; + ${OUTPUT} + } + "" end case mediump_ivec4_w - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output int out0 = [ 0 | 1 | 9 | 24 | 0 ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output int out0 = [ 0 | 1 | 9 | 24 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.w; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.w; + ${OUTPUT} + } + "" end case mediump_ivec4_wx - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, 0) | ivec2(24, -32) | ivec2(0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, 0) | ivec2(24, -32) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wx; + ${OUTPUT} + } + "" end case mediump_ivec4_wz - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, -4) | ivec2(24, -51) | ivec2(0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, -4) | ivec2(24, -51) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wz; + ${OUTPUT} + } + "" end case mediump_ivec4_www - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, 9, 9) | ivec3(24, 24, 24) | ivec3(0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, 9, 9) | ivec3(24, 24, 24) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.www; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.www; + ${OUTPUT} + } + "" end case mediump_ivec4_yyw - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, -2, 9) | ivec3(64, 64, 24) | ivec3(0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, -2, 9) | ivec3(64, 64, 24) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yyw; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yyw; + ${OUTPUT} + } + "" end case mediump_ivec4_wzy - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, -4, -2) | ivec3(24, -51, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, -4, -2) | ivec3(24, -51, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wzy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wzy; + ${OUTPUT} + } + "" end case mediump_ivec4_xyzw - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyzw; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyzw; + ${OUTPUT} + } + "" end case mediump_ivec4_wzyx - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -2, 0) | ivec4(24, -51, 64, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -2, 0) | ivec4(24, -51, 64, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wzyx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wzyx; + ${OUTPUT} + } + "" end case mediump_ivec4_xxxx - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, 0, 0, 0) | ivec4(-32, -32, -32, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, 0, 0, 0) | ivec4(-32, -32, -32, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xxxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xxxx; + ${OUTPUT} + } + "" end case mediump_ivec4_yyyy - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yyyy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yyyy; + ${OUTPUT} + } + "" end case mediump_ivec4_wwww - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, 9) | ivec4(24, 24, 24, 24) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, 9) | ivec4(24, 24, 24, 24) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wwww; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wwww; + ${OUTPUT} + } + "" end case mediump_ivec4_wzzw - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -4, 9) | ivec4(24, -51, -51, 24) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -4, 9) | ivec4(24, -51, -51, 24) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wzzw; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wzzw; + ${OUTPUT} + } + "" end case mediump_ivec4_wwwy - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, -2) | ivec4(24, 24, 24, 64) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, -2) | ivec4(24, 24, 24, 64) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wwwy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wwwy; + ${OUTPUT} + } + "" end case mediump_ivec4_xyxx - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyxx; + ${OUTPUT} + } + "" end case mediump_ivec4_zzwz - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, 9, -4) | ivec4(-51, -51, 24, -51) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, 9, -4) | ivec4(-51, -51, 24, -51) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzwz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzwz; + ${OUTPUT} + } + "" end case mediump_ivec4_s - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.s; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.s; + ${OUTPUT} + } + "" end case mediump_ivec4_q - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output int out0 = [ 0 | 1 | 9 | 24 | 0 ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output int out0 = [ 0 | 1 | 9 | 24 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.q; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.q; + ${OUTPUT} + } + "" end case mediump_ivec4_qs - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, 0) | ivec2(24, -32) | ivec2(0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, 0) | ivec2(24, -32) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qs; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qs; + ${OUTPUT} + } + "" end case mediump_ivec4_qp - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, -4) | ivec2(24, -51) | ivec2(0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, -4) | ivec2(24, -51) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qp; + ${OUTPUT} + } + "" end case mediump_ivec4_qqq - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, 9, 9) | ivec3(24, 24, 24) | ivec3(0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, 9, 9) | ivec3(24, 24, 24) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qqq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qqq; + ${OUTPUT} + } + "" end case mediump_ivec4_ttq - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, -2, 9) | ivec3(64, 64, 24) | ivec3(0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, -2, 9) | ivec3(64, 64, 24) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ttq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ttq; + ${OUTPUT} + } + "" end case mediump_ivec4_qpt - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, -4, -2) | ivec3(24, -51, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, -4, -2) | ivec3(24, -51, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qpt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qpt; + ${OUTPUT} + } + "" end case mediump_ivec4_stpq - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stpq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stpq; + ${OUTPUT} + } + "" end case mediump_ivec4_qpts - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -2, 0) | ivec4(24, -51, 64, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -2, 0) | ivec4(24, -51, 64, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qpts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qpts; + ${OUTPUT} + } + "" end case mediump_ivec4_ssss - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, 0, 0, 0) | ivec4(-32, -32, -32, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, 0, 0, 0) | ivec4(-32, -32, -32, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ssss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ssss; + ${OUTPUT} + } + "" end case mediump_ivec4_tttt - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tttt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tttt; + ${OUTPUT} + } + "" end case mediump_ivec4_qqqq - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, 9) | ivec4(24, 24, 24, 24) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, 9) | ivec4(24, 24, 24, 24) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qqqq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qqqq; + ${OUTPUT} + } + "" end case mediump_ivec4_qppq - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -4, 9) | ivec4(24, -51, -51, 24) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -4, 9) | ivec4(24, -51, -51, 24) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qppq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qppq; + ${OUTPUT} + } + "" end case mediump_ivec4_qqqt - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, -2) | ivec4(24, 24, 24, 64) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, -2) | ivec4(24, 24, 24, 64) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qqqt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qqqt; + ${OUTPUT} + } + "" end case mediump_ivec4_stss - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stss; + ${OUTPUT} + } + "" end case mediump_ivec4_ppqp - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, 9, -4) | ivec4(-51, -51, 24, -51) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, 9, -4) | ivec4(-51, -51, 24, -51) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ppqp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ppqp; + ${OUTPUT} + } + "" end case mediump_ivec4_r - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output int out0 = [ 0 | 1 | 0 | -32 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.r; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.r; + ${OUTPUT} + } + "" end case mediump_ivec4_a - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output int out0 = [ 0 | 1 | 9 | 24 | 0 ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output int out0 = [ 0 | 1 | 9 | 24 | 0 ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.a; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.a; + ${OUTPUT} + } + "" end case mediump_ivec4_ar - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, 0) | ivec2(24, -32) | ivec2(0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, 0) | ivec2(24, -32) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ar; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ar; + ${OUTPUT} + } + "" end case mediump_ivec4_ab - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, -4) | ivec2(24, -51) | ivec2(0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec2 out0 = [ ivec2(0, 0) | ivec2(1, 1) | ivec2(9, -4) | ivec2(24, -51) | ivec2(0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ab; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ab; + ${OUTPUT} + } + "" end case mediump_ivec4_aaa - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, 9, 9) | ivec3(24, 24, 24) | ivec3(0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, 9, 9) | ivec3(24, 24, 24) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.aaa; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.aaa; + ${OUTPUT} + } + "" end case mediump_ivec4_gga - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, -2, 9) | ivec3(64, 64, 24) | ivec3(0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(-2, -2, 9) | ivec3(64, 64, 24) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gga; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gga; + ${OUTPUT} + } + "" end case mediump_ivec4_abg - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, -4, -2) | ivec3(24, -51, 64) | ivec3(0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec3 out0 = [ ivec3(0, 0, 0) | ivec3(1, 1, 1) | ivec3(9, -4, -2) | ivec3(24, -51, 64) | ivec3(0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.abg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.abg; + ${OUTPUT} + } + "" end case mediump_ivec4_rgba - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgba; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgba; + ${OUTPUT} + } + "" end case mediump_ivec4_abgr - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -2, 0) | ivec4(24, -51, 64, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -2, 0) | ivec4(24, -51, 64, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.abgr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.abgr; + ${OUTPUT} + } + "" end case mediump_ivec4_rrrr - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, 0, 0, 0) | ivec4(-32, -32, -32, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, 0, 0, 0) | ivec4(-32, -32, -32, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rrrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rrrr; + ${OUTPUT} + } + "" end case mediump_ivec4_gggg - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-2, -2, -2, -2) | ivec4(64, 64, 64, 64) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gggg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gggg; + ${OUTPUT} + } + "" end case mediump_ivec4_aaaa - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, 9) | ivec4(24, 24, 24, 24) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, 9) | ivec4(24, 24, 24, 24) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.aaaa; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.aaaa; + ${OUTPUT} + } + "" end case mediump_ivec4_abba - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -4, 9) | ivec4(24, -51, -51, 24) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, -4, -4, 9) | ivec4(24, -51, -51, 24) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.abba; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.abba; + ${OUTPUT} + } + "" end case mediump_ivec4_aaag - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, -2) | ivec4(24, 24, 24, 64) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(9, 9, 9, -2) | ivec4(24, 24, 24, 64) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.aaag; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.aaag; + ${OUTPUT} + } + "" end case mediump_ivec4_rgrr - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, 0, 0) | ivec4(-32, 64, -32, -32) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgrr; + ${OUTPUT} + } + "" end case mediump_ivec4_bbab - values - { - input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; - output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, 9, -4) | ivec4(-51, -51, 24, -51) | ivec4(0, 0, 0, 0) ]; - } + values + { + input ivec4 in0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(0, -2, -4, 9) | ivec4(-32, 64, -51, 24) | ivec4(0, 0, 0, 0) ]; + output ivec4 out0 = [ ivec4(0, 0, 0, 0) | ivec4(1, 1, 1, 1) | ivec4(-4, -4, 9, -4) | ivec4(-51, -51, 24, -51) | ivec4(0, 0, 0, 0) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbab; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbab; + ${OUTPUT} + } + "" end case mediump_bvec2_x - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bool out0 = [ true | false | false | true | false ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bool out0 = [ true | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.x; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.x; + ${OUTPUT} + } + "" end case mediump_bvec2_xx - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec2 out0 = [ bvec2(true, true) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec2 out0 = [ bvec2(true, true) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xx; + ${OUTPUT} + } + "" end case mediump_bvec2_xy - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xy; + ${OUTPUT} + } + "" end case mediump_bvec2_yx - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec2 out0 = [ bvec2(false, true) | bvec2(false, false) | bvec2(true, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec2 out0 = [ bvec2(false, true) | bvec2(false, false) | bvec2(true, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yx; + ${OUTPUT} + } + "" end case mediump_bvec2_yxy - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yxy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yxy; + ${OUTPUT} + } + "" end case mediump_bvec2_xyxx - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyxx; + ${OUTPUT} + } + "" end case mediump_bvec2_yyyy - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yyyy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yyyy; + ${OUTPUT} + } + "" end case mediump_bvec2_s - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bool out0 = [ true | false | false | true | false ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bool out0 = [ true | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.s; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.s; + ${OUTPUT} + } + "" end case mediump_bvec2_ss - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec2 out0 = [ bvec2(true, true) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec2 out0 = [ bvec2(true, true) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ss; + ${OUTPUT} + } + "" end case mediump_bvec2_st - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.st; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.st; + ${OUTPUT} + } + "" end case mediump_bvec2_ts - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec2 out0 = [ bvec2(false, true) | bvec2(false, false) | bvec2(true, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec2 out0 = [ bvec2(false, true) | bvec2(false, false) | bvec2(true, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ts; + ${OUTPUT} + } + "" end case mediump_bvec2_tst - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tst; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tst; + ${OUTPUT} + } + "" end case mediump_bvec2_stss - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stss; + ${OUTPUT} + } + "" end case mediump_bvec2_tttt - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tttt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tttt; + ${OUTPUT} + } + "" end case mediump_bvec2_r - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bool out0 = [ true | false | false | true | false ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bool out0 = [ true | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.r; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.r; + ${OUTPUT} + } + "" end case mediump_bvec2_rr - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec2 out0 = [ bvec2(true, true) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec2 out0 = [ bvec2(true, true) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rr; + ${OUTPUT} + } + "" end case mediump_bvec2_rg - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rg; + ${OUTPUT} + } + "" end case mediump_bvec2_gr - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec2 out0 = [ bvec2(false, true) | bvec2(false, false) | bvec2(true, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec2 out0 = [ bvec2(false, true) | bvec2(false, false) | bvec2(true, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gr; + ${OUTPUT} + } + "" end case mediump_bvec2_grg - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.grg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.grg; + ${OUTPUT} + } + "" end case mediump_bvec2_rgrr - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgrr; + ${OUTPUT} + } + "" end case mediump_bvec2_gggg - values - { - input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; - output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec2 in0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, true) | bvec2(true, true) | bvec2(false, false) ]; + output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gggg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gggg; + ${OUTPUT} + } + "" end case mediump_bvec3_x - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bool out0 = [ true | false | false | true | false ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bool out0 = [ true | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.x; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.x; + ${OUTPUT} + } + "" end case mediump_bvec3_z - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bool out0 = [ false | false | false | true | false ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bool out0 = [ false | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.z; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.z; + ${OUTPUT} + } + "" end case mediump_bvec3_xz - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xz; + ${OUTPUT} + } + "" end case mediump_bvec3_zz - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec2 out0 = [ bvec2(false, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec2 out0 = [ bvec2(false, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zz; + ${OUTPUT} + } + "" end case mediump_bvec3_xyz - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyz; + ${OUTPUT} + } + "" end case mediump_bvec3_zyx - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zyx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zyx; + ${OUTPUT} + } + "" end case mediump_bvec3_xxx - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(true, true, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(true, true, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xxx; + ${OUTPUT} + } + "" end case mediump_bvec3_zzz - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzz; + ${OUTPUT} + } + "" end case mediump_bvec3_zzy - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzy; + ${OUTPUT} + } + "" end case mediump_bvec3_yxy - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yxy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yxy; + ${OUTPUT} + } + "" end case mediump_bvec3_xzx - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(true, false, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(true, false, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xzx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xzx; + ${OUTPUT} + } + "" end case mediump_bvec3_xyyx - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(false, true, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(false, true, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyyx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyyx; + ${OUTPUT} + } + "" end case mediump_bvec3_zzzz - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzzz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzzz; + ${OUTPUT} + } + "" end case mediump_bvec3_s - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bool out0 = [ true | false | false | true | false ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bool out0 = [ true | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.s; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.s; + ${OUTPUT} + } + "" end case mediump_bvec3_p - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bool out0 = [ false | false | false | true | false ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bool out0 = [ false | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.p; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.p; + ${OUTPUT} + } + "" end case mediump_bvec3_sp - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.sp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.sp; + ${OUTPUT} + } + "" end case mediump_bvec3_pp - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec2 out0 = [ bvec2(false, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec2 out0 = [ bvec2(false, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.pp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.pp; + ${OUTPUT} + } + "" end case mediump_bvec3_stp - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stp; + ${OUTPUT} + } + "" end case mediump_bvec3_pts - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.pts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.pts; + ${OUTPUT} + } + "" end case mediump_bvec3_sss - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(true, true, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(true, true, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.sss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.sss; + ${OUTPUT} + } + "" end case mediump_bvec3_ppp - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ppp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ppp; + ${OUTPUT} + } + "" end case mediump_bvec3_ppt - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ppt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ppt; + ${OUTPUT} + } + "" end case mediump_bvec3_tst - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tst; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tst; + ${OUTPUT} + } + "" end case mediump_bvec3_sps - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(true, false, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(true, false, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.sps; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.sps; + ${OUTPUT} + } + "" end case mediump_bvec3_stts - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(false, true, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(false, true, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stts; + ${OUTPUT} + } + "" end case mediump_bvec3_pppp - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.pppp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.pppp; + ${OUTPUT} + } + "" end case mediump_bvec3_r - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bool out0 = [ true | false | false | true | false ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bool out0 = [ true | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.r; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.r; + ${OUTPUT} + } + "" end case mediump_bvec3_b - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bool out0 = [ false | false | false | true | false ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bool out0 = [ false | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.b; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.b; + ${OUTPUT} + } + "" end case mediump_bvec3_rb - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec2 out0 = [ bvec2(true, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rb; + ${OUTPUT} + } + "" end case mediump_bvec3_bb - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec2 out0 = [ bvec2(false, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec2 out0 = [ bvec2(false, false) | bvec2(false, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bb; + ${OUTPUT} + } + "" end case mediump_bvec3_rgb - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgb; + ${OUTPUT} + } + "" end case mediump_bvec3_bgr - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bgr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bgr; + ${OUTPUT} + } + "" end case mediump_bvec3_rrr - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(true, true, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(true, true, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rrr; + ${OUTPUT} + } + "" end case mediump_bvec3_bbb - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbb; + ${OUTPUT} + } + "" end case mediump_bvec3_bbg - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, false) | bvec3(false, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbg; + ${OUTPUT} + } + "" end case mediump_bvec3_grg - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(false, true, false) | bvec3(false, false, false) | bvec3(true, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.grg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.grg; + ${OUTPUT} + } + "" end case mediump_bvec3_rbr - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec3 out0 = [ bvec3(true, false, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec3 out0 = [ bvec3(true, false, true) | bvec3(false, false, false) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rbr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rbr; + ${OUTPUT} + } + "" end case mediump_bvec3_rggr - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(false, true, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(false, true, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rggr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rggr; + ${OUTPUT} + } + "" end case mediump_bvec3_bbbb - values - { - input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec3 in0 = [ bvec3(true, false, false) | bvec3(false, false, false) | bvec3(false, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.bbbb; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.bbbb; + ${OUTPUT} + } + "" end case mediump_bvec4_x - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bool out0 = [ true | false | false | true | false ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bool out0 = [ true | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.x; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.x; + ${OUTPUT} + } + "" end case mediump_bvec4_w - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bool out0 = [ true | true | false | true | false ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bool out0 = [ true | true | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.w; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.w; + ${OUTPUT} + } + "" end case mediump_bvec4_wx - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec2 out0 = [ bvec2(true, true) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec2 out0 = [ bvec2(true, true) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wx; + ${OUTPUT} + } + "" end case mediump_bvec4_wz - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec2 out0 = [ bvec2(true, false) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec2 out0 = [ bvec2(true, false) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wz; + ${OUTPUT} + } + "" end case mediump_bvec4_www - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec3 out0 = [ bvec3(true, true, true) | bvec3(true, true, true) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec3 out0 = [ bvec3(true, true, true) | bvec3(true, true, true) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.www; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.www; + ${OUTPUT} + } + "" end case mediump_bvec4_yyw - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, true) | bvec3(true, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, true) | bvec3(true, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yyw; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yyw; + ${OUTPUT} + } + "" end case mediump_bvec4_wzy - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec3 out0 = [ bvec3(true, false, false) | bvec3(true, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec3 out0 = [ bvec3(true, false, false) | bvec3(true, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wzy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wzy; + ${OUTPUT} + } + "" end case mediump_bvec4_xyzw - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyzw; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyzw; + ${OUTPUT} + } + "" end case mediump_bvec4_wzyx - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, false) | bvec4(false, false, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, false) | bvec4(false, false, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wzyx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wzyx; + ${OUTPUT} + } + "" end case mediump_bvec4_xxxx - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xxxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xxxx; + ${OUTPUT} + } + "" end case mediump_bvec4_yyyy - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.yyyy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.yyyy; + ${OUTPUT} + } + "" end case mediump_bvec4_wwww - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wwww; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wwww; + ${OUTPUT} + } + "" end case mediump_bvec4_wzzw - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wzzw; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wzzw; + ${OUTPUT} + } + "" end case mediump_bvec4_wwwy - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, true, true, false) | bvec4(true, true, true, false) | bvec4(false, false, false, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, true, true, false) | bvec4(true, true, true, false) | bvec4(false, false, false, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.wwwy; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.wwwy; + ${OUTPUT} + } + "" end case mediump_bvec4_xyxx - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.xyxx; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.xyxx; + ${OUTPUT} + } + "" end case mediump_bvec4_zzwz - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(false, false, true, false) | bvec4(false, false, true, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(false, false, true, false) | bvec4(false, false, true, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.zzwz; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.zzwz; + ${OUTPUT} + } + "" end case mediump_bvec4_s - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bool out0 = [ true | false | false | true | false ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bool out0 = [ true | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.s; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.s; + ${OUTPUT} + } + "" end case mediump_bvec4_q - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bool out0 = [ true | true | false | true | false ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bool out0 = [ true | true | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.q; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.q; + ${OUTPUT} + } + "" end case mediump_bvec4_qs - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec2 out0 = [ bvec2(true, true) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec2 out0 = [ bvec2(true, true) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qs; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qs; + ${OUTPUT} + } + "" end case mediump_bvec4_qp - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec2 out0 = [ bvec2(true, false) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec2 out0 = [ bvec2(true, false) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qp; + ${OUTPUT} + } + "" end case mediump_bvec4_qqq - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec3 out0 = [ bvec3(true, true, true) | bvec3(true, true, true) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec3 out0 = [ bvec3(true, true, true) | bvec3(true, true, true) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qqq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qqq; + ${OUTPUT} + } + "" end case mediump_bvec4_ttq - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, true) | bvec3(true, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, true) | bvec3(true, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ttq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ttq; + ${OUTPUT} + } + "" end case mediump_bvec4_qpt - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec3 out0 = [ bvec3(true, false, false) | bvec3(true, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec3 out0 = [ bvec3(true, false, false) | bvec3(true, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qpt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qpt; + ${OUTPUT} + } + "" end case mediump_bvec4_stpq - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stpq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stpq; + ${OUTPUT} + } + "" end case mediump_bvec4_qpts - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, false) | bvec4(false, false, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, false) | bvec4(false, false, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qpts; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qpts; + ${OUTPUT} + } + "" end case mediump_bvec4_ssss - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ssss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ssss; + ${OUTPUT} + } + "" end case mediump_bvec4_tttt - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.tttt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.tttt; + ${OUTPUT} + } + "" end case mediump_bvec4_qqqq - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qqqq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qqqq; + ${OUTPUT} + } + "" end case mediump_bvec4_qppq - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qppq; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qppq; + ${OUTPUT} + } + "" end case mediump_bvec4_qqqt - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, true, true, false) | bvec4(true, true, true, false) | bvec4(false, false, false, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, true, true, false) | bvec4(true, true, true, false) | bvec4(false, false, false, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.qqqt; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.qqqt; + ${OUTPUT} + } + "" end case mediump_bvec4_stss - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.stss; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.stss; + ${OUTPUT} + } + "" end case mediump_bvec4_ppqp - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(false, false, true, false) | bvec4(false, false, true, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(false, false, true, false) | bvec4(false, false, true, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ppqp; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ppqp; + ${OUTPUT} + } + "" end case mediump_bvec4_r - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bool out0 = [ true | false | false | true | false ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bool out0 = [ true | false | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.r; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.r; + ${OUTPUT} + } + "" end case mediump_bvec4_a - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bool out0 = [ true | true | false | true | false ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bool out0 = [ true | true | false | true | false ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.a; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.a; + ${OUTPUT} + } + "" end case mediump_bvec4_ar - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec2 out0 = [ bvec2(true, true) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec2 out0 = [ bvec2(true, true) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ar; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ar; + ${OUTPUT} + } + "" end case mediump_bvec4_ab - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec2 out0 = [ bvec2(true, false) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec2 out0 = [ bvec2(true, false) | bvec2(true, false) | bvec2(false, false) | bvec2(true, true) | bvec2(false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.ab; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.ab; + ${OUTPUT} + } + "" end case mediump_bvec4_aaa - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec3 out0 = [ bvec3(true, true, true) | bvec3(true, true, true) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec3 out0 = [ bvec3(true, true, true) | bvec3(true, true, true) | bvec3(false, false, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.aaa; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.aaa; + ${OUTPUT} + } + "" end case mediump_bvec4_gga - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, true) | bvec3(true, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec3 out0 = [ bvec3(false, false, true) | bvec3(false, false, true) | bvec3(true, true, false) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gga; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gga; + ${OUTPUT} + } + "" end case mediump_bvec4_abg - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec3 out0 = [ bvec3(true, false, false) | bvec3(true, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec3 out0 = [ bvec3(true, false, false) | bvec3(true, false, false) | bvec3(false, false, true) | bvec3(true, true, true) | bvec3(false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.abg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.abg; + ${OUTPUT} + } + "" end case mediump_bvec4_rgba - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgba; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgba; + ${OUTPUT} + } + "" end case mediump_bvec4_abgr - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, false) | bvec4(false, false, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, false) | bvec4(false, false, true, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.abgr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.abgr; + ${OUTPUT} + } + "" end case mediump_bvec4_rrrr - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rrrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rrrr; + ${OUTPUT} + } + "" end case mediump_bvec4_gggg - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(false, false, false, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.gggg; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.gggg; + ${OUTPUT} + } + "" end case mediump_bvec4_aaaa - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, true, true, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.aaaa; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.aaaa; + ${OUTPUT} + } + "" end case mediump_bvec4_abba - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, false, true) | bvec4(true, false, false, true) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.abba; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.abba; + ${OUTPUT} + } + "" end case mediump_bvec4_aaag - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, true, true, false) | bvec4(true, true, true, false) | bvec4(false, false, false, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, true, true, false) | bvec4(true, true, true, false) | bvec4(false, false, false, true) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.aaag; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.aaag; + ${OUTPUT} + } + "" end case mediump_bvec4_rgrr - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(true, false, true, true) | bvec4(false, false, false, false) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } - both "" - precision mediump float; + both "" + precision mediump float; - ${DECLARATIONS} + ${DECLARATIONS} - void main() - { - ${SETUP} - out0 = in0.rgrr; - ${OUTPUT} - } - "" + void main() + { + ${SETUP} + out0 = in0.rgrr; + ${OUTPUT} + } + "" end case mediump_bvec4_bbab - values - { - input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - output bvec4 out0 = [ bvec4(false, false, true, false) | bvec4(false, false, true, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; - } - - both "" - precision mediump float; - - ${DECLARATIONS} - - void main() - { - ${SETUP} - out0 = in0.bbab; - ${OUTPUT} - } - "" + values + { + input bvec4 in0 = [ bvec4(true, false, false, true) | bvec4(false, false, false, true) | bvec4(false, true, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + output bvec4 out0 = [ bvec4(false, false, true, false) | bvec4(false, false, true, false) | bvec4(false, false, false, false) | bvec4(true, true, true, true) | bvec4(false, false, false, false) ]; + } + + both "" + precision mediump float; + + ${DECLARATIONS} + + void main() + { + ${SETUP} + out0 = in0.bbab; + ${OUTPUT} + } + "" end diff --git a/data/gles3/shaders/arrays.test b/data/gles3/shaders/arrays.test index 7b31d3c..2144a11 100644 --- a/data/gles3/shaders/arrays.test +++ b/data/gles3/shaders/arrays.test @@ -1,5 +1,5 @@ -#X1. Type: float[5] // An array type with 5 elements -#X2. Return value: float[5] func() { ... } // Function with a 5-element array return value +#X1. Type: float[5] // An array type with 5 elements +#X2. Return value: float[5] func() { ... } // Function with a 5-element array return value #X3. Array constructor: float[3] (1.0, 2.0, 5.5) // 3-element array with given elements # // Fails with array of matrices! #X4. As unnamed parameter: void func(float[5]); @@ -8,9 +8,9 @@ # float y[] = float[3] (1.0, 2.0, 3.0); // Size of y is 3 (equivalent) # float z[] = y; // Size of z is 3 #X7. Testing that 2-dimensional arrays don't work: float a[5][3]; // Illegal -# float[5] a[3]; // Illegal +# float[5] a[3]; // Illegal #X8. Testing that array declaration with dynamic variables as array size won't work. -#X9. Testing length() operator: z.length(); // Returns 3 for z defined before +#X9. Testing length() operator: z.length(); // Returns 3 for z defined before #X10. Test C/C++ style {}-constructor #X11. Test struct arrays #X12. Test array element access at initialization with const/dynamic values @@ -257,7 +257,7 @@ group constructor "Array constructors" ${SETUP} vec3[3] x; - x = vec3[3] ( vec3(in0.x, in0.y, in0.z) , + x = vec3[3] ( vec3(in0.x, in0.y, in0.z) , vec3(-in0.y, -in0.z, -in0.x), vec3(in0.z, in0.x, in0.y) ); out0 = vec3(x[0].x, x[1].y, x[2].z); @@ -285,7 +285,7 @@ group constructor "Array constructors" ${SETUP} ivec3[3] x; - x = ivec3[3] ( ivec3(in0.x, in0.y, in0.z) , + x = ivec3[3] ( ivec3(in0.x, in0.y, in0.z) , ivec3(-in0.y, -in0.z, -in0.x), ivec3(in0.z, in0.x, in0.y) ); out0 = ivec3(x[0].x, x[1].y, x[2].z); @@ -312,7 +312,7 @@ group constructor "Array constructors" ${SETUP} bvec3[3] x; - x = bvec3[3] ( bvec3(in0.x, in0.y, in0.z) , + x = bvec3[3] ( bvec3(in0.x, in0.y, in0.z) , bvec3(in0.y, in0.z, in0.x), bvec3(in0.z, in0.x, in0.y) ); out0 = bvec3(x[0].x, x[1].y, x[2].z); @@ -450,7 +450,7 @@ group return "Arrays as return value" version 300 es values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(7.4, -1.0, 2.0) | vec3(3.0, 1.6, -2.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(7.4, -1.0, 2.0) | vec3(3.0, 1.6, -2.0) ]; output vec3 out0 = [ vec3(2.0, -0.5, 1.0) | vec3(2.0, -7.4, -1.0) | vec3(-2.0, -3.0, 1.6) ]; } @@ -507,7 +507,7 @@ group return "Arrays as return value" version 300 es values { - input bvec3 in0 = [ bvec3(false, true, true) ]; + input bvec3 in0 = [ bvec3(false, true, true) ]; output bvec3 out0 = [ bvec3(true, false, true) ]; } @@ -537,7 +537,7 @@ group return "Arrays as return value" version 300 es values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(1.0, 0.5, -2.0) | vec3(11.2, -0.5, 1.0) ]; } @@ -568,7 +568,7 @@ group return "Arrays as return value" version 300 es values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ]; output vec3 out0 = [ vec3(-1.0, 2.0, 0.5) ]; } @@ -609,7 +609,7 @@ group return "Arrays as return value" version 300 es values { - input ivec3 in0 = [ ivec3(5, 1, 2) | ivec3(-5, 11, -1) ]; + input ivec3 in0 = [ ivec3(5, 1, 2) | ivec3(-5, 11, -1) ]; output ivec3 out0 = [ ivec3(1, 5, -2) | ivec3(11, -5, 1) ]; } @@ -641,7 +641,7 @@ group return "Arrays as return value" version 300 es values { - input bvec3 in0 = [ bvec3(true, false, false) ]; + input bvec3 in0 = [ bvec3(true, false, false) ]; output bvec3 out0 = [ bvec3(false, true, false) ]; } @@ -834,7 +834,7 @@ group unnamed_parameter "Array type as unnamed parameter of a function prototype version 300 es values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(7.4, -1.0, 2.0) | vec3(3.0, 1.6, -2.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(7.4, -1.0, 2.0) | vec3(3.0, 1.6, -2.0) ]; output vec3 out0 = [ vec3(2.0, 0.5, 1.0) | vec3(2.0, 7.4, -1.0) | vec3(-2.0, 3.0, 1.6) ]; } @@ -866,7 +866,7 @@ group unnamed_parameter "Array type as unnamed parameter of a function prototype version 300 es values { - input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(7, -1, 2) | ivec3(3, 1, -2) ]; + input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(7, -1, 2) | ivec3(3, 1, -2) ]; output ivec3 out0 = [ ivec3(2, 0, 1) | ivec3(2, 7, -1) | ivec3(-2, 3, 1) ]; } @@ -899,7 +899,7 @@ group unnamed_parameter "Array type as unnamed parameter of a function prototype version 300 es values { - input bvec3 in0 = [ bvec3(false, true, true) ]; + input bvec3 in0 = [ bvec3(false, true, true) ]; output bvec3 out0 = [ bvec3(true, false, true) ]; } @@ -931,7 +931,7 @@ group unnamed_parameter "Array type as unnamed parameter of a function prototype version 300 es values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) ]; output vec3 out0 = [ vec3(-1.0, 2.0, 0.5) ]; } @@ -974,7 +974,7 @@ group unnamed_parameter "Array type as unnamed parameter of a function prototype version 300 es values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(1.0, 0.5, -2.0) | vec3(11.2, -0.5, 1.0) ]; } @@ -1007,7 +1007,7 @@ group unnamed_parameter "Array type as unnamed parameter of a function prototype version 300 es values { - input ivec3 in0 = [ ivec3(5, 1, 2) | ivec3(-5, 11, -1) ]; + input ivec3 in0 = [ ivec3(5, 1, 2) | ivec3(-5, 11, -1) ]; output ivec3 out0 = [ ivec3(1, 5, -2) | ivec3(11, -5, 1) ]; } @@ -1041,7 +1041,7 @@ group unnamed_parameter "Array type as unnamed parameter of a function prototype version 300 es values { - input bvec3 in0 = [ bvec3(true, false, false) ]; + input bvec3 in0 = [ bvec3(true, false, false) ]; output bvec3 out0 = [ bvec3(false, true, false) ]; } @@ -1354,7 +1354,7 @@ group declaration "Declaring arrays" version 300 es values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(0.5, -2.0, 1.0) | vec3(-0.5, 1.0, 11.2) ]; } @@ -1380,7 +1380,7 @@ group declaration "Declaring arrays" version 300 es values { - input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; + input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; output ivec3 out0 = [ ivec3(0, -2, 1) | ivec3(5, 1, 11) ]; } @@ -1407,7 +1407,7 @@ group declaration "Declaring arrays" version 300 es values { - input bvec3 in0 = [ bvec3(true, false, true) ]; + input bvec3 in0 = [ bvec3(true, false, true) ]; output bvec3 out0 = [ bvec3(true, true, false) ]; } diff --git a/data/gles3/shaders/preprocessor.test b/data/gles3/shaders/preprocessor.test index f8fe6eb..1e2d4f1 100644 --- a/data/gles3/shaders/preprocessor.test +++ b/data/gles3/shaders/preprocessor.test @@ -264,7 +264,7 @@ group definitions "Symbol Definition Tests" precision mediump float; #define FUNCTION(a,b) a+b #undef FUNCTION - #define FUNCTION(a,b) a-b + #define FUNCTION(a,b) a-b ${DECLARATIONS} void main() @@ -339,8 +339,8 @@ group object_redefinitions "Object Redefinition Tests" #version 300 es precision mediump float; ${DECLARATIONS} - # define AAA 2.0 - # define AAAA 2.1 + # define AAA 2.0 + # define AAAA 2.1 # define VALUE (AAA - 1.0) # define VALUE (AAAA - 1.0) @@ -358,7 +358,7 @@ group object_redefinitions "Object Redefinition Tests" #version 300 es precision mediump float; ${DECLARATIONS} - # define AAA 2.0 + # define AAA 2.0 # define VALUE (AAA - 1.0) # define VALUE (AAA- 1.0) @@ -376,7 +376,7 @@ group object_redefinitions "Object Redefinition Tests" #version 300 es precision mediump float; ${DECLARATIONS} - # define AAA 2.0 + # define AAA 2.0 # define VALUE (AAA - 1.0) # define VALUE (AAA + 1.0) @@ -394,7 +394,7 @@ group object_redefinitions "Object Redefinition Tests" #version 300 es precision mediump float; ${DECLARATIONS} - # define AAA 2.0 + # define AAA 2.0 # define VALUE (AAA - 1.0) # define VALUE (AAA - 1.1) @@ -412,7 +412,7 @@ group object_redefinitions "Object Redefinition Tests" #version 300 es precision mediump float; ${DECLARATIONS} - # define AAA 2.0 + # define AAA 2.0 # define VALUE (AAA - 1.0) # define VALUE (AAA - 1.0e-1) @@ -430,7 +430,7 @@ group object_redefinitions "Object Redefinition Tests" #version 300 es precision mediump float; ${DECLARATIONS} - # define AAA 2 + # define AAA 2 # define VALUE (AAA - 1) # define VALUE (AAA - 2) @@ -448,7 +448,7 @@ group object_redefinitions "Object Redefinition Tests" #version 300 es precision mediump float; ${DECLARATIONS} - # define AAA 2 + # define AAA 2 # define VALUE (AAA - 1) # define VALUE (AAA - 0x1) @@ -468,7 +468,7 @@ group object_redefinitions "Object Redefinition Tests" precision mediump float; ${DECLARATIONS} # define VAL1 1.0 - #define VAL2 2.0 + #define VAL2 2.0 #define RES2 (RES1 * VAL2) #define RES1 (VAL2 / VAL1) @@ -618,7 +618,7 @@ group object_redefinitions "Object Redefinition Tests" precision mediump float; ${DECLARATIONS} # define VAL1 1.0 - #define VAL2 2.0 + #define VAL2 2.0 #define RES2 /* fdsjklfdsjkl dsfjkhfdsjkh fdsjklhfdsjkh */ (RES1 * VAL2) #define RES1 (VAL2 / VAL1) @@ -642,7 +642,7 @@ group object_redefinitions "Object Redefinition Tests" precision mediump float; ${DECLARATIONS} # define VAL1 1.0 - #define VAL2 2.0 + #define VAL2 2.0 #define RES2 /* fdsjklfdsjkl dsfjkhfdsjkh @@ -975,7 +975,7 @@ group function_definitions "Function Definitions Tests" #version 300 es precision mediump float; ${DECLARATIONS} - /* sdfljk */ #/* sdfljk */define /* sdfljk */ FUNC( /* jklsfd*/a /*sfdjklh*/, /*sdfklj */b /*sdfklj*/) a+b + /* sdfljk */ #/* sdfljk */define /* sdfljk */ FUNC( /* jklsfd*/a /*sfdjklh*/, /*sdfklj */b /*sdfklj*/) a+b void main() { @@ -1013,7 +1013,7 @@ group recursion "Recursions Tests" precision mediump float; ${DECLARATIONS} # define AAA BBB - #define BBB AAA + #define BBB AAA void main() { @@ -1030,7 +1030,7 @@ group recursion "Recursions Tests" precision mediump float; ${DECLARATIONS} # define AAA (1.0+BBB) - #define BBB (2.0+AAA) + #define BBB (2.0+AAA) void main() { diff --git a/data/gles31/shaders/arrays_of_arrays.test b/data/gles31/shaders/arrays_of_arrays.test index 2619aba..2c1d344 100644 --- a/data/gles31/shaders/arrays_of_arrays.test +++ b/data/gles31/shaders/arrays_of_arrays.test @@ -54,7 +54,7 @@ group constructor "Array of arrays constructors" { ${SETUP} float[3][4] x; - x = float[3][4] ( float[4] (in0.z, in0.x, in0.w, in0.y), + x = float[3][4] ( float[4] (in0.z, in0.x, in0.w, in0.y), float[4] (in0.z, in0.x, in0.w, in0.y), float[4] (in0.z, in0.x, in0.w, in0.y) ); out0 = vec4(x[0][0], x[1][1], x[2][2], x[2][3]); @@ -856,18 +856,18 @@ group constructor "Array of arrays constructors" ${SETUP} vec3[3] x[4]; - x = vec3[][] ( vec3[] ( vec3(in0.x, in0.y, in0.z), + x = vec3[][] ( vec3[] ( vec3(in0.x, in0.y, in0.z), vec3(-in0.y, -in0.z, -in0.x), vec3(in0.z, in0.x, in0.y)), - vec3[] ( vec3(in0.x, in0.y, in0.z), + vec3[] ( vec3(in0.x, in0.y, in0.z), vec3(-in0.y, -in0.z, -in0.x), vec3(in0.z, in0.x, in0.y)), - vec3[] ( vec3(in0.x, in0.y, in0.z), + vec3[] ( vec3(in0.x, in0.y, in0.z), vec3(-in0.y, -in0.z, -in0.x), vec3(in0.z, in0.x, in0.y)), - vec3[] ( vec3(in0.x, in0.y, in0.z), + vec3[] ( vec3(in0.x, in0.y, in0.z), vec3(-in0.y, -in0.z, -in0.x), vec3(in0.z, in0.x, in0.y)) ); @@ -897,7 +897,7 @@ group constructor "Array of arrays constructors" ${SETUP} ivec3 x[3][2][1]; - x = ivec3[][][] ( ivec3[][] ( ivec3[] (ivec3(in0.x, in0.y, in0.z)), + x = ivec3[][][] ( ivec3[][] ( ivec3[] (ivec3(in0.x, in0.y, in0.z)), ivec3[] (ivec3(-in0.y, -in0.z, -in0.x))), ivec3[][] ( ivec3[] (ivec3(in0.z, in0.x, in0.y)), ivec3[] (ivec3(in0.x, in0.y, in0.z))), @@ -928,7 +928,7 @@ group constructor "Array of arrays constructors" ${SETUP} bvec3[3] x[1][2]; - x = bvec3[][][] ( bvec3[][] ( bvec3[] (bvec3(in0.x, in0.y, in0.z), + x = bvec3[][][] ( bvec3[][] ( bvec3[] (bvec3(in0.x, in0.y, in0.z), bvec3(in0.y, in0.z, in0.x), bvec3(in0.z, in0.x, in0.y)), @@ -1023,15 +1023,15 @@ group constructor "Array of arrays constructors" -in0.y, -in0.y, in0.y, -in0.x, -in0.x, in0.x); - mat3[3][3][3] x = mat3[][][] ( mat3[][] ( mat3[] (a, a, a), + mat3[3][3][3] x = mat3[][][] ( mat3[][] ( mat3[] (a, a, a), mat3[] (b, b, b), mat3[] (c, c, c)), - mat3[][] ( mat3[] (b, b, b), + mat3[][] ( mat3[] (b, b, b), mat3[] (a, a, a), mat3[] (c, c, c)), - mat3[][] ( mat3[] (c, c, c), + mat3[][] ( mat3[] (c, c, c), mat3[] (a, a, a), mat3[] (b, b, b)) ); @@ -1201,7 +1201,7 @@ group return "Array of arrays as return value" desc "Testing arrays of arrays as function return values with explicit array size" values { - input bvec3 in0 = [ bvec3(false, true, true) ]; + input bvec3 in0 = [ bvec3(false, true, true) ]; output bvec3 out0 = [ bvec3(true, false, true) ]; } @@ -1236,7 +1236,7 @@ group return "Array of arrays as return value" desc "Testing arrays of arrays as function return values with explicit array size" values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(1.0, 0.5, -2.0) | vec3(11.2, -0.5, 1.0) ]; } @@ -1356,7 +1356,7 @@ group return "Array of arrays as return value" desc "Testing arrays of arrays as function return values with explicit array size" values { - input bvec4 in0 = [ bvec4(true, false, false, true) ]; + input bvec4 in0 = [ bvec4(true, false, false, true) ]; output bvec4 out0 = [ bvec4(true, true, false, true) ]; } @@ -1642,7 +1642,7 @@ group return "Array of arrays as return value" desc "Testing arrays of arrays as function return values with implicit array size" values { - input bvec3 in0 = [ bvec3(false, true, true) ]; + input bvec3 in0 = [ bvec3(false, true, true) ]; output bvec3 out0 = [ bvec3(true, false, true) ]; } @@ -1676,7 +1676,7 @@ group return "Array of arrays as return value" desc "Testing arrays of arrays as function return values with implicit array size" values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(1.0, 0.5, -2.0) | vec3(11.2, -0.5, 1.0) ]; } @@ -1694,7 +1694,7 @@ group return "Array of arrays as return value" vec3(p.x, p.y, -p.z), vec3(-p.z, p.x, p.y)) ); - return vec3[][] ( vec3[] (a[0][1], a[0][2], a[0][0]), + return vec3[][] ( vec3[] (a[0][1], a[0][2], a[0][0]), vec3[] (a[1][1], a[1][2], a[1][0])); } @@ -1795,7 +1795,7 @@ group return "Array of arrays as return value" desc "Testing arrays of arrays as function return values with implicit array size" values { - input bvec4 in0 = [ bvec4(true, false, false, true) ]; + input bvec4 in0 = [ bvec4(true, false, false, true) ]; output bvec4 out0 = [ bvec4(true, true, false, true) ]; } @@ -1812,7 +1812,7 @@ group return "Array of arrays as return value" bvec4(p.z, p.w, p.x, p.y), bvec4(p.y, p.x, p.z, p.w) ); - return bvec4[][] ( bvec4[] (bvec4(x[0]), + return bvec4[][] ( bvec4[] (bvec4(x[0]), bvec4(x[1])), bvec4[] (bvec4(x[2]), @@ -2038,7 +2038,7 @@ group parameter "Array of arrays as a function parameter" void main() { ${SETUP} - float[3][3] x = float[3][3] ( float[3] (in0.z, 0.0, 0.0), + float[3][3] x = float[3][3] ( float[3] (in0.z, 0.0, 0.0), float[3] (0.0, -in0.x, 0.0), float[3] (0.0, 0.0, in0.y) ); @@ -2087,7 +2087,7 @@ group parameter "Array of arrays as a function parameter" desc "Testing array of arrays as an in-function parameter" values { - input bvec3 in0 = [ bvec3(false, true, true) ]; + input bvec3 in0 = [ bvec3(false, true, true) ]; output bvec3 out0 = [ bvec3(true, false, true) ]; } @@ -2122,7 +2122,7 @@ group parameter "Array of arrays as a function parameter" desc "Testing array of arrays as an in-function parameter" values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(1.0, 0.5, -2.0) | vec3(11.2, -0.5, 1.0) ]; } @@ -2243,7 +2243,7 @@ group parameter "Array of arrays as a function parameter" desc "Testing array of arrays as an in-function parameter" values { - input bvec4 in0 = [ bvec4(true, false, false, true) ]; + input bvec4 in0 = [ bvec4(true, false, false, true) ]; output bvec4 out0 = [ bvec4(true, true, false, true) ]; } @@ -2472,7 +2472,7 @@ group parameter "Array of arrays as a function parameter" void func(out float[3][3] x, in vec3 p) { - x = float[3][3] ( float[3] (p.z, 0.0, 0.0), + x = float[3][3] ( float[3] (p.z, 0.0, 0.0), float[3] (0.0, -p.x, 0.0), float[3] (0.0, 0.0, p.y) ); } @@ -2527,7 +2527,7 @@ group parameter "Array of arrays as a function parameter" desc "Testing array of arrays as an out-function parameter" values { - input bvec3 in0 = [ bvec3(false, true, true) ]; + input bvec3 in0 = [ bvec3(false, true, true) ]; output bvec3 out0 = [ bvec3(true, false, true) ]; } @@ -2562,7 +2562,7 @@ group parameter "Array of arrays as a function parameter" desc "Testing array of arrays as an out-function parameter" values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(1.0, 0.5, -2.0) | vec3(11.2, -0.5, 1.0) ]; } @@ -2684,7 +2684,7 @@ group parameter "Array of arrays as a function parameter" desc "Testing array of arrays as an out-function parameter" values { - input bvec4 in0 = [ bvec4(true, false, false, true) ]; + input bvec4 in0 = [ bvec4(true, false, false, true) ]; output bvec4 out0 = [ bvec4(true, true, false, true) ]; } @@ -2975,7 +2975,7 @@ group parameter "Array of arrays as a function parameter" desc "Testing array of arrays as unnamed parameter of a function prototype" values { - input bvec3 in0 = [ bvec3(false, true, true) ]; + input bvec3 in0 = [ bvec3(false, true, true) ]; output bvec3 out0 = [ bvec3(true, false, true) ]; } @@ -3011,7 +3011,7 @@ group parameter "Array of arrays as a function parameter" desc "Testing array of arrays as unnamed parameter of a function prototype" values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(1.0, 0.5, -2.0) | vec3(11.2, -0.5, 1.0) ]; } @@ -3135,7 +3135,7 @@ group parameter "Array of arrays as a function parameter" desc "Testing array of arrays as unnamed parameter of a function prototype" values { - input bvec4 in0 = [ bvec4(true, false, false, true) ]; + input bvec4 in0 = [ bvec4(true, false, false, true) ]; output bvec4 out0 = [ bvec4(true, true, false, true) ]; } @@ -3374,7 +3374,7 @@ group implicit_size "Declaring arrays of arrays with implicit size" void main() { ${SETUP} - float x[][] = float[][] ( float[] (in0.z, in0.x, in0.y), + float x[][] = float[][] ( float[] (in0.z, in0.x, in0.y), float[] (in0.z, in0.x, in0.y), float[] (in0.z, in0.x, in0.y) ); @@ -3402,7 +3402,7 @@ group implicit_size "Declaring arrays of arrays with implicit size" void main() { ${SETUP} - int[][] x = int[][] ( int[] (in0.z, in0.x, in0.y), + int[][] x = int[][] ( int[] (in0.z, in0.x, in0.y), int[] (in0.z, in0.x, in0.y) );; out0 = ivec3(x[0][0], x[1][1], x[0][2]); @@ -3515,7 +3515,7 @@ group implicit_size "Declaring arrays of arrays with implicit size" desc "Testing declaring arrays of arrays with implicit size" values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(0.5, -2.0, 1.0) | vec3(-0.5, 1.0, 11.2) ]; } @@ -3542,7 +3542,7 @@ group implicit_size "Declaring arrays of arrays with implicit size" desc "Testing declaring arrays of arrays with implicit size" values { - input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; + input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; output ivec3 out0 = [ ivec3(0, -2, 1) | ivec3(5, 1, 11) ]; } @@ -3578,7 +3578,7 @@ group implicit_size "Declaring arrays of arrays with implicit size" desc "Testing declaring arrays of arrays with implicit size" values { - input bvec3 in0 = [ bvec3(true, false, true) ]; + input bvec3 in0 = [ bvec3(true, false, true) ]; output bvec3 out0 = [ bvec3(true, true, false) ]; } @@ -3681,15 +3681,15 @@ group implicit_size "Declaring arrays of arrays with implicit size" -in0.y, -in0.y, in0.y, -in0.x, -in0.x, in0.x); - mat3[][][] x = mat3[][][] ( mat3[][] ( mat3[] (a, a, a), + mat3[][][] x = mat3[][][] ( mat3[][] ( mat3[] (a, a, a), mat3[] (b, b, b), mat3[] (c, c, c)), - mat3[][] ( mat3[] (b, b, b), + mat3[][] ( mat3[] (b, b, b), mat3[] (a, a, a), mat3[] (c, c, c)), - mat3[][] ( mat3[] (c, c, c), + mat3[][] ( mat3[] (c, c, c), mat3[] (a, a, a), mat3[] (b, b, b)) ); @@ -3778,7 +3778,7 @@ group assignment "Testing assignment of arrays of arrays" void main() { ${SETUP} - float x[3][3] = float[3][3] ( float[3] (in0.z, in0.x, in0.y), + float x[3][3] = float[3][3] ( float[3] (in0.z, in0.x, in0.y), float[3] (in0.z, in0.x, in0.y), float[3] (in0.z, in0.x, in0.y) ); @@ -3926,7 +3926,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays with explicit size" values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(0.5, -2.0, 1.0) | vec3(-0.5, 1.0, 11.2) ]; } @@ -3955,7 +3955,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays with explicit size" values { - input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; + input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; output ivec3 out0 = [ ivec3(0, -2, 1) | ivec3(5, 1, 11) ]; } @@ -3993,7 +3993,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays with explicit size" values { - input bvec3 in0 = [ bvec3(true, false, true) ]; + input bvec3 in0 = [ bvec3(true, false, true) ]; output bvec3 out0 = [ bvec3(true, true, false) ]; } @@ -4199,7 +4199,7 @@ group assignment "Testing assignment of arrays of arrays" void main() { ${SETUP} - float x[3][3] = float[3][3] ( float[3] (in0.z, in0.x, in0.y), + float x[3][3] = float[3][3] ( float[3] (in0.z, in0.x, in0.y), float[3] (in0.z, in0.x, in0.y), float[3] (in0.z, in0.x, in0.y) ); @@ -4229,7 +4229,7 @@ group assignment "Testing assignment of arrays of arrays" void main() { ${SETUP} - int[2][3] x = int[2][3] ( int[3] (in0.z, in0.x, in0.y), + int[2][3] x = int[2][3] ( int[3] (in0.z, in0.x, in0.y), int[3] (in0.z, in0.x, in0.y) );; int y[][] = x; @@ -4347,7 +4347,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays from explicitly sized to implicitly sized" values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(0.5, -2.0, 1.0) | vec3(-0.5, 1.0, 11.2) ]; } @@ -4376,7 +4376,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays from explicitly sized to implicitly sized" values { - input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; + input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; output ivec3 out0 = [ ivec3(0, -2, 1) | ivec3(5, 1, 11) ]; } @@ -4414,7 +4414,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays from explicitly sized to implicitly sized" values { - input bvec3 in0 = [ bvec3(true, false, true) ]; + input bvec3 in0 = [ bvec3(true, false, true) ]; output bvec3 out0 = [ bvec3(true, true, false) ]; } @@ -4620,7 +4620,7 @@ group assignment "Testing assignment of arrays of arrays" void main() { ${SETUP} - float x[][] = float[][] ( float[] (in0.z, in0.x, in0.y), + float x[][] = float[][] ( float[] (in0.z, in0.x, in0.y), float[] (in0.z, in0.x, in0.y), float[] (in0.z, in0.x, in0.y) ); @@ -4650,7 +4650,7 @@ group assignment "Testing assignment of arrays of arrays" void main() { ${SETUP} - int[][] x = int[][] ( int[] (in0.z, in0.x, in0.y), + int[][] x = int[][] ( int[] (in0.z, in0.x, in0.y), int[] (in0.z, in0.x, in0.y) );; int y[2][3] = x; @@ -4768,7 +4768,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays from implicitly sized to explicitly sized" values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(0.5, -2.0, 1.0) | vec3(-0.5, 1.0, 11.2) ]; } @@ -4797,7 +4797,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays from implicitly sized to explicitly sized" values { - input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; + input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; output ivec3 out0 = [ ivec3(0, -2, 1) | ivec3(5, 1, 11) ]; } @@ -4835,7 +4835,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays from implicitly sized to explicitly sized" values { - input bvec3 in0 = [ bvec3(true, false, true) ]; + input bvec3 in0 = [ bvec3(true, false, true) ]; output bvec3 out0 = [ bvec3(true, true, false) ]; } @@ -4942,15 +4942,15 @@ group assignment "Testing assignment of arrays of arrays" -in0.y, -in0.y, in0.y, -in0.x, -in0.x, in0.x); - mat3[][][] x = mat3[][][] ( mat3[][] ( mat3[] (a, a, a), + mat3[][][] x = mat3[][][] ( mat3[][] ( mat3[] (a, a, a), mat3[] (b, b, b), mat3[] (c, c, c)), - mat3[][] ( mat3[] (b, b, b), + mat3[][] ( mat3[] (b, b, b), mat3[] (a, a, a), mat3[] (c, c, c)), - mat3[][] ( mat3[] (c, c, c), + mat3[][] ( mat3[] (c, c, c), mat3[] (a, a, a), mat3[] (b, b, b)) ); @@ -5041,7 +5041,7 @@ group assignment "Testing assignment of arrays of arrays" void main() { ${SETUP} - float x[][] = float[][] ( float[] (in0.z, in0.x, in0.y), + float x[][] = float[][] ( float[] (in0.z, in0.x, in0.y), float[] (in0.z, in0.x, in0.y), float[] (in0.z, in0.x, in0.y) ); @@ -5071,7 +5071,7 @@ group assignment "Testing assignment of arrays of arrays" void main() { ${SETUP} - int[][] x = int[][] ( int[] (in0.z, in0.x, in0.y), + int[][] x = int[][] ( int[] (in0.z, in0.x, in0.y), int[] (in0.z, in0.x, in0.y) );; int y[][] = x; @@ -5189,7 +5189,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays with implicit sizes" values { - input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; + input vec3 in0 = [ vec3(0.5, 1.0, 2.0) | vec3(-0.5, 11.2, -1.0) ]; output vec3 out0 = [ vec3(0.5, -2.0, 1.0) | vec3(-0.5, 1.0, 11.2) ]; } @@ -5218,7 +5218,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays with implicit sizes" values { - input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; + input ivec3 in0 = [ ivec3(0, 1, 2) | ivec3(5, 11, -1) ]; output ivec3 out0 = [ ivec3(0, -2, 1) | ivec3(5, 1, 11) ]; } @@ -5256,7 +5256,7 @@ group assignment "Testing assignment of arrays of arrays" desc "Testing assignment of arrays of arrays with implicit sizes" values { - input bvec3 in0 = [ bvec3(true, false, true) ]; + input bvec3 in0 = [ bvec3(true, false, true) ]; output bvec3 out0 = [ bvec3(true, true, false) ]; } @@ -5363,15 +5363,15 @@ group assignment "Testing assignment of arrays of arrays" -in0.y, -in0.y, in0.y, -in0.x, -in0.x, in0.x); - mat3[][][] x = mat3[][][] ( mat3[][] ( mat3[] (a, a, a), + mat3[][][] x = mat3[][][] ( mat3[][] ( mat3[] (a, a, a), mat3[] (b, b, b), mat3[] (c, c, c)), - mat3[][] ( mat3[] (b, b, b), + mat3[][] ( mat3[] (b, b, b), mat3[] (a, a, a), mat3[] (c, c, c)), - mat3[][] ( mat3[] (c, c, c), + mat3[][] ( mat3[] (c, c, c), mat3[] (a, a, a), mat3[] (b, b, b)) ); @@ -5519,7 +5519,7 @@ group length "Testing the array length property with arrays of arrays" int[] x[] = int[][] ( int[] (in0.z, in0.x, in0.y, in0.x, in0.y, in0.z, in0.x), int[] (in0.z, in0.x, in0.y, in0.x, in0.y, in0.z, in0.x) ); - int[] y[][] = int[1][2][3] ( int[2][3] ( int[3] (in0.z, in0.x, in0.y), + int[] y[][] = int[1][2][3] ( int[2][3] ( int[3] (in0.z, in0.x, in0.y), int[3] (in0.z, in0.x, in0.y) )); int z[13][7][1]; @@ -5556,7 +5556,7 @@ group length "Testing the array length property with arrays of arrays" bool[] (in0.z, in0.x, in0.y), bool[] (in0.z, in0.x, in0.y) ); - bool y[2][1][3] = bool[][][] ( bool[][] ( bool[] (in0.z, in0.x, in0.y) ), + bool y[2][1][3] = bool[][][] ( bool[][] ( bool[] (in0.z, in0.x, in0.y) ), bool[][] ( bool[] (in0.z, in0.x, in0.y) ) ); int z[7][8][9]; @@ -5707,7 +5707,7 @@ group length "Testing the array length property with arrays of arrays" int[] x[] = int[][] ( int[] (in0.z, in0.x, in0.y, in0.x, in0.y, in0.z, in0.x), int[] (in0.z, in0.x, in0.y, in0.x, in0.y, in0.z, in0.x) ); - int[] y[][] = int[1][2][3] ( int[2][3] ( int[3] (in0.z, in0.x, in0.y), + int[] y[][] = int[1][2][3] ( int[2][3] ( int[3] (in0.z, in0.x, in0.y), int[3] (in0.z, in0.x, in0.y) )); int z[13][7][1]; @@ -5746,7 +5746,7 @@ group array_access "Test accessing arrays of arrays" float x = float[2][6] ( float[] (in0.x, in0.y, in0.z, -in0.z, -in0.y, -in0.x), float[] (-in0.z, -in0.y, -in0.x, in0.x, in0.y, in0.z) ) [a][a]; - float y = float[][][] ( float[][] ( float[] (in0.x, in0.y, in0.z, -in0.z, -in0.y, -in0.x), + float y = float[][][] ( float[][] ( float[] (in0.x, in0.y, in0.z, -in0.z, -in0.y, -in0.x), float[] (-in0.z, -in0.y, -in0.x, in0.x, in0.y, in0.z) ), float[][] ( float[] (in0.x, in0.y, in0.z, -in0.z, -in0.y, -in0.x), float[] (-in0.z, -in0.y, -in0.x, in0.x, in0.y, in0.z) ), @@ -5799,7 +5799,7 @@ group array_access "Test accessing arrays of arrays" float[][] ( float[] (in0.x, in0.y, in0.z, -in0.z, -in0.y, -in0.x), float[] (-in0.z, -in0.y, -in0.x, in0.x, in0.y, in0.z) )) [in1.x+1][in1.y-1][in1.z+4]; - float z = float[][] ( float[] (0.0, 0.0, 0.0, 0.0, 0.0, 0.0), + float z = float[][] ( float[] (0.0, 0.0, 0.0, 0.0, 0.0, 0.0), float[] (-in0.z, -in0.y, -in0.x, in0.x, in0.y, in0.z), float[] (in0.x, in0.y, in0.z, -in0.z, -in0.y, -in0.x) ) [in1.x-in1.y][in1.z]; diff --git a/data/gles31/shaders/functions.test b/data/gles31/shaders/functions.test index f01dc3f..ffae50b 100644 --- a/data/gles31/shaders/functions.test +++ b/data/gles31/shaders/functions.test @@ -25,7 +25,7 @@ group overloading "Function Overloading" void main () { ${SETUP} - float[4][4] x = float[4][4] ( float[4] (0.0, 0.0, -1.0, 1.0), + float[4][4] x = float[4][4] ( float[4] (0.0, 0.0, -1.0, 1.0), float[4] (-1.0, 1.0, 0.0, 0.0), float[4] (0.0, 0.0, -1.0, 1.0), float[4] (-1.0, 1.0, 0.0, 0.0) ); diff --git a/data/gles31/shaders/linkage_tessellation.test b/data/gles31/shaders/linkage_tessellation.test index f5009b8..b26dd82 100644 --- a/data/gles31/shaders/linkage_tessellation.test +++ b/data/gles31/shaders/linkage_tessellation.test @@ -2065,9 +2065,9 @@ group uniform "Uniform" require extension { "GL_OES_tessellation_shader" | "GL_EXT_tessellation_shader" } in { tessellation_control, tessellation_evaluation } values { - uniform float val.vtxVal = 1.5; - uniform float val.tcVal = 2.5; - uniform float val.teVal = 6.0; + uniform float val.vtxVal = 1.5; + uniform float val.tcVal = 2.5; + uniform float val.teVal = 6.0; uniform float val.fragVal = 11.0; output float out0 = 68.5; } diff --git a/doc/GLES2 Negative API Functions.txt b/doc/GLES2 Negative API Functions.txt index 20cfb2e..6ce3676 100644 --- a/doc/GLES2 Negative API Functions.txt +++ b/doc/GLES2 Negative API Functions.txt @@ -28,190 +28,190 @@ Legend: Special functions ----------------------------------------------- -x glFinish (void); +x glFinish (void); x glFlush (void); -o glHint (GLenum target, GLenum mode); +o glHint (GLenum target, GLenum mode); ----------------------------------------------- State functions ----------------------------------------------- -o glDisable (GLenum cap); -o glEnable (GLenum cap); -o glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); -o glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params); +o glDisable (GLenum cap); +o glEnable (GLenum cap); +o glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); +o glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params); o glGetBooleanv (GLenum pname, GLboolean* params); x glGetError (void); -o glGetFloatv (GLenum pname, GLfloat* params); +o glGetFloatv (GLenum pname, GLfloat* params); o glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params); -o glGetIntegerv (GLenum pname, GLint* params); -o glGetProgramiv (GLuint program, GLenum pname, GLint* params); -o glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); -o glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params); -o glGetShaderiv (GLuint shader, GLenum pname, GLint* params); -o glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); -o glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); -o glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); -o glGetString (GLenum name); -o glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params); -o glGetTexParameteriv (GLenum target, GLenum pname, GLint* params); -o glGetUniformfv (GLuint program, GLint location, GLfloat* params); -o glGetUniformiv (GLuint program, GLint location, GLint* params); -o glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params); -o glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params); -o glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer); -o glIsEnabled (GLenum cap); +o glGetIntegerv (GLenum pname, GLint* params); +o glGetProgramiv (GLuint program, GLenum pname, GLint* params); +o glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); +o glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params); +o glGetShaderiv (GLuint shader, GLenum pname, GLint* params); +o glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); +o glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); +o glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); +o glGetString (GLenum name); +o glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params); +o glGetTexParameteriv (GLenum target, GLenum pname, GLint* params); +o glGetUniformfv (GLuint program, GLint location, GLfloat* params); +o glGetUniformiv (GLuint program, GLint location, GLint* params); +o glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params); +o glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params); +o glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer); +o glIsEnabled (GLenum cap); ----------------------------------------------- Transforms & Fragment API functions ----------------------------------------------- -x glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -o glBlendEquation (GLenum mode); -o glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); -o glBlendFunc (GLenum sfactor, GLenum dfactor); -o glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -x glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -o glDepthFunc (GLenum func); -x glDepthMask (GLboolean flag); -x glDepthRangef (GLclampf zNear, GLclampf zFar); -x glSampleCoverage (GLclampf value, GLboolean invert); -o glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -o glStencilFunc (GLenum func, GLint ref, GLuint mask); -o glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); -x glStencilMask (GLuint mask); -o glStencilMaskSeparate (GLenum face, GLuint mask); -o glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -o glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); -o glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +x glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +o glBlendEquation (GLenum mode); +o glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); +o glBlendFunc (GLenum sfactor, GLenum dfactor); +o glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +x glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +o glDepthFunc (GLenum func); +x glDepthMask (GLboolean flag); +x glDepthRangef (GLclampf zNear, GLclampf zFar); +x glSampleCoverage (GLclampf value, GLboolean invert); +o glScissor (GLint x, GLint y, GLsizei width, GLsizei height); +o glStencilFunc (GLenum func, GLint ref, GLuint mask); +o glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); +x glStencilMask (GLuint mask); +o glStencilMaskSeparate (GLenum face, GLuint mask); +o glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); +o glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); +o glViewport (GLint x, GLint y, GLsizei width, GLsizei height); ----------------------------------------------- FBO API functions ----------------------------------------------- -o glBindFramebuffer (GLenum target, GLuint framebuffer); -o glBindRenderbuffer (GLenum target, GLuint renderbuffer); -o glCheckFramebufferStatus (GLenum target); -o glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers); -o glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers); +o glBindFramebuffer (GLenum target, GLuint framebuffer); +o glBindRenderbuffer (GLenum target, GLuint renderbuffer); +o glCheckFramebufferStatus (GLenum target); +o glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers); +o glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers); o glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -o glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -o glGenFramebuffers (GLsizei n, GLuint* framebuffers); -o glGenRenderbuffers (GLsizei n, GLuint* renderbuffers); -o glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +o glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +o glGenFramebuffers (GLsizei n, GLuint* framebuffers); +o glGenRenderbuffers (GLsizei n, GLuint* renderbuffers); +o glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); ----------------------------------------------- Buffer and Buffer Object API functions ----------------------------------------------- -o glBindBuffer (GLenum target, GLuint buffer); -o glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); -o glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); -o glClear (GLbitfield mask); -x glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -x glClearDepthf (GLclampf depth); -x glClearStencil (GLint s); -o glDeleteBuffers (GLsizei n, const GLuint* buffers); -o glGenBuffers (GLsizei n, GLuint* buffers); -o glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); +o glBindBuffer (GLenum target, GLuint buffer); +o glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); +o glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); +o glClear (GLbitfield mask); +x glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +x glClearDepthf (GLclampf depth); +x glClearStencil (GLint s); +o glDeleteBuffers (GLsizei n, const GLuint* buffers); +o glGenBuffers (GLsizei n, GLuint* buffers); +o glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); ----------------------------------------------- Shader API functions ----------------------------------------------- -o glBindAttribLocation (GLuint program, GLuint index, const GLchar* name); -o glAttachShader (GLuint program, GLuint shader); -o glCreateShader (GLenum type); -o glCompileShader (GLuint shader); -x glCreateProgram (void); -o glDeleteProgram (GLuint program); -o glDeleteShader (GLuint shader); -o glDetachShader (GLuint program, GLuint shader); -o glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -o glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -o glGetAttribLocation (GLuint program, const GLchar* name); -o glGetUniformLocation (GLuint program, const GLchar* name); -o glLinkProgram (GLuint program); -o glReleaseShaderCompiler (void); -o glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); -o glShaderSource (GLuint shader, GLsizei count, const GLchar** string, const GLint* length); -o glUniform1f (GLint location, GLfloat x); +o glBindAttribLocation (GLuint program, GLuint index, const GLchar* name); +o glAttachShader (GLuint program, GLuint shader); +o glCreateShader (GLenum type); +o glCompileShader (GLuint shader); +x glCreateProgram (void); +o glDeleteProgram (GLuint program); +o glDeleteShader (GLuint shader); +o glDetachShader (GLuint program, GLuint shader); +o glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); +o glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); +o glGetAttribLocation (GLuint program, const GLchar* name); +o glGetUniformLocation (GLuint program, const GLchar* name); +o glLinkProgram (GLuint program); +o glReleaseShaderCompiler (void); +o glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); +o glShaderSource (GLuint shader, GLsizei count, const GLchar** string, const GLint* length); +o glUniform1f (GLint location, GLfloat x); o glUniform1fv (GLint location, GLsizei count, const GLfloat* v); -o glUniform1i (GLint location, GLint x); +o glUniform1i (GLint location, GLint x); o glUniform1iv (GLint location, GLsizei count, const GLint* v); -o glUniform2f (GLint location, GLfloat x, GLfloat y); +o glUniform2f (GLint location, GLfloat x, GLfloat y); o glUniform2fv (GLint location, GLsizei count, const GLfloat* v); -o glUniform2i (GLint location, GLint x, GLint y); +o glUniform2i (GLint location, GLint x, GLint y); o glUniform2iv (GLint location, GLsizei count, const GLint* v); -o glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z); +o glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z); o glUniform3fv (GLint location, GLsizei count, const GLfloat* v); -o glUniform3i (GLint location, GLint x, GLint y, GLint z); +o glUniform3i (GLint location, GLint x, GLint y, GLint z); o glUniform3iv (GLint location, GLsizei count, const GLint* v); -o glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +o glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); o glUniform4fv (GLint location, GLsizei count, const GLfloat* v); -o glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w); -o glUniform4iv (GLint location, GLsizei count, const GLint* v); -o glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUseProgram (GLuint program); -o glValidateProgram (GLuint program); +o glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w); +o glUniform4iv (GLint location, GLsizei count, const GLint* v); +o glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUseProgram (GLuint program); +o glValidateProgram (GLuint program); ----------------------------------------------- Texture API functions ----------------------------------------------- -o glActiveTexture (GLenum texture); -o glBindTexture (GLenum target, GLuint texture); -o glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); +o glActiveTexture (GLenum texture); +o glBindTexture (GLenum target, GLuint texture); +o glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); o glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); -o glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -o glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -o glDeleteTextures (GLsizei n, const GLuint* textures); -o glGenerateMipmap (GLenum target); -o glGenTextures (GLsizei n, GLuint* textures); -o glPixelStorei (GLenum pname, GLint param); -o glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); -o glTexParameterf (GLenum target, GLenum pname, GLfloat param); -o glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params); -o glTexParameteri (GLenum target, GLenum pname, GLint param); +o glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +o glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +o glDeleteTextures (GLsizei n, const GLuint* textures); +o glGenerateMipmap (GLenum target); +o glGenTextures (GLsizei n, GLuint* textures); +o glPixelStorei (GLenum pname, GLint param); +o glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); +o glTexParameterf (GLenum target, GLenum pname, GLfloat param); +o glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params); +o glTexParameteri (GLenum target, GLenum pname, GLint param); o glTexParameteriv (GLenum target, GLenum pname, const GLint* params); -o glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); +o glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); ----------------------------------------------- Vertex Array API functions ----------------------------------------------- -o glDisableVertexAttribArray (GLuint index); -o glDrawArrays (GLenum mode, GLint first, GLsizei count); -o glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); -o glEnableVertexAttribArray (GLuint index); -o glVertexAttrib1f (GLuint indx, GLfloat x); +o glDisableVertexAttribArray (GLuint index); +o glDrawArrays (GLenum mode, GLint first, GLsizei count); +o glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); +o glEnableVertexAttribArray (GLuint index); +o glVertexAttrib1f (GLuint indx, GLfloat x); o glVertexAttrib1fv (GLuint indx, const GLfloat* values); -o glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y); +o glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y); o glVertexAttrib2fv (GLuint indx, const GLfloat* values); -o glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z); +o glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z); o glVertexAttrib3fv (GLuint indx, const GLfloat* values); -o glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +o glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); o glVertexAttrib4fv (GLuint indx, const GLfloat* values); -o glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr); +o glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr); ----------------------------------------------- Rasterization API functions ----------------------------------------------- -o glCullFace (GLenum mode); -o glFrontFace (GLenum mode); -o glLineWidth (GLfloat width); +o glCullFace (GLenum mode); +o glFrontFace (GLenum mode); +o glLineWidth (GLfloat width); x glPolygonOffset (GLfloat factor, GLfloat units); ----------------------------------------------- Named object usage ----------------------------------------------- -o glIsBuffer (GLuint buffer); -o glIsFramebuffer (GLuint framebuffer); -o glIsProgram (GLuint program); -o glIsRenderbuffer (GLuint renderbuffer); -o glIsShader (GLuint shader); -o glIsTexture (GLuint texture); \ No newline at end of file +o glIsBuffer (GLuint buffer); +o glIsFramebuffer (GLuint framebuffer); +o glIsProgram (GLuint program); +o glIsRenderbuffer (GLuint renderbuffer); +o glIsShader (GLuint shader); +o glIsTexture (GLuint texture); diff --git a/doc/GLES3 Negative API Functions.txt b/doc/GLES3 Negative API Functions.txt index 9bb99dc..a5252ba 100644 --- a/doc/GLES3 Negative API Functions.txt +++ b/doc/GLES3 Negative API Functions.txt @@ -28,14 +28,14 @@ Legend: ----------------------------------------------- ES3 -o glBindTransformFeedback (GLenum target, GLuint id); -o glDeleteTransformFeedbacks (GLsizei n, const GLuint* ids); -o glGenTransformFeedbacks (GLsizei n, GLuint* ids); -o glPauseTransformFeedback (void); -o glResumeTransformFeedback (void); +o glBindTransformFeedback (GLenum target, GLuint id); +o glDeleteTransformFeedbacks (GLsizei n, const GLuint* ids); +o glGenTransformFeedbacks (GLsizei n, GLuint* ids); +o glPauseTransformFeedback (void); +o glResumeTransformFeedback (void); o glBeginTransformFeedback (GLenum primitiveMode); -o glEndTransformFeedback (void); -o glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode); +o glEndTransformFeedback (void); +o glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* const* varyings, GLenum bufferMode); o glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name); ----------------------------------------------- @@ -43,10 +43,10 @@ o glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, ----------------------------------------------- ES3 -o glBeginQuery (GLenum target, GLuint id); -o glDeleteQueries (GLsizei n, const GLuint* ids); -o glEndQuery (GLenum target); -o glGenQueries (GLsizei n, GLuint* ids); +o glBeginQuery (GLenum target, GLuint id); +o glDeleteQueries (GLsizei n, const GLuint* ids); +o glEndQuery (GLenum target); +o glGenQueries (GLsizei n, GLuint* ids); ----------------------------------------------- Special functions @@ -55,287 +55,287 @@ o glGenQueries (GLsizei n, GLuint* ids); ES2 x glFinish (void); x glFlush (void); -o glHint (GLenum target, GLenum mode); +o glHint (GLenum target, GLenum mode); ES3 -o glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); -o glDeleteSync (GLsync sync); -o glFenceSync (GLenum condition, GLbitfield flags); -o glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); +o glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); +o glDeleteSync (GLsync sync); +o glFenceSync (GLenum condition, GLbitfield flags); +o glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); ----------------------------------------------- State functions ----------------------------------------------- ES2 -o glDisable (GLenum cap); -o glEnable (GLenum cap); -o glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -o glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); -o glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params); +o glDisable (GLenum cap); +o glEnable (GLenum cap); +o glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); +o glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); +o glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params); o glGetBooleanv (GLenum pname, GLboolean* params); o glGetError (void); -o glGetFloatv (GLenum pname, GLfloat* params); +o glGetFloatv (GLenum pname, GLfloat* params); o glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params); -o glGetIntegerv (GLenum pname, GLint* params); -o glGetProgramiv (GLuint program, GLenum pname, GLint* params); -o glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); -o glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params); -o glGetShaderiv (GLuint shader, GLenum pname, GLint* params); -o glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); -o glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); -o glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); -o glGetString (GLenum name); -o glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params); -o glGetTexParameteriv (GLenum target, GLenum pname, GLint* params); -o glGetUniformfv (GLuint program, GLint location, GLfloat* params); -o glGetUniformiv (GLuint program, GLint location, GLint* params); -o glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params); -o glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params); -o glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer); -o glIsEnabled (GLenum cap); +o glGetIntegerv (GLenum pname, GLint* params); +o glGetProgramiv (GLuint program, GLenum pname, GLint* params); +o glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); +o glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params); +o glGetShaderiv (GLuint shader, GLenum pname, GLint* params); +o glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); +o glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); +o glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); +o glGetString (GLenum name); +o glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params); +o glGetTexParameteriv (GLenum target, GLenum pname, GLint* params); +o glGetUniformfv (GLuint program, GLint location, GLfloat* params); +o glGetUniformiv (GLuint program, GLint location, GLint* params); +o glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params); +o glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params); +o glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer); +o glIsEnabled (GLenum cap); ES3 o glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params); o glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params); o glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName); -o glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64* params); -o glGetBufferPointerv (GLenum target, GLenum pname, GLvoid** params); -o glGetFragDataLocation (GLuint program, const GLchar *name); -o glGetIntegeri_v (GLenum target, GLuint index, GLint* data); -o glGetInteger64i_v (GLenum target, GLuint index, GLint64* data); -o glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params); -o glGetInteger64v (GLenum pname, GLint64* params); -o glGetQueryiv (GLenum target, GLenum pname, GLint* params); -o glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint* params); -o glGetStringi (GLenum name, GLuint index); -o glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values); -o glGetUniformuiv (GLuint program, GLint location, GLuint* params); -o glGetUniformBlockIndex (GLuint program, const GLchar* uniformBlockName); -o glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices); -o glGetVertexAttribIiv (GLuint index, GLenum pname, GLint* params); -o glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint* params); +o glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64* params); +o glGetBufferPointerv (GLenum target, GLenum pname, GLvoid** params); +o glGetFragDataLocation (GLuint program, const GLchar *name); +o glGetIntegeri_v (GLenum target, GLuint index, GLint* data); +o glGetInteger64i_v (GLenum target, GLuint index, GLint64* data); +o glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params); +o glGetInteger64v (GLenum pname, GLint64* params); +o glGetQueryiv (GLenum target, GLenum pname, GLint* params); +o glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint* params); +o glGetStringi (GLenum name, GLuint index); +o glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint* values); +o glGetUniformuiv (GLuint program, GLint location, GLuint* params); +o glGetUniformBlockIndex (GLuint program, const GLchar* uniformBlockName); +o glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* const* uniformNames, GLuint* uniformIndices); +o glGetVertexAttribIiv (GLuint index, GLenum pname, GLint* params); +o glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint* params); ----------------------------------------------- Transforms & Fragment API functions ----------------------------------------------- ES2 -x glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -o glBlendEquation (GLenum mode); -o glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); -o glBlendFunc (GLenum sfactor, GLenum dfactor); -o glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -x glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -o glDepthFunc (GLenum func); -x glDepthMask (GLboolean flag); -x glDepthRangef (GLclampf zNear, GLclampf zFar); -x glSampleCoverage (GLclampf value, GLboolean invert); -o glScissor (GLint x, GLint y, GLsizei width, GLsizei height); -o glStencilFunc (GLenum func, GLint ref, GLuint mask); -o glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); -x glStencilMask (GLuint mask); -o glStencilMaskSeparate (GLenum face, GLuint mask); -o glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); -o glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); -o glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +x glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +o glBlendEquation (GLenum mode); +o glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); +o glBlendFunc (GLenum sfactor, GLenum dfactor); +o glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +x glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +o glDepthFunc (GLenum func); +x glDepthMask (GLboolean flag); +x glDepthRangef (GLclampf zNear, GLclampf zFar); +x glSampleCoverage (GLclampf value, GLboolean invert); +o glScissor (GLint x, GLint y, GLsizei width, GLsizei height); +o glStencilFunc (GLenum func, GLint ref, GLuint mask); +o glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); +x glStencilMask (GLuint mask); +o glStencilMaskSeparate (GLenum face, GLuint mask); +o glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); +o glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); +o glViewport (GLint x, GLint y, GLsizei width, GLsizei height); ----------------------------------------------- FBO API functions ----------------------------------------------- ES2 -o glBindFramebuffer (GLenum target, GLuint framebuffer); -o glBindRenderbuffer (GLenum target, GLuint renderbuffer); -o glCheckFramebufferStatus (GLenum target); -o glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers); -o glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers); -o glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -o glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -o glGenFramebuffers (GLsizei n, GLuint* framebuffers); -o glGenRenderbuffers (GLsizei n, GLuint* renderbuffers); -o glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +o glBindFramebuffer (GLenum target, GLuint framebuffer); +o glBindRenderbuffer (GLenum target, GLuint renderbuffer); +o glCheckFramebufferStatus (GLenum target); +o glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers); +o glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers); +o glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +o glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +o glGenFramebuffers (GLsizei n, GLuint* framebuffers); +o glGenRenderbuffers (GLsizei n, GLuint* renderbuffers); +o glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); ES3 -o glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -o glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -o glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum* attachments); -o glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height); -o glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +o glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +o glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +o glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum* attachments); +o glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height); +o glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); ----------------------------------------------- Buffer and Buffer Object API functions ----------------------------------------------- ES2 -o glBindBuffer (GLenum target, GLuint buffer); -o glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); -o glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); -o glClear (GLbitfield mask); -x glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -x glClearDepthf (GLclampf depth); -x glClearStencil (GLint s); -o glDeleteBuffers (GLsizei n, const GLuint* buffers); -o glGenBuffers (GLsizei n, GLuint* buffers); -o glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); +o glBindBuffer (GLenum target, GLuint buffer); +o glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); +o glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); +o glClear (GLbitfield mask); +x glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +x glClearDepthf (GLclampf depth); +x glClearStencil (GLint s); +o glDeleteBuffers (GLsizei n, const GLuint* buffers); +o glGenBuffers (GLsizei n, GLuint* buffers); +o glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); ES3 -o glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -o glBindBufferBase (GLenum target, GLuint index, GLuint buffer); -o glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint* value); -o glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint* value); -o glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat* value); -o glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -o glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -o glDrawBuffers (GLsizei n, const GLenum* bufs); -o glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); -o glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -o glReadBuffer (GLenum mode); -o glUnmapBuffer (GLenum target); +o glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +o glBindBufferBase (GLenum target, GLuint index, GLuint buffer); +o glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint* value); +o glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint* value); +o glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat* value); +o glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); +o glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +o glDrawBuffers (GLsizei n, const GLenum* bufs); +o glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); +o glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +o glReadBuffer (GLenum mode); +o glUnmapBuffer (GLenum target); ----------------------------------------------- Shader API functions ----------------------------------------------- ES2 -o glBindAttribLocation (GLuint program, GLuint index, const GLchar* name); -o glAttachShader (GLuint program, GLuint shader); -o glCreateShader (GLenum type); -o glCompileShader (GLuint shader); -x glCreateProgram (void); -o glDeleteProgram (GLuint program); -o glDeleteShader (GLuint shader); -o glDetachShader (GLuint program, GLuint shader); -o glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); -o glGetAttribLocation (GLuint program, const GLchar* name); -o glGetUniformLocation (GLuint program, const GLchar* name); -o glLinkProgram (GLuint program); -x glReleaseShaderCompiler (void); -o glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); -o glShaderSource (GLuint shader, GLsizei count, const GLchar** string, const GLint* length); -o glUniform1f (GLint location, GLfloat x); +o glBindAttribLocation (GLuint program, GLuint index, const GLchar* name); +o glAttachShader (GLuint program, GLuint shader); +o glCreateShader (GLenum type); +o glCompileShader (GLuint shader); +x glCreateProgram (void); +o glDeleteProgram (GLuint program); +o glDeleteShader (GLuint shader); +o glDetachShader (GLuint program, GLuint shader); +o glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); +o glGetAttribLocation (GLuint program, const GLchar* name); +o glGetUniformLocation (GLuint program, const GLchar* name); +o glLinkProgram (GLuint program); +x glReleaseShaderCompiler (void); +o glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); +o glShaderSource (GLuint shader, GLsizei count, const GLchar** string, const GLint* length); +o glUniform1f (GLint location, GLfloat x); o glUniform1fv (GLint location, GLsizei count, const GLfloat* v); -o glUniform1i (GLint location, GLint x); +o glUniform1i (GLint location, GLint x); o glUniform1iv (GLint location, GLsizei count, const GLint* v); -o glUniform2f (GLint location, GLfloat x, GLfloat y); +o glUniform2f (GLint location, GLfloat x, GLfloat y); o glUniform2fv (GLint location, GLsizei count, const GLfloat* v); -o glUniform2i (GLint location, GLint x, GLint y); +o glUniform2i (GLint location, GLint x, GLint y); o glUniform2iv (GLint location, GLsizei count, const GLint* v); -o glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z); +o glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z); o glUniform3fv (GLint location, GLsizei count, const GLfloat* v); -o glUniform3i (GLint location, GLint x, GLint y, GLint z); +o glUniform3i (GLint location, GLint x, GLint y, GLint z); o glUniform3iv (GLint location, GLsizei count, const GLint* v); -o glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +o glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); o glUniform4fv (GLint location, GLsizei count, const GLfloat* v); -o glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w); -o glUniform4iv (GLint location, GLsizei count, const GLint* v); -o glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUseProgram (GLuint program); -o glValidateProgram (GLuint program); +o glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w); +o glUniform4iv (GLint location, GLsizei count, const GLint* v); +o glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUseProgram (GLuint program); +o glValidateProgram (GLuint program); ES3 -o glBindSampler (GLuint unit, GLuint sampler); -o glDeleteSamplers (GLsizei count, const GLuint* samplers); -o glGenSamplers (GLsizei count, GLuint* samplers); -o glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary); -o glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint* params); -o glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat* params); -o glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid* binary, GLsizei length); -o glProgramParameteri (GLuint program, GLenum pname, GLint value); -o glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); -o glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint* param); -o glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); -o glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat* param); -o glUniform1ui (GLint location, GLuint v0); -o glUniform2ui (GLint location, GLuint v0, GLuint v1); -o glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); -o glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -o glUniform1uiv (GLint location, GLsizei count, const GLuint* value); -o glUniform2uiv (GLint location, GLsizei count, const GLuint* value); -o glUniform3uiv (GLint location, GLsizei count, const GLuint* value); -o glUniform4uiv (GLint location, GLsizei count, const GLuint* value); -o glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -o glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); -o glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glBindSampler (GLuint unit, GLuint sampler); +o glDeleteSamplers (GLsizei count, const GLuint* samplers); +o glGenSamplers (GLsizei count, GLuint* samplers); +o glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei* length, GLenum* binaryFormat, GLvoid* binary); +o glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint* params); +o glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat* params); +o glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid* binary, GLsizei length); +o glProgramParameteri (GLuint program, GLenum pname, GLint value); +o glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); +o glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint* param); +o glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); +o glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat* param); +o glUniform1ui (GLint location, GLuint v0); +o glUniform2ui (GLint location, GLuint v0, GLuint v1); +o glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); +o glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +o glUniform1uiv (GLint location, GLsizei count, const GLuint* value); +o glUniform2uiv (GLint location, GLsizei count, const GLuint* value); +o glUniform3uiv (GLint location, GLsizei count, const GLuint* value); +o glUniform4uiv (GLint location, GLsizei count, const GLuint* value); +o glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); +o glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +o glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); ----------------------------------------------- Texture API functions ----------------------------------------------- ES2 -o glActiveTexture (GLenum texture); -o glBindTexture (GLenum target, GLuint texture); -o glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); +o glActiveTexture (GLenum texture); +o glBindTexture (GLenum target, GLuint texture); +o glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); o glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); -o glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -o glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -o glDeleteTextures (GLsizei n, const GLuint* textures); -o glGenerateMipmap (GLenum target); -o glGenTextures (GLsizei n, GLuint* textures); -o glPixelStorei (GLenum pname, GLint param); -o glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); -o glTexParameterf (GLenum target, GLenum pname, GLfloat param); -o glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params); -o glTexParameteri (GLenum target, GLenum pname, GLint param); +o glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +o glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +o glDeleteTextures (GLsizei n, const GLuint* textures); +o glGenerateMipmap (GLenum target); +o glGenTextures (GLsizei n, GLuint* textures); +o glPixelStorei (GLenum pname, GLint param); +o glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); +o glTexParameterf (GLenum target, GLenum pname, GLfloat param); +o glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params); +o glTexParameteri (GLenum target, GLenum pname, GLint param); o glTexParameteriv (GLenum target, GLenum pname, const GLint* params); -o glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); +o glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); ES3 -o glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -o glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); +o glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +o glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); o glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); -o glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); -o glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -o glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -o glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); +o glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); +o glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +o glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +o glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); ----------------------------------------------- Vertex Array API functions ----------------------------------------------- ES2 -o glDisableVertexAttribArray (GLuint index); -o glDrawArrays (GLenum mode, GLint first, GLsizei count); -o glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); -o glEnableVertexAttribArray (GLuint index); -o glVertexAttrib1f (GLuint indx, GLfloat x); +o glDisableVertexAttribArray (GLuint index); +o glDrawArrays (GLenum mode, GLint first, GLsizei count); +o glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); +o glEnableVertexAttribArray (GLuint index); +o glVertexAttrib1f (GLuint indx, GLfloat x); o glVertexAttrib1fv (GLuint indx, const GLfloat* values); -o glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y); +o glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y); o glVertexAttrib2fv (GLuint indx, const GLfloat* values); -o glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z); +o glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z); o glVertexAttrib3fv (GLuint indx, const GLfloat* values); -o glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +o glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); o glVertexAttrib4fv (GLuint indx, const GLfloat* values); -o glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr); +o glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr); ES3 -o glBindVertexArray (GLuint array); -o glDeleteVertexArrays (GLsizei n, const GLuint* arrays); -o glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instanceCount); -o glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei instanceCount); -o glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices); -o glGenVertexArrays (GLsizei n, GLuint* arrays); -o glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer); -o glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); -o glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -o glVertexAttribI4iv (GLuint index, const GLint* v); -o glVertexAttribI4uiv (GLuint index, const GLuint* v); -o glVertexAttribDivisor (GLuint index, GLuint divisor); +o glBindVertexArray (GLuint array); +o glDeleteVertexArrays (GLsizei n, const GLuint* arrays); +o glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instanceCount); +o glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei instanceCount); +o glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices); +o glGenVertexArrays (GLsizei n, GLuint* arrays); +o glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer); +o glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); +o glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +o glVertexAttribI4iv (GLuint index, const GLint* v); +o glVertexAttribI4uiv (GLuint index, const GLuint* v); +o glVertexAttribDivisor (GLuint index, GLuint divisor); ----------------------------------------------- Rasterization API functions ----------------------------------------------- ES2 -o glCullFace (GLenum mode); -o glFrontFace (GLenum mode); -o glLineWidth (GLfloat width); +o glCullFace (GLenum mode); +o glFrontFace (GLenum mode); +o glLineWidth (GLfloat width); x glPolygonOffset (GLfloat factor, GLfloat units); ----------------------------------------------- @@ -343,16 +343,16 @@ x glPolygonOffset (GLfloat factor, GLfloat units); ----------------------------------------------- ES2 -o glIsBuffer (GLuint buffer); -o glIsFramebuffer (GLuint framebuffer); -o glIsProgram (GLuint program); -o glIsRenderbuffer (GLuint renderbuffer); -o glIsShader (GLuint shader); -o glIsTexture (GLuint texture); +o glIsBuffer (GLuint buffer); +o glIsFramebuffer (GLuint framebuffer); +o glIsProgram (GLuint program); +o glIsRenderbuffer (GLuint renderbuffer); +o glIsShader (GLuint shader); +o glIsTexture (GLuint texture); ES3 -o glIsQuery (GLuint id); -o glIsSampler (GLuint sampler); -o glIsSync (GLsync sync); +o glIsQuery (GLuint id); +o glIsSampler (GLuint sampler); +o glIsSync (GLsync sync); o glIsTransformFeedback (GLuint id); o glIsVertexArray (GLuint array); diff --git a/doc/testspecs/GL3/stress.conditional_render.txt b/doc/testspecs/GL3/stress.conditional_render.txt index d2dcb69..666b54e 100644 --- a/doc/testspecs/GL3/stress.conditional_render.txt +++ b/doc/testspecs/GL3/stress.conditional_render.txt @@ -50,4 +50,4 @@ Distant query tests have maximal screen distance between the query geometry and the rendering the query controls. The setup is equivalent to the call count cases with the exception of the distribution of the primitives rendered. Occlusion query geometry is roughly on the opposing edge of the screen as the -geometry it controls. All edges have occluders. \ No newline at end of file +geometry it controls. All edges have occluders. diff --git a/doc/testspecs/VK/sparse_resources.txt b/doc/testspecs/VK/sparse_resources.txt index f502556..e2a45d0 100644 --- a/doc/testspecs/VK/sparse_resources.txt +++ b/doc/testspecs/VK/sparse_resources.txt @@ -20,16 +20,16 @@ Description: 1. Test fully resident buffer created with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit The test creates buffer object with VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bit. The size of the buffer is one -of the test parameters. The memory requirements of the buffer are being checked. Device memory is allocated +of the test parameters. The memory requirements of the buffer are being checked. Device memory is allocated in chunks equal to the alignment parameter of buffer's memory requirements. The number of allocations is equal to bufferRequirements.size / bufferRequirements.alignment. The test creates two queues - one supporting sparse binding operations, the second one supporting compute and transfer operations. -First queue is used to perform binding of device memory to sparse buffer. The binding operation signals semaphore +First queue is used to perform binding of device memory to sparse buffer. The binding operation signals semaphore used for synchronization. -The second queue is used to perform transfer operations. The test creates two non-sparse buffer objects, +The second queue is used to perform transfer operations. The test creates two non-sparse buffer objects, one used as input and the second as output. The input buffer is used to transfer data to sparse buffer. The data is then transfered further from sparse buffer to output buffer. The transer queue waits on a semaphore, before transfer operations can be issued. @@ -39,16 +39,16 @@ that was originally sent to input buffer. If the two data sets match, the test p 2. Test fully resident image created with VK_IMAGE_CREATE_SPARSE_BINDING_BIT flag bit -The test checks all supported types of images. It creates image with VK_IMAGE_CREATE_SPARSE_BINDING_BIT flag bit. -The memory requirements of the image are being checked. Device memory is allocated in chunks equal to the alignment parameter +The test checks all supported types of images. It creates image with VK_IMAGE_CREATE_SPARSE_BINDING_BIT flag bit. +The memory requirements of the image are being checked. Device memory is allocated in chunks equal to the alignment parameter of the image memory requirements. The number of allocations is equal to imageRequirements.size / imageRequirements.alignment. The test creates two queues - one supporting sparse binding operations, the second one supporting compute and transfer operations. -First queue is used to perform binding of device memory to sparse image. The binding operation signals semaphore +First queue is used to perform binding of device memory to sparse image. The binding operation signals semaphore used for synchronization. -The second queue is used to perform transfer operations. The test creates two non-sparse buffer objects, +The second queue is used to perform transfer operations. The test creates two non-sparse buffer objects, one used as input and the second as output. The input buffer is used to transfer data to sparse image. The data is then transfered further from sparse image to output buffer. The transfer queue waits on a semaphore, before transfer operations can be issued. @@ -59,38 +59,38 @@ that was originally sent to input buffer. If the two data sets match, the test p 3. Test partially resident buffer created with VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT flag bit The test creates buffer object with VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT flag bit. The size of the buffer is one -of the test parameters. The sparse memory requirements of the buffer are being checked. Device memory is allocated +of the test parameters. The sparse memory requirements of the buffer are being checked. Device memory is allocated in chunks equal to the alignment parameter of buffer's memory requirements. Memory is bound to the buffer object leaving gaps between bound blocks with the size equal to alignment. The test creates two queues - one supporting sparse binding operations, the second one supporting compute and transfer operations. -First queue is used to perform binding of device memory to sparse buffer. The binding operation signals semaphore +First queue is used to perform binding of device memory to sparse buffer. The binding operation signals semaphore used for synchronization. -The second queue is used to perform compute and transfer operations. A compute shader is invoked to fill the whole buffer with data. +The second queue is used to perform compute and transfer operations. A compute shader is invoked to fill the whole buffer with data. Afterwards the data is transfered from sparse buffer to non-sparse output buffer. -The validation part retrieves data back from output buffer to host memory. The data is compared against the expected output +The validation part retrieves data back from output buffer to host memory. The data is compared against the expected output from compute shader. For parts of the data that correspond to the regions of sparse buffer that have device memory bound, the comparison is done -against expected output from compute shader. For parts that correspond to gaps, the data is random or should be filled with zeros if +against expected output from compute shader. For parts that correspond to gaps, the data is random or should be filled with zeros if residencyNonResidentStrict device sparse property is set to TRUE. 4. Test partially resident image created with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT flag bit -The test creates image with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT flag bit. The sparse memory requirements of the image are being checked. -Device memory is allocated in chunks equal to the alignment parameter of image's memory requirements. +The test creates image with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT flag bit. The sparse memory requirements of the image are being checked. +Device memory is allocated in chunks equal to the alignment parameter of image's memory requirements. Memory is bound to the image leaving gaps between bound blocks with the size equal to alignment. The test creates two queues - one supporting sparse binding operations, the second one supporting compute and transfer operations. -First queue is used to perform binding of device memory to sparse image. The binding operation signals semaphore +First queue is used to perform binding of device memory to sparse image. The binding operation signals semaphore used for synchronization. -The second queue is used to perform compute and transfer operations. A compute shader is invoked to fill the whole image with data. +The second queue is used to perform compute and transfer operations. A compute shader is invoked to fill the whole image with data. Afterwards the data is transfered from sparse image to non-sparse output buffer. -The validation part retrieves data back from output buffer to host memory. The data is compared against the expected output +The validation part retrieves data back from output buffer to host memory. The data is compared against the expected output from compute shader. For parts of the data that correspond to the regions of image that have device memory bound, the comparison is done against expected output from compute shader. For parts that correspond to gaps, the data is random or should be filled with zeros if residencyNonResidentStrict device sparse property is set to TRUE. @@ -103,12 +103,12 @@ binding for each mipmap level or one binding for all levels, depending on the va A compute shader is invoked to fill each mipmap level with data. Afterwards the data is transfered to a non-sparse buffer object. -The validation part retrieves data back from output buffer to host memory. The data is compared against the expected output +The validation part retrieves data back from output buffer to host memory. The data is compared against the expected output from compute shader. The test passes if the data sets are equal. 6. Test memory aliasing for fully resident buffer objects -The test creates two fully resident buffers (READ and WRITE) with VK_BUFFER_CREATE_SPARSE_ALIASED_BIT +The test creates two fully resident buffers (READ and WRITE) with VK_BUFFER_CREATE_SPARSE_ALIASED_BIT and VK_BUFFER_CREATE_SPARSE_BINDING_BIT flag bits. Both buffers have the same size. The test creates two queues - one supporting sparse binding operations, the second one supporting compute and transfer operations. @@ -144,9 +144,9 @@ the comparison results in both data sets being the same. 8. Test OpImageSparse* shader intrinsics -The test creates sparse partially resident image. The memory is bound to the image every second mipmap level. +The test creates sparse partially resident image. The memory is bound to the image every second mipmap level. -The test creates also a second non-sparse texels image with the same dimensions and format as the sparse one and +The test creates also a second non-sparse texels image with the same dimensions and format as the sparse one and a third residency image with the same dimensions as the sparse one and unsigned int format. For OpImageSparse* opcodes that are fed with float image coordinates the test creates a graphics queue, otherwise a compute queue is created. @@ -156,5 +156,5 @@ the data is copied via image load/store. Data is retreived from the non-sparse images back to the CPU. Contents of the texels image are compared against the data originaly sent to the sparse image. For mipmap levels of the sparse image that do not have backing device memory, the fetched data is compared against zeroed memory if residencyNonResidentStrict is set to VK_TRUE, -otherwise comparion for those mipmap levels is ommited. The data fetched from the residency image is checked, if for each mipmap level the OpImageSparseTexelsResident +otherwise comparion for those mipmap levels is ommited. The data fetched from the residency image is checked, if for each mipmap level the OpImageSparseTexelsResident returned correct residency information. diff --git a/framework/delibs/cmake/toolchain-android-r10e.cmake b/framework/delibs/cmake/toolchain-android-r10e.cmake index dbba207..0ad9844 100644 --- a/framework/delibs/cmake/toolchain-android-r10e.cmake +++ b/framework/delibs/cmake/toolchain-android-r10e.cmake @@ -110,7 +110,7 @@ endif () # C++ library if (ANDROID_ABI STREQUAL "x86") # Use gnu-libstc++, since libc++ is currently broken on x86, bug #22124988 - set(ANDROID_CXX_LIBRARY "${ANDROID_NDK_PATH}/sources/cxx-stl/gnu-libstdc++/4.9/libs/${ANDROID_ABI}/libgnustl_static.a") + set(ANDROID_CXX_LIBRARY "${ANDROID_NDK_PATH}/sources/cxx-stl/gnu-libstdc++/4.9/libs/${ANDROID_ABI}/libgnustl_static.a") set(CXX_INCLUDES "-I${ANDROID_NDK_PATH}/sources/cxx-stl/gnu-libstdc++/4.9/include -I${ANDROID_NDK_PATH}/sources/cxx-stl/gnu-libstdc++/4.9/libs/${ANDROID_ABI}/include") set(CMAKE_FIND_ROOT_PATH "${ANDROID_NDK_PATH}/sources/cxx-stl/gnu-libstdc++/4.9/libs/${ANDROID_ABI}" ${CMAKE_FIND_ROOT_PATH}) else () diff --git a/framework/delibs/cmake/toolchain-symbian-gcce.cmake b/framework/delibs/cmake/toolchain-symbian-gcce.cmake index 59ab46e..f9a2944 100644 --- a/framework/delibs/cmake/toolchain-symbian-gcce.cmake +++ b/framework/delibs/cmake/toolchain-symbian-gcce.cmake @@ -37,7 +37,7 @@ set(CROSS_COMPILER_PREFIX "${ARM_CC_BASE}/bin/arm-none-symbianelf-" CACHE STRING # CMAKE compiler executables set(CMAKE_C_COMPILER "${CROSS_COMPILER_PREFIX}gcc.exe") set(CMAKE_CXX_COMPILER "${CROSS_COMPILER_PREFIX}g++.exe") -set(CMAKE_LINKER "${CROSS_COMPILER_PREFIX}ld.exe") +set(CMAKE_LINKER "${CROSS_COMPILER_PREFIX}ld.exe") # Some shortcut variables for later use. See CFlags.cmake # TODO: Should these be in CFlags.cmake instead? diff --git a/framework/delibs/coding_guidelines/de-coding-guidelines.html b/framework/delibs/coding_guidelines/de-coding-guidelines.html index 3e716b6..ca8e21b 100644 --- a/framework/delibs/coding_guidelines/de-coding-guidelines.html +++ b/framework/delibs/coding_guidelines/de-coding-guidelines.html @@ -9,7 +9,7 @@ margin-top: 50px; margin-left: auto; margin-right: auto; - border: 1px solid silver; + border: 1px solid silver; background-color: #eee; } diff --git a/modules/gles2/scripts/gen-conversions.py b/modules/gles2/scripts/gen-conversions.py index cffcffe..2cc50a3 100644 --- a/modules/gles2/scripts/gen-conversions.py +++ b/modules/gles2/scripts/gen-conversions.py @@ -328,10 +328,10 @@ allConversionCases.append(CaseGroup("matrix_to_matrix", "Matrix to Matrix Conver genConversionCases([inMat4, inMat3, inMat2], [toMat4, toMat3, toMat2]))) # Vector-from-components, matrix-from-components. -in2Comp = [[inFloat, inFloat], [inInt, inInt], [inBool, inBool], [inFloat, inInt], [inFloat, inBool], [inInt, inBool]] -in3Comp = [[inFloat, inFloat, inFloat], [inInt, inInt, inInt], [inBool, inBool, inBool], [inBool, inFloat, inInt], [inVec2, inBool], [inBVec2, inFloat], [inBVec2, inInt], [inBool, inIVec2]] -in4Comp = [[inVec2, inVec2], [inBVec2, inBVec2], [inFloat, inFloat, inFloat, inFloat], [inInt, inInt, inInt, inInt], [inBool, inBool, inBool, inBool], [inBool, inFloat, inInt, inBool], [inVec2, inIVec2], [inVec2, inBVec2], [inBVec3, inFloat], [inVec3, inFloat], [inInt, inIVec2, inInt], [inBool, inFloat, inIVec2]] -in9Comp = [[inVec3, inVec3, inVec3], [inIVec3, inIVec3, inIVec3], [inVec2, inIVec2, inFloat, inFloat, inInt, inBool, inBool], [inBool, inFloat, inInt, inVec2, inBool, inBVec2, inFloat], [inBool, inBVec2, inInt, inVec4, inBool], [inFloat, inBVec4, inIVec2, inBool, inBool]] +in2Comp = [[inFloat, inFloat], [inInt, inInt], [inBool, inBool], [inFloat, inInt], [inFloat, inBool], [inInt, inBool]] +in3Comp = [[inFloat, inFloat, inFloat], [inInt, inInt, inInt], [inBool, inBool, inBool], [inBool, inFloat, inInt], [inVec2, inBool], [inBVec2, inFloat], [inBVec2, inInt], [inBool, inIVec2]] +in4Comp = [[inVec2, inVec2], [inBVec2, inBVec2], [inFloat, inFloat, inFloat, inFloat], [inInt, inInt, inInt, inInt], [inBool, inBool, inBool, inBool], [inBool, inFloat, inInt, inBool], [inVec2, inIVec2], [inVec2, inBVec2], [inBVec3, inFloat], [inVec3, inFloat], [inInt, inIVec2, inInt], [inBool, inFloat, inIVec2]] +in9Comp = [[inVec3, inVec3, inVec3], [inIVec3, inIVec3, inIVec3], [inVec2, inIVec2, inFloat, inFloat, inInt, inBool, inBool], [inBool, inFloat, inInt, inVec2, inBool, inBVec2, inFloat], [inBool, inBVec2, inInt, inVec4, inBool], [inFloat, inBVec4, inIVec2, inBool, inBool]] in16Comp = [[inVec4, inVec4, inVec4, inVec4], [inIVec4, inIVec4, inIVec4, inIVec4], [inBVec4, inBVec4, inBVec4, inBVec4], [inFloat, inIVec3, inBVec3, inVec4, inIVec2, inFloat, inVec2]] allConversionCases.append(CaseGroup("vector_combine", "Vector Combine Constructors", diff --git a/modules/gles2/scripts/gen-keywords.py b/modules/gles2/scripts/gen-keywords.py index 3faf836..d28adec 100644 --- a/modules/gles2/scripts/gen-keywords.py +++ b/modules/gles2/scripts/gen-keywords.py @@ -51,11 +51,11 @@ end class IdentifierCase(ShaderCase): def __init__(self, name, identifier): - self.name = name + self.name = name self.identifier = identifier def __str__(self): - params = { "NAME" : self.name, + params = { "NAME" : self.name, "IDENTIFIER" : self.identifier } return fillTemplate(identifierCaseTemplate, params) @@ -80,33 +80,33 @@ RESERVED_KEYWORDS = [ ] INVALID_IDENTIFIERS = [ - ("two_underscores_begin", "__invalid"), - ("two_underscores_middle", "in__valid"), + ("two_underscores_begin", "__invalid"), + ("two_underscores_middle", "in__valid"), ("two_underscores_end", "invalid__"), - ("gl_begin", "gl_Invalid"), - ("digit", "0123"), + ("gl_begin", "gl_Invalid"), + ("digit", "0123"), ("digit_begin", "0invalid") ] # Keyword usage -keywords = [] -reservedKeywords = [] -invalidIdentifiers = [] +keywords = [] +reservedKeywords = [] +invalidIdentifiers = [] for keyword in KEYWORDS: - keywords.append(IdentifierCase(keyword, keyword)) # Keywords + keywords.append(IdentifierCase(keyword, keyword)) # Keywords for keyword in RESERVED_KEYWORDS: - reservedKeywords.append(IdentifierCase(keyword, keyword)) # Reserved keywords + reservedKeywords.append(IdentifierCase(keyword, keyword)) # Reserved keywords for (name, identifier) in INVALID_IDENTIFIERS: invalidIdentifiers.append(IdentifierCase(name, identifier)) # Invalid identifiers keywordCases = [ - CaseGroup("keywords", "Usage of keywords as identifiers.", keywords), - CaseGroup("reserved_keywords", "Usage of reserved keywords as identifiers.", reservedKeywords), - CaseGroup("invalid_identifiers", "Usage of invalid identifiers.", invalidIdentifiers) + CaseGroup("keywords", "Usage of keywords as identifiers.", keywords), + CaseGroup("reserved_keywords", "Usage of reserved keywords as identifiers.", reservedKeywords), + CaseGroup("invalid_identifiers", "Usage of invalid identifiers.", invalidIdentifiers) ] # Main program diff --git a/modules/gles2/scripts/gen-qualification_order.py b/modules/gles2/scripts/gen-qualification_order.py index d35d056..a0d2f78 100644 --- a/modules/gles2/scripts/gen-qualification_order.py +++ b/modules/gles2/scripts/gen-qualification_order.py @@ -119,10 +119,10 @@ class DeclarationCase(ShaderCase): var1 += 'float x1;\n' var2 += 'float x2;' - self.variableVtx = (var0 + var1 + var2).strip() - self.variableFrg = (var0 + var1).strip() # Omit 'attribute' in frag shader - self.variableVtx = self.variableVtx.replace(" ", " ") - self.variableFrg = self.variableFrg.replace(" ", " ") + self.variableVtx = (var0 + var1 + var2).strip() + self.variableFrg = (var0 + var1).strip() # Omit 'attribute' in frag shader + self.variableVtx = self.variableVtx.replace(" ", " ") + self.variableFrg = self.variableFrg.replace(" ", " ") def __str__(self): params = { @@ -171,13 +171,13 @@ class ParameterCase(ShaderCase): CaseFormat = namedtuple('CaseFormat', 'name vars') -DECL_INVARIANT = CaseFormat("invariant", ["invariant", "", ""]) -DECL_STORAGE = CaseFormat("storage", ["varying", "uniform", "attribute"]) -DECL_PRECISION = CaseFormat("precision", ["lowp", "mediump", "mediump"]) +DECL_INVARIANT = CaseFormat("invariant", ["invariant", "", ""]) +DECL_STORAGE = CaseFormat("storage", ["varying", "uniform", "attribute"]) +DECL_PRECISION = CaseFormat("precision", ["lowp", "mediump", "mediump"]) -PARAM_STORAGE = CaseFormat("storage", [ "const", "", ""]) -PARAM_PARAMETER = CaseFormat("parameter", [ "in", "out", "inout" ]) -PARAM_PRECISION = CaseFormat("precision", [ "lowp", "mediump", "mediump" ]) +PARAM_STORAGE = CaseFormat("storage", [ "const", "", ""]) +PARAM_PARAMETER = CaseFormat("parameter", [ "in", "out", "inout" ]) +PARAM_PRECISION = CaseFormat("precision", [ "lowp", "mediump", "mediump" ]) # Order of qualification tests @@ -215,12 +215,12 @@ for f in paramFormats: qualificationOrderCases = [ CaseGroup("variables", "Order of qualification in variable declarations.", children = [ - CaseGroup("valid", "Valid orderings.", validDeclarationCases), - CaseGroup("invalid", "Invalid orderings.", invalidDeclarationCases) + CaseGroup("valid", "Valid orderings.", validDeclarationCases), + CaseGroup("invalid", "Invalid orderings.", invalidDeclarationCases) ]), CaseGroup("parameters", "Order of qualification in function parameters.", children = [ - CaseGroup("valid", "Valid orderings.", validParameterCases), - CaseGroup("invalid", "Invalid orderings.", invalidParameterCases) + CaseGroup("valid", "Valid orderings.", validParameterCases), + CaseGroup("invalid", "Invalid orderings.", invalidParameterCases) ]) ] diff --git a/modules/gles2/scripts/gen-reserved_operators.py b/modules/gles2/scripts/gen-reserved_operators.py index 4b3fc18..2b10b7d 100644 --- a/modules/gles2/scripts/gen-reserved_operators.py +++ b/modules/gles2/scripts/gen-reserved_operators.py @@ -51,11 +51,11 @@ end class ReservedOperatorCase(ShaderCase): def __init__(self, op): - self.name = op.name + self.name = op.name if op.operator == "~": self.operation = 'value = ~value;' else: - self.operation = 'value ' + op.operator + ' 1;' + self.operation = 'value ' + op.operator + ' 1;' def __str__(self): params = { @@ -67,8 +67,8 @@ class ReservedOperatorCase(ShaderCase): class Operator(): def __init__(self, operator, name): - self.operator = operator - self.name = name + self.operator = operator + self.name = name # Declarations @@ -93,10 +93,10 @@ RESERVED_OPERATORS = [ reservedOperatorCases = [] for operator in RESERVED_OPERATORS: - reservedOperatorCases.append(ReservedOperatorCase(operator)) # Reserved operators + reservedOperatorCases.append(ReservedOperatorCase(operator)) # Reserved operators # Main program if __name__ == "__main__": print "Generating shader case files." - writeAllCases("reserved_operators.test", reservedOperatorCases) \ No newline at end of file + writeAllCases("reserved_operators.test", reservedOperatorCases) diff --git a/modules/gles3/scripts/gen-conversions.py b/modules/gles3/scripts/gen-conversions.py index fa1e90b..573454b 100644 --- a/modules/gles3/scripts/gen-conversions.py +++ b/modules/gles3/scripts/gen-conversions.py @@ -360,13 +360,13 @@ allConversionCases.append(CaseGroup("matrix_to_matrix", "Matrix to Matrix Conver genConversionCases([inMat4, inMat4x3, inMat4x2, inMat3x4, inMat3, inMat3x2, inMat2x4, inMat2x3, inMat2], [toMat4, toMat4x3, toMat4x2, toMat3x4, toMat3, toMat3x2, toMat2x4, toMat2x3, toMat2]))) # Vector-from-components, matrix-from-components. -in2Comp = [[inFloat, inFloat], [inInt, inInt], [inUint, inUint], [inBool, inBool], [inFloat, inInt], [inFloat, inBool], [inInt, inBool], [inInt, inUint], [inUint, inFloat]] -in3Comp = [[inFloat, inFloat, inFloat], [inInt, inInt, inInt], [inUint, inUint, inUint], [inBool, inBool, inBool], [inBool, inFloat, inInt], [inVec2, inBool], [inBVec2, inFloat], [inBVec2, inInt], [inBool, inIVec2], [inFloat, inUVec2]] -in4Comp = [[inVec2, inVec2], [inBVec2, inBVec2], [inFloat, inFloat, inFloat, inFloat], [inInt, inInt, inInt, inInt], [inUint, inUint, inUint, inUint], [inBool, inBool, inBool, inBool], [inBool, inFloat, inInt, inBool], [inVec2, inIVec2], [inVec2, inBVec2], [inBVec3, inFloat], [inVec3, inFloat], [inInt, inIVec2, inInt], [inBool, inFloat, inIVec2], [inFloat, inUVec3], [inInt, inUVec2, inBool]] -in6Comp = [[inVec3, inVec3], [inBVec3, inBVec3], [inFloat, inFloat, inFloat, inFloat, inFloat, inFloat], [inInt, inInt, inInt, inInt, inInt, inInt], [inBool, inBool, inBool, inBool, inBool, inBool], [inBool, inFloat, inInt, inBool, inFloat, inInt], [inVec3, inIVec3], [inVec2, inBVec4], [inBVec3, inFloat, inIVec2], [inVec3, inFloat, inBVec2]] -in8Comp = [[inVec3, inVec3, inVec2], [inIVec3, inIVec3, inIVec2], [inVec2, inIVec2, inFloat, inFloat, inInt, inBool], [inBool, inFloat, inInt, inVec2, inBool, inBVec2], [inBool, inBVec2, inInt, inVec4], [inFloat, inBVec4, inIVec2, inBool]] -in9Comp = [[inVec3, inVec3, inVec3], [inIVec3, inIVec3, inIVec3], [inVec2, inIVec2, inFloat, inFloat, inInt, inBool, inBool], [inBool, inFloat, inInt, inVec2, inBool, inBVec2, inFloat], [inBool, inBVec2, inInt, inVec4, inBool], [inFloat, inBVec4, inIVec2, inBool, inBool]] -in12Comp = [[inVec4, inVec4, inVec4], [inIVec4, inIVec4, inIVec4], [inVec2, inIVec2, inFloat, inFloat, inFloat, inInt, inInt, inBool, inBool, inBool], [inBool, inFloat, inInt, inVec3, inBool, inBVec3, inFloat, inBool], [inBool, inBVec4, inInt, inVec4, inBool, inFloat], [inFloat, inBVec4, inIVec4, inBool, inBool, inInt]] +in2Comp = [[inFloat, inFloat], [inInt, inInt], [inUint, inUint], [inBool, inBool], [inFloat, inInt], [inFloat, inBool], [inInt, inBool], [inInt, inUint], [inUint, inFloat]] +in3Comp = [[inFloat, inFloat, inFloat], [inInt, inInt, inInt], [inUint, inUint, inUint], [inBool, inBool, inBool], [inBool, inFloat, inInt], [inVec2, inBool], [inBVec2, inFloat], [inBVec2, inInt], [inBool, inIVec2], [inFloat, inUVec2]] +in4Comp = [[inVec2, inVec2], [inBVec2, inBVec2], [inFloat, inFloat, inFloat, inFloat], [inInt, inInt, inInt, inInt], [inUint, inUint, inUint, inUint], [inBool, inBool, inBool, inBool], [inBool, inFloat, inInt, inBool], [inVec2, inIVec2], [inVec2, inBVec2], [inBVec3, inFloat], [inVec3, inFloat], [inInt, inIVec2, inInt], [inBool, inFloat, inIVec2], [inFloat, inUVec3], [inInt, inUVec2, inBool]] +in6Comp = [[inVec3, inVec3], [inBVec3, inBVec3], [inFloat, inFloat, inFloat, inFloat, inFloat, inFloat], [inInt, inInt, inInt, inInt, inInt, inInt], [inBool, inBool, inBool, inBool, inBool, inBool], [inBool, inFloat, inInt, inBool, inFloat, inInt], [inVec3, inIVec3], [inVec2, inBVec4], [inBVec3, inFloat, inIVec2], [inVec3, inFloat, inBVec2]] +in8Comp = [[inVec3, inVec3, inVec2], [inIVec3, inIVec3, inIVec2], [inVec2, inIVec2, inFloat, inFloat, inInt, inBool], [inBool, inFloat, inInt, inVec2, inBool, inBVec2], [inBool, inBVec2, inInt, inVec4], [inFloat, inBVec4, inIVec2, inBool]] +in9Comp = [[inVec3, inVec3, inVec3], [inIVec3, inIVec3, inIVec3], [inVec2, inIVec2, inFloat, inFloat, inInt, inBool, inBool], [inBool, inFloat, inInt, inVec2, inBool, inBVec2, inFloat], [inBool, inBVec2, inInt, inVec4, inBool], [inFloat, inBVec4, inIVec2, inBool, inBool]] +in12Comp = [[inVec4, inVec4, inVec4], [inIVec4, inIVec4, inIVec4], [inVec2, inIVec2, inFloat, inFloat, inFloat, inInt, inInt, inBool, inBool, inBool], [inBool, inFloat, inInt, inVec3, inBool, inBVec3, inFloat, inBool], [inBool, inBVec4, inInt, inVec4, inBool, inFloat], [inFloat, inBVec4, inIVec4, inBool, inBool, inInt]] in16Comp = [[inVec4, inVec4, inVec4, inVec4], [inIVec4, inIVec4, inIVec4, inIVec4], [inBVec4, inBVec4, inBVec4, inBVec4], [inFloat, inIVec3, inBVec3, inVec4, inIVec2, inFloat, inVec2]] allConversionCases.append(CaseGroup("vector_combine", "Vector Combine Constructors", diff --git a/modules/gles3/scripts/gen-keywords.py b/modules/gles3/scripts/gen-keywords.py index 09d486a..07bf0c4 100644 --- a/modules/gles3/scripts/gen-keywords.py +++ b/modules/gles3/scripts/gen-keywords.py @@ -52,11 +52,11 @@ end class IdentifierCase(ShaderCase): def __init__(self, name, identifier): - self.name = name + self.name = name self.identifier = identifier def __str__(self): - params = { "NAME" : self.name, + params = { "NAME" : self.name, "IDENTIFIER" : self.identifier } return fillTemplate(identifierCaseTemplate, params) @@ -93,23 +93,23 @@ RESERVED_KEYWORDS = [ ] INVALID_IDENTIFIERS = [ - ("two_underscores_begin", "__invalid"), - ("two_underscores_middle", "in__valid"), + ("two_underscores_begin", "__invalid"), + ("two_underscores_middle", "in__valid"), ("two_underscores_end", "invalid__"), - ("gl_begin", "gl_Invalid"), - ("digit", "0123"), + ("gl_begin", "gl_Invalid"), + ("digit", "0123"), ("digit_begin", "0invalid"), ("max_length", "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdX"), ] # Keyword usage -keywords = [] -reservedKeywords = [] -invalidIdentifiers = [] +keywords = [] +reservedKeywords = [] +invalidIdentifiers = [] for keyword in KEYWORDS: - keywords.append(IdentifierCase(keyword, keyword)) # Keywords + keywords.append(IdentifierCase(keyword, keyword)) # Keywords for keyword in RESERVED_KEYWORDS: reservedKeywords.append(IdentifierCase(keyword, keyword)) # Reserved keywords @@ -118,9 +118,9 @@ for (name, identifier) in INVALID_IDENTIFIERS: invalidIdentifiers.append(IdentifierCase(name, identifier)) # Invalid identifiers keywordCases = [ - CaseGroup("keywords", "Usage of keywords as identifiers.", keywords), - CaseGroup("reserved_keywords", "Usage of reserved keywords as identifiers.", reservedKeywords), - CaseGroup("invalid_identifiers", "Usage of invalid identifiers.", invalidIdentifiers) + CaseGroup("keywords", "Usage of keywords as identifiers.", keywords), + CaseGroup("reserved_keywords", "Usage of reserved keywords as identifiers.", reservedKeywords), + CaseGroup("invalid_identifiers", "Usage of invalid identifiers.", invalidIdentifiers) ] # Main program diff --git a/modules/gles3/scripts/gen-qualification_order.py b/modules/gles3/scripts/gen-qualification_order.py index a57489a..711f5e8 100644 --- a/modules/gles3/scripts/gen-qualification_order.py +++ b/modules/gles3/scripts/gen-qualification_order.py @@ -186,14 +186,14 @@ class ParameterCase(ShaderCase): CaseFormat = namedtuple('CaseFormat', 'name vars') -DECL_INVARIANT = CaseFormat("invariant", [ "invariant", "", "" ]) -DECL_INTERPOLATION = CaseFormat("interp", [ "smooth", "flat", "" ]) -DECL_STORAGE = CaseFormat("storage", [ "centroid", "anon_centroid", "uniform" ]) -DECL_PRECISION = CaseFormat("precision", [ "lowp", "mediump", "highp" ]) +DECL_INVARIANT = CaseFormat("invariant", [ "invariant", "", "" ]) +DECL_INTERPOLATION = CaseFormat("interp", [ "smooth", "flat", "" ]) +DECL_STORAGE = CaseFormat("storage", [ "centroid", "anon_centroid", "uniform" ]) +DECL_PRECISION = CaseFormat("precision", [ "lowp", "mediump", "highp" ]) -PARAM_STORAGE = CaseFormat("storage", [ "const", "", ""]) -PARAM_PARAMETER = CaseFormat("parameter", [ "in", "out", "inout" ]) -PARAM_PRECISION = CaseFormat("precision", [ "lowp", "mediump", "highp" ]) +PARAM_STORAGE = CaseFormat("storage", [ "const", "", ""]) +PARAM_PARAMETER = CaseFormat("parameter", [ "in", "out", "inout" ]) +PARAM_PRECISION = CaseFormat("precision", [ "lowp", "mediump", "highp" ]) # Order of qualification tests @@ -239,12 +239,12 @@ for f in paramFormats: qualificationOrderCases = [ CaseGroup("variables", "Order of qualification in variable declarations.", children = [ - CaseGroup("valid", "Valid orderings.", validDeclarationCases), - CaseGroup("invalid", "Invalid orderings.", invalidDeclarationCases) + CaseGroup("valid", "Valid orderings.", validDeclarationCases), + CaseGroup("invalid", "Invalid orderings.", invalidDeclarationCases) ]), CaseGroup("parameters", "Order of qualification in function parameters.", children = [ - CaseGroup("valid", "Valid orderings.", validParameterCases), - CaseGroup("invalid", "Invalid orderings.", invalidParameterCases) + CaseGroup("valid", "Valid orderings.", validParameterCases), + CaseGroup("invalid", "Invalid orderings.", invalidParameterCases) ]) ] diff --git a/modules/gles31/scripts/gen-implicit-conversions.py b/modules/gles31/scripts/gen-implicit-conversions.py index c84dd84..009339e 100644 --- a/modules/gles31/scripts/gen-implicit-conversions.py +++ b/modules/gles31/scripts/gen-implicit-conversions.py @@ -276,7 +276,7 @@ VALID_ASSIGNMENTS = { } IN_TYPE_ORDER = [ - "int", "uint", + "int", "uint", "ivec2", "uvec2", "ivec3", "uvec3", "ivec4", "uvec4", diff --git a/scripts/build_android_mustpass.py b/scripts/build_android_mustpass.py index 84da944..24761a5 100644 --- a/scripts/build_android_mustpass.py +++ b/scripts/build_android_mustpass.py @@ -207,7 +207,7 @@ NYC_EGL_PKG = Package(module = EGL_MODULE, configurations = [ rotation = "unspecified", surfacetype = "window", filters = NYC_EGL_COMMON_FILTERS, - runtime = "24m"), + runtime = "24m"), ]) NYC_GLES2_COMMON_FILTERS = [ @@ -220,7 +220,7 @@ NYC_GLES2_PKG = Package(module = GLES2_MODULE, configurations = [ rotation = "unspecified", surfacetype = "window", filters = NYC_GLES2_COMMON_FILTERS, - runtime = "40m"), + runtime = "40m"), ]) NYC_GLES3_COMMON_FILTERS = [ @@ -287,7 +287,7 @@ NYC_GLES31_PKG = Package(module = GLES31_MODULE, configurations = [ rotation = "unspecified", surfacetype = "window", filters = NYC_GLES31_COMMON_FILTERS, - runtime = "7h30m"), + runtime = "7h30m"), # Rotations Configuration(name = "rotate-portrait", @@ -353,7 +353,7 @@ MASTER_EGL_PKG = Package(module = EGL_MODULE, configurations = [ rotation = "unspecified", surfacetype = "window", filters = MASTER_EGL_COMMON_FILTERS, - runtime = "24m"), + runtime = "24m"), ]) MASTER_GLES2_COMMON_FILTERS = [ @@ -368,7 +368,7 @@ MASTER_GLES2_PKG = Package(module = GLES2_MODULE, configurations = [ rotation = "unspecified", surfacetype = "window", filters = MASTER_GLES2_COMMON_FILTERS, - runtime = "40m"), + runtime = "40m"), ]) MASTER_GLES3_COMMON_FILTERS = [ @@ -445,7 +445,7 @@ MASTER_GLES31_PKG = Package(module = GLES31_MODULE, configurations = [ rotation = "unspecified", surfacetype = "window", filters = MASTER_GLES31_COMMON_FILTERS, - runtime = "7h30m"), + runtime = "7h30m"), # Rotations Configuration(name = "rotate-portrait", diff --git a/scripts/caselist_diff.py b/scripts/caselist_diff.py index 6427de0..0730c75 100644 --- a/scripts/caselist_diff.py +++ b/scripts/caselist_diff.py @@ -66,22 +66,22 @@ RENAME_LIST_2011_4_2012_1 = [ ] RENAME_LIST_2012_2_2012_3 = [ - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_float_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_float_float_vertex"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_float_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_float_float_vertex"), ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_float_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_float_float_fragment"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_float_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_float_float_vertex"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_float_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_float_float_fragment"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec2_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec2_float_vertex"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec2_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec2_float_fragment"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec2_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec2_float_vertex"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec2_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec2_float_fragment"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec3_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec3_float_vertex"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec3_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec3_float_fragment"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec3_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec3_float_vertex"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec3_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec3_float_fragment"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec4_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec4_float_vertex"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec4_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec4_float_fragment"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec4_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec4_float_vertex"), - ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec4_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec4_float_fragment"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_float_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_float_float_vertex"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_float_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_float_float_fragment"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec2_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec2_float_vertex"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec2_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec2_float_fragment"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec2_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec2_float_vertex"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec2_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec2_float_fragment"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec3_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec3_float_vertex"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec3_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec3_float_fragment"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec3_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec3_float_vertex"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec3_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec3_float_fragment"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec4_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec4_float_vertex"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec4_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.mediump_vec4_float_fragment"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec4_vertex", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec4_float_vertex"), + ("dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec4_fragment", "dEQP-GLES2.functional.shaders.operator.geometric.refract.highp_vec4_float_fragment"), ("dEQP-GLES2.functional.negative_api.texture.copyteximage2d_unequal_width_height_cube", "dEQP-GLES2.functional.negative_api.texture.copyteximage2d_inequal_width_height_cube"), ("dEQP-GLES2.functional.negative_api.texture.teximage2d_unequal_width_height_cube", "dEQP-GLES2.functional.negative_api.texture.teximage2d_inequal_width_height_cube"), ("dEQP-GLES2.functional.negative_api.vertex_array.draw_arrays", "dEQP-GLES2.functional.negative_api.vertex_array.draw_arrays_invalid_program"), diff --git a/scripts/egl/proc_address_tests.py b/scripts/egl/proc_address_tests.py index 91470e5..e123854 100644 --- a/scripts/egl/proc_address_tests.py +++ b/scripts/egl/proc_address_tests.py @@ -126,8 +126,8 @@ def gen (): writeInlFile(os.path.normpath(os.path.join(SCRIPTS_DIR, "..", "..", "modules", "egl", "teglGetProcAddressTests.inl")), chain(makeFunctionList ("EGL14", eglCoreIface), - makeFunctionList ("GLES10", gles10CoreIface), - makeFunctionList ("GLES20", gles20CoreIface), - makeFunctionList ("GLES30", gles30CoreIface), -# makeFunctionList ("GLES31", gles31CoreIface), - makeExtensionList (allExtensions))) + makeFunctionList ("GLES10", gles10CoreIface), + makeFunctionList ("GLES20", gles20CoreIface), + makeFunctionList ("GLES30", gles30CoreIface), +# makeFunctionList ("GLES31", gles31CoreIface), + makeExtensionList (allExtensions))) diff --git a/scripts/launchcontrol_build.py b/scripts/launchcontrol_build.py index 676487a..b221d8f 100644 --- a/scripts/launchcontrol_build.py +++ b/scripts/launchcontrol_build.py @@ -29,7 +29,7 @@ from build_android_mustpass import * class LaunchControlConfig: def __init__ (self, buildArgs, checkMustpassLists): - self.buildArgs = buildArgs + self.buildArgs = buildArgs self.checkMustpassLists = checkMustpassLists def getBuildArgs (self): diff --git a/scripts/make_release.py b/scripts/make_release.py index cf3f489..6613420 100644 --- a/scripts/make_release.py +++ b/scripts/make_release.py @@ -179,7 +179,7 @@ class FileTargetGroup: fullDstPath = os.path.normpath(os.path.join(packageBuildInfo.dstBasePath, self.dstBasePath)) allFiles = getFileList(fullSrcPath) - targets = createFileTargets(fullSrcPath, fullDstPath, allFiles, self.filters) + targets = createFileTargets(fullSrcPath, fullDstPath, allFiles, self.filters) # Make all file targets for file in targets: @@ -376,14 +376,14 @@ BASE = Module("Base", [ makeFileCopyGroup ("targets", "src/targets", TARGET_PATTERNS), makeFileCopyGroup ("execserver", "src/execserver", SRC_FILE_PATTERNS), makeFileCopyGroup ("executor", "src/executor", SRC_FILE_PATTERNS), - makeFileCopy ("modules/CMakeLists.txt", "src/modules/CMakeLists.txt"), - makeFileCopyGroup ("external", "src/external", ["CMakeLists.txt", "*.py"]), + makeFileCopy ("modules/CMakeLists.txt", "src/modules/CMakeLists.txt"), + makeFileCopyGroup ("external", "src/external", ["CMakeLists.txt", "*.py"]), # Stylesheet for displaying test logs on browser makeFileCopyGroup ("doc/testlog-stylesheet", "doc/testlog-stylesheet", ["*"]), # Non-optional parts of framework - makeFileCopy ("framework/CMakeLists.txt", "src/framework/CMakeLists.txt"), + makeFileCopy ("framework/CMakeLists.txt", "src/framework/CMakeLists.txt"), makeFileCopyGroup ("framework/delibs", "src/framework/delibs", SRC_FILE_PATTERNS), makeFileCopyGroup ("framework/common", "src/framework/common", SRC_FILE_PATTERNS), makeFileCopyGroup ("framework/qphelper", "src/framework/qphelper", SRC_FILE_PATTERNS), @@ -424,19 +424,19 @@ GLSHARED = Module("Shared GL Tests", [ GLES2 = Module("GLES2", [ makeFileCopyGroup ("modules/gles2", "src/modules/gles2", SRC_FILE_PATTERNS), - makeFileCopyGroup ("data/gles2", "src/data/gles2", ["*.*"]), + makeFileCopyGroup ("data/gles2", "src/data/gles2", ["*.*"]), makeFileCopyGroup ("doc/testspecs/GLES2", "doc/testspecs/GLES2", ["*.txt"]) ]) GLES3 = Module("GLES3", [ makeFileCopyGroup ("modules/gles3", "src/modules/gles3", SRC_FILE_PATTERNS), - makeFileCopyGroup ("data/gles3", "src/data/gles3", ["*.*"]), + makeFileCopyGroup ("data/gles3", "src/data/gles3", ["*.*"]), makeFileCopyGroup ("doc/testspecs/GLES3", "doc/testspecs/GLES3", ["*.txt"]) ]) GLES31 = Module("GLES31", [ makeFileCopyGroup ("modules/gles31", "src/modules/gles31", SRC_FILE_PATTERNS), - makeFileCopyGroup ("data/gles31", "src/data/gles31", ["*.*"]), + makeFileCopyGroup ("data/gles31", "src/data/gles31", ["*.*"]), makeFileCopyGroup ("doc/testspecs/GLES31", "doc/testspecs/GLES31", ["*.txt"]) ]) @@ -446,7 +446,7 @@ EGL = Module("EGL", [ INTERNAL = Module("Internal", [ makeFileCopyGroup ("modules/internal", "src/modules/internal", SRC_FILE_PATTERNS), - makeFileCopyGroup ("data/internal", "src/data/internal", ["*.*"]), + makeFileCopyGroup ("data/internal", "src/data/internal", ["*.*"]), ]) EXTERNAL_SRCS = Module("External sources", [ diff --git a/scripts/mustpass.py b/scripts/mustpass.py index 0a5f7dd..5a05b14 100644 --- a/scripts/mustpass.py +++ b/scripts/mustpass.py @@ -30,7 +30,7 @@ from copy import copy import xml.etree.cElementTree as ElementTree import xml.dom.minidom as minidom -APK_NAME = "com.drawelements.deqp.apk" +APK_NAME = "com.drawelements.deqp.apk" GENERATED_FILE_WARNING = """ This file has been automatically generated. Edit with caution. diff --git a/scripts/opengl/gen_str_util.py b/scripts/opengl/gen_str_util.py index ac1dd15..7b62083 100644 --- a/scripts/opengl/gen_str_util.py +++ b/scripts/opengl/gen_str_util.py @@ -754,8 +754,8 @@ ENUM_GROUPS = [ "MAX_GEOMETRY_UNIFORM_BLOCKS", "MAX_GEOMETRY_INPUT_COMPONENTS", "MAX_GEOMETRY_OUTPUT_COMPONENTS", "MAX_GEOMETRY_IMAGE_UNIFORMS", "MAX_GEOMETRY_TEXTURE_IMAGE_UNITS", "MAX_GEOMETRY_OUTPUT_VERTICES", "MAX_GEOMETRY_ATOMIC_COUNTERS", "MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS", "MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS", "MAX_FRAMEBUFFER_LAYERS", "PROVOKING_VERTEX", "PRIMITIVE_RESTART_INDEX", "MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS", "MAX_FRAGMENT_ATOMIC_COUNTERS", "MAX_FRAGMENT_IMAGE_UNIFORMS", - "MAX_COMPUTE_UNIFORM_BLOCKS", "MAX_COMPUTE_TEXTURE_IMAGE_UNITS", "MAX_COMPUTE_UNIFORM_COMPONENTS", "MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS", "MAX_COMPUTE_ATOMIC_COUNTERS", - "MAX_COMPUTE_IMAGE_UNIFORMS", "MAX_COMPUTE_SHADER_STORAGE_BLOCKS", "MAX_FRAGMENT_SHADER_STORAGE_BLOCKS", "MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS", "MAX_VERTEX_ATOMIC_COUNTER_BUFFERS", + "MAX_COMPUTE_UNIFORM_BLOCKS", "MAX_COMPUTE_TEXTURE_IMAGE_UNITS", "MAX_COMPUTE_UNIFORM_COMPONENTS", "MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS", "MAX_COMPUTE_ATOMIC_COUNTERS", + "MAX_COMPUTE_IMAGE_UNIFORMS", "MAX_COMPUTE_SHADER_STORAGE_BLOCKS", "MAX_FRAGMENT_SHADER_STORAGE_BLOCKS", "MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS", "MAX_VERTEX_ATOMIC_COUNTER_BUFFERS", "MAX_VERTEX_ATOMIC_COUNTERS", "MAX_VERTEX_IMAGE_UNIFORMS", "MAX_VERTEX_SHADER_STORAGE_BLOCKS", "MAX_COMBINED_SHADER_OUTPUT_RESOURCES", "MAX_ATOMIC_COUNTER_BUFFER_BINDINGS", "MAX_ATOMIC_COUNTER_BUFFER_SIZE", "MAX_IMAGE_UNITS", "MAX_COMBINED_ATOMIC_COUNTER_BUFFERS", "MAX_COMBINED_IMAGE_UNIFORMS", "MAX_SHADER_STORAGE_BUFFER_BINDINGS", "MAX_SHADER_STORAGE_BLOCK_SIZE", "MAX_COMBINED_ATOMIC_COUNTERS", "MAX_COMBINED_SHADER_STORAGE_BLOCKS", "SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT", "PRIMITIVE_BOUNDING_BOX_EXT", diff --git a/scripts/testset.py b/scripts/testset.py index 03d8385..9c75bbc 100644 --- a/scripts/testset.py +++ b/scripts/testset.py @@ -224,7 +224,7 @@ def die (msg): # Named filter lists FILTER_RULES = [ FilterRule("all", "No filtering", []), - FilterRule("all-pass", "All results must be 'Pass'", [lambda l: all(l, lambda r: r == 'Pass')]), + FilterRule("all-pass", "All results must be 'Pass'", [lambda l: all(l, lambda r: r == 'Pass')]), FilterRule("any-pass", "Any of results is 'Pass'", [lambda l: any(l, lambda r: r == 'Pass')]), FilterRule("any-fail", "Any of results is not 'Pass' or 'NotSupported'", [lambda l: not all(l, lambda r: r == 'Pass' or r == 'NotSupported')]), FilterRule("prev-failing", "Any except last result is failure", [lambda l: l[-1] == 'Pass' and not all(l[:-1], lambda r: r == 'Pass')]), diff --git a/targets/default/default.cmake b/targets/default/default.cmake index f08389c..4904663 100644 --- a/targets/default/default.cmake +++ b/targets/default/default.cmake @@ -1,7 +1,7 @@ message("*** Default target") -set(DEQP_TARGET_NAME "Default") +set(DEQP_TARGET_NAME "Default") # OpenGL (ES) & EGL tests do not require any libraries or headers set(DEQP_SUPPORT_GLES2 ON) diff --git a/targets/dynamic_egl/dynamic_egl.cmake b/targets/dynamic_egl/dynamic_egl.cmake index e5f5f20..79d0478 100644 --- a/targets/dynamic_egl/dynamic_egl.cmake +++ b/targets/dynamic_egl/dynamic_egl.cmake @@ -1,6 +1,6 @@ message("*** Using dynamic EGL target") -set(DEQP_TARGET_NAME "EGL (run-time linking)") +set(DEQP_TARGET_NAME "EGL (run-time linking)") set(DEQP_RUNTIME_LINK ON) set(DEQP_SUPPORT_GLES2 ON) set(DEQP_SUPPORT_GLES3 ON) diff --git a/targets/gles3_dynamic/gles3_dynamic.cmake b/targets/gles3_dynamic/gles3_dynamic.cmake index 8827447..872895d 100644 --- a/targets/gles3_dynamic/gles3_dynamic.cmake +++ b/targets/gles3_dynamic/gles3_dynamic.cmake @@ -1,6 +1,6 @@ message("*** Using GLES3 dynamic loader") -set(DEQP_TARGET_NAME "Dynamic library") +set(DEQP_TARGET_NAME "Dynamic library") set(DEQP_RUNTIME_LINK ON) set(DEQP_SUPPORT_GLES2 ON) set(DEQP_SUPPORT_GLES3 ON) diff --git a/targets/gles3_wrapper/gles3_wrapper.cmake b/targets/gles3_wrapper/gles3_wrapper.cmake index 7db7a7f..aab530a 100644 --- a/targets/gles3_wrapper/gles3_wrapper.cmake +++ b/targets/gles3_wrapper/gles3_wrapper.cmake @@ -1,7 +1,7 @@ message("*** Using GLES3 Wrapper") -set(DEQP_TARGET_NAME "GLES3 Wrapper") +set(DEQP_TARGET_NAME "GLES3 Wrapper") set(DEQP_SUPPORT_GLES2 OFF) set(DEQP_SUPPORT_EGL OFF) set(DEQP_SUPPORT_GLES3 ON) diff --git a/targets/no_modules/no_modules.cmake b/targets/no_modules/no_modules.cmake index aee7aa8..aa81ed8 100644 --- a/targets/no_modules/no_modules.cmake +++ b/targets/no_modules/no_modules.cmake @@ -1,3 +1,3 @@ message("*** No modules build") -set(DEQP_TARGET_NAME "No-Modules") +set(DEQP_TARGET_NAME "No-Modules") diff --git a/targets/null/null.cmake b/targets/null/null.cmake index d12f177..ad19970 100644 --- a/targets/null/null.cmake +++ b/targets/null/null.cmake @@ -1,7 +1,7 @@ message("*** Using null context target") -set(DEQP_TARGET_NAME "Null") +set(DEQP_TARGET_NAME "Null") set(DEQP_SUPPORT_EGL ON) set(DEQP_SUPPORT_GLES2 ON) set(DEQP_SUPPORT_GLES3 ON) diff --git a/targets/win32_wgl/win32_wgl.cmake b/targets/win32_wgl/win32_wgl.cmake index 690fe13..a63718d 100644 --- a/targets/win32_wgl/win32_wgl.cmake +++ b/targets/win32_wgl/win32_wgl.cmake @@ -1,6 +1,6 @@ message("*** Using WGL") -set(DEQP_TARGET_NAME "WGL") +set(DEQP_TARGET_NAME "WGL") set(DEQP_SUPPORT_GLES2 ON) set(DEQP_SUPPORT_GLES3 ON) set(DEQP_SUPPORT_OPENGL ON) diff --git a/targets/x11_egl/x11_egl.cmake b/targets/x11_egl/x11_egl.cmake index 5002342..ec585c2 100644 --- a/targets/x11_egl/x11_egl.cmake +++ b/targets/x11_egl/x11_egl.cmake @@ -1,6 +1,6 @@ message("*** Using X11 EGL target") -set(DEQP_TARGET_NAME "X11 EGL") +set(DEQP_TARGET_NAME "X11 EGL") set(DEQP_RUNTIME_LINK ON) set(DEQP_SUPPORT_GLES2 ON) set(DEQP_SUPPORT_GLES3 ON) diff --git a/targets/x11_egl_glx/x11_egl_glx.cmake b/targets/x11_egl_glx/x11_egl_glx.cmake index 8c8eee0..fa5a69c 100644 --- a/targets/x11_egl_glx/x11_egl_glx.cmake +++ b/targets/x11_egl_glx/x11_egl_glx.cmake @@ -1,6 +1,6 @@ message("*** Using X11 EGL/GLX target") -set(DEQP_TARGET_NAME "X11 EGL/GLX") +set(DEQP_TARGET_NAME "X11 EGL/GLX") set(DEQP_SUPPORT_GLES2 ON) set(DEQP_SUPPORT_GLES3 ON) set(DEQP_SUPPORT_OPENGL ON) diff --git a/targets/x11_glx/x11_glx.cmake b/targets/x11_glx/x11_glx.cmake index b6a036e..2e92e64 100644 --- a/targets/x11_glx/x11_glx.cmake +++ b/targets/x11_glx/x11_glx.cmake @@ -1,6 +1,6 @@ message("*** Using X11 GLX target") -set(DEQP_TARGET_NAME "X11 GLX") +set(DEQP_TARGET_NAME "X11 GLX") set(DEQP_SUPPORT_GLES2 ON) set(DEQP_SUPPORT_GLES3 ON) set(DEQP_SUPPORT_OPENGL ON)