highp ivec3 s2 = imageSize(CA2);\r
highp ivec3 s3 = imageSize(CA3);\r
}\r
+\r
+uniform sampler2DMSArray bad2DMS; // ERROR, reserved\r
+uniform isampler2DMSArray bad2DMSi; // ERROR, reserved\r
+uniform usampler2DMSArray bad2DMSu; // ERROR, reserved\r
+\r
+#extension GL_OES_texture_storage_multisample_2d_array : enable\r
+\r
+#ifdef GL_OES_texture_storage_multisample_2d_array\r
+\r
+uniform sampler2DMSArray noPrec2DMS; // ERROR, no default\r
+uniform isampler2DMSArray noPrec2DMSi; // ERROR, no default\r
+uniform usampler2DMSArray noPrec2DMSu; // ERROR, no default\r
+\r
+#endif\r
+\r
+precision highp sampler2DMSArray;\r
+precision highp isampler2DMSArray;\r
+precision highp usampler2DMSArray;\r
+\r
+uniform sampler2DMSArray samp2DMSA;\r
+uniform isampler2DMSArray samp2DMSAi;\r
+uniform usampler2DMSArray samp2DMSAu;\r
+\r
+void MSA()\r
+{\r
+ vec4 tf = texelFetch(samp2DMSA, ivec3(5), 2);\r
+ ivec4 tfi = texelFetch(samp2DMSAi, ivec3(5), 2);\r
+ uvec4 tfu = texelFetch(samp2DMSAu, ivec3(5), 2);\r
+ \r
+ ivec3 tfs = textureSize(samp2DMSA);\r
+ ivec3 tfsi = textureSize(samp2DMSAi);\r
+ ivec3 tfsb = textureSize(samp2DMSAi, 4); // ERROR, no lod\r
+ ivec3 tfsu = textureSize(samp2DMSAu);\r
+}\r
ERROR: 0:251: 'sampler/image' : type requires declaration of default precision qualifier \r
ERROR: 0:252: 'sampler/image' : type requires declaration of default precision qualifier \r
ERROR: 0:253: 'sampler/image' : type requires declaration of default precision qualifier \r
-ERROR: 75 compilation errors. No code generated.\r
+ERROR: 0:309: 'sampler2DMSArray' : Reserved word. \r
+ERROR: 0:309: 'sampler/image' : type requires declaration of default precision qualifier \r
+ERROR: 0:310: 'isampler2DMSArray' : Reserved word. \r
+ERROR: 0:310: 'sampler/image' : type requires declaration of default precision qualifier \r
+ERROR: 0:311: 'usampler2DMSArray' : Reserved word. \r
+ERROR: 0:311: 'sampler/image' : type requires declaration of default precision qualifier \r
+ERROR: 0:317: 'sampler/image' : type requires declaration of default precision qualifier \r
+ERROR: 0:318: 'sampler/image' : type requires declaration of default precision qualifier \r
+ERROR: 0:319: 'sampler/image' : type requires declaration of default precision qualifier \r
+ERROR: 0:339: 'textureSize' : no matching overloaded function found \r
+ERROR: 0:339: '=' : cannot convert from 'const float' to 'temp highp 3-component vector of int'\r
+ERROR: 86 compilation errors. No code generated.\r
\r
\r
Shader version: 310\r
Requested GL_OES_shader_io_blocks\r
Requested GL_OES_texture_buffer\r
Requested GL_OES_texture_cube_map_array\r
+Requested GL_OES_texture_storage_multisample_2d_array\r
ERROR: node is still EOpNull!\r
0:12 Function Definition: main( (global void)\r
0:12 Function Parameters: \r
0:306 's3' (temp highp 3-component vector of int)\r
0:306 Function Call: imageSize(uIAC1; (global highp 3-component vector of int)\r
0:306 'CA3' (writeonly uniform highp uimageCubeArray)\r
+0:331 Function Definition: MSA( (global void)\r
+0:331 Function Parameters: \r
+0:333 Sequence\r
+0:333 Sequence\r
+0:333 move second child to first child (temp highp 4-component vector of float)\r
+0:333 'tf' (temp highp 4-component vector of float)\r
+0:333 Function Call: texelFetch(sA2M1;vi3;i1; (global highp 4-component vector of float)\r
+0:333 'samp2DMSA' (uniform highp sampler2DMSArray)\r
+0:333 Constant:\r
+0:333 5 (const int)\r
+0:333 5 (const int)\r
+0:333 5 (const int)\r
+0:333 Constant:\r
+0:333 2 (const int)\r
+0:334 Sequence\r
+0:334 move second child to first child (temp highp 4-component vector of int)\r
+0:334 'tfi' (temp highp 4-component vector of int)\r
+0:334 Function Call: texelFetch(isA2M1;vi3;i1; (global highp 4-component vector of int)\r
+0:334 'samp2DMSAi' (uniform highp isampler2DMSArray)\r
+0:334 Constant:\r
+0:334 5 (const int)\r
+0:334 5 (const int)\r
+0:334 5 (const int)\r
+0:334 Constant:\r
+0:334 2 (const int)\r
+0:335 Sequence\r
+0:335 move second child to first child (temp highp 4-component vector of uint)\r
+0:335 'tfu' (temp highp 4-component vector of uint)\r
+0:335 Function Call: texelFetch(usA2M1;vi3;i1; (global highp 4-component vector of uint)\r
+0:335 'samp2DMSAu' (uniform highp usampler2DMSArray)\r
+0:335 Constant:\r
+0:335 5 (const int)\r
+0:335 5 (const int)\r
+0:335 5 (const int)\r
+0:335 Constant:\r
+0:335 2 (const int)\r
+0:337 Sequence\r
+0:337 move second child to first child (temp highp 3-component vector of int)\r
+0:337 'tfs' (temp highp 3-component vector of int)\r
+0:337 Function Call: textureSize(sA2M1; (global highp 3-component vector of int)\r
+0:337 'samp2DMSA' (uniform highp sampler2DMSArray)\r
+0:338 Sequence\r
+0:338 move second child to first child (temp highp 3-component vector of int)\r
+0:338 'tfsi' (temp highp 3-component vector of int)\r
+0:338 Function Call: textureSize(isA2M1; (global highp 3-component vector of int)\r
+0:338 'samp2DMSAi' (uniform highp isampler2DMSArray)\r
+0:340 Sequence\r
+0:340 move second child to first child (temp highp 3-component vector of int)\r
+0:340 'tfsu' (temp highp 3-component vector of int)\r
+0:340 Function Call: textureSize(usA2M1; (global highp 3-component vector of int)\r
+0:340 'samp2DMSAu' (uniform highp usampler2DMSArray)\r
0:? Linker Objects\r
0:? 's' (shared highp 4-component vector of float)\r
0:? 'v' (buffer highp 4-component vector of float)\r
0:? 'CA5' (uniform highp samplerCubeArrayShadow)\r
0:? 'CA6' (uniform highp isamplerCubeArray)\r
0:? 'CA7' (uniform highp usamplerCubeArray)\r
+0:? 'bad2DMS' (uniform mediump sampler2DMSArray)\r
+0:? 'bad2DMSi' (uniform mediump isampler2DMSArray)\r
+0:? 'bad2DMSu' (uniform mediump usampler2DMSArray)\r
+0:? 'noPrec2DMS' (uniform mediump sampler2DMSArray)\r
+0:? 'noPrec2DMSi' (uniform mediump isampler2DMSArray)\r
+0:? 'noPrec2DMSu' (uniform mediump usampler2DMSArray)\r
+0:? 'samp2DMSA' (uniform highp sampler2DMSArray)\r
+0:? 'samp2DMSAi' (uniform highp isampler2DMSArray)\r
+0:? 'samp2DMSAu' (uniform highp usampler2DMSArray)\r
0:? 'gl_VertexID' (gl_VertexId highp int VertexId)\r
0:? 'gl_InstanceID' (gl_InstanceId highp int InstanceId)\r
\r
Requested GL_OES_shader_io_blocks\r
Requested GL_OES_texture_buffer\r
Requested GL_OES_texture_cube_map_array\r
+Requested GL_OES_texture_storage_multisample_2d_array\r
ERROR: node is still EOpNull!\r
0:12 Function Definition: main( (global void)\r
0:12 Function Parameters: \r
0:306 's3' (temp highp 3-component vector of int)\r
0:306 Function Call: imageSize(uIAC1; (global highp 3-component vector of int)\r
0:306 'CA3' (writeonly uniform highp uimageCubeArray)\r
+0:331 Function Definition: MSA( (global void)\r
+0:331 Function Parameters: \r
+0:333 Sequence\r
+0:333 Sequence\r
+0:333 move second child to first child (temp highp 4-component vector of float)\r
+0:333 'tf' (temp highp 4-component vector of float)\r
+0:333 Function Call: texelFetch(sA2M1;vi3;i1; (global highp 4-component vector of float)\r
+0:333 'samp2DMSA' (uniform highp sampler2DMSArray)\r
+0:333 Constant:\r
+0:333 5 (const int)\r
+0:333 5 (const int)\r
+0:333 5 (const int)\r
+0:333 Constant:\r
+0:333 2 (const int)\r
+0:334 Sequence\r
+0:334 move second child to first child (temp highp 4-component vector of int)\r
+0:334 'tfi' (temp highp 4-component vector of int)\r
+0:334 Function Call: texelFetch(isA2M1;vi3;i1; (global highp 4-component vector of int)\r
+0:334 'samp2DMSAi' (uniform highp isampler2DMSArray)\r
+0:334 Constant:\r
+0:334 5 (const int)\r
+0:334 5 (const int)\r
+0:334 5 (const int)\r
+0:334 Constant:\r
+0:334 2 (const int)\r
+0:335 Sequence\r
+0:335 move second child to first child (temp highp 4-component vector of uint)\r
+0:335 'tfu' (temp highp 4-component vector of uint)\r
+0:335 Function Call: texelFetch(usA2M1;vi3;i1; (global highp 4-component vector of uint)\r
+0:335 'samp2DMSAu' (uniform highp usampler2DMSArray)\r
+0:335 Constant:\r
+0:335 5 (const int)\r
+0:335 5 (const int)\r
+0:335 5 (const int)\r
+0:335 Constant:\r
+0:335 2 (const int)\r
+0:337 Sequence\r
+0:337 move second child to first child (temp highp 3-component vector of int)\r
+0:337 'tfs' (temp highp 3-component vector of int)\r
+0:337 Function Call: textureSize(sA2M1; (global highp 3-component vector of int)\r
+0:337 'samp2DMSA' (uniform highp sampler2DMSArray)\r
+0:338 Sequence\r
+0:338 move second child to first child (temp highp 3-component vector of int)\r
+0:338 'tfsi' (temp highp 3-component vector of int)\r
+0:338 Function Call: textureSize(isA2M1; (global highp 3-component vector of int)\r
+0:338 'samp2DMSAi' (uniform highp isampler2DMSArray)\r
+0:340 Sequence\r
+0:340 move second child to first child (temp highp 3-component vector of int)\r
+0:340 'tfsu' (temp highp 3-component vector of int)\r
+0:340 Function Call: textureSize(usA2M1; (global highp 3-component vector of int)\r
+0:340 'samp2DMSAu' (uniform highp usampler2DMSArray)\r
0:? Linker Objects\r
0:? 's' (shared highp 4-component vector of float)\r
0:? 'v' (buffer highp 4-component vector of float)\r
0:? 'CA5' (uniform highp samplerCubeArrayShadow)\r
0:? 'CA6' (uniform highp isamplerCubeArray)\r
0:? 'CA7' (uniform highp usamplerCubeArray)\r
+0:? 'bad2DMS' (uniform mediump sampler2DMSArray)\r
+0:? 'bad2DMSi' (uniform mediump isampler2DMSArray)\r
+0:? 'bad2DMSu' (uniform mediump usampler2DMSArray)\r
+0:? 'noPrec2DMS' (uniform mediump sampler2DMSArray)\r
+0:? 'noPrec2DMSi' (uniform mediump isampler2DMSArray)\r
+0:? 'noPrec2DMSu' (uniform mediump usampler2DMSArray)\r
+0:? 'samp2DMSA' (uniform highp sampler2DMSArray)\r
+0:? 'samp2DMSAi' (uniform highp isampler2DMSArray)\r
+0:? 'samp2DMSAu' (uniform highp usampler2DMSArray)\r
0:? 'gl_VertexID' (gl_VertexId highp int VertexId)\r
0:? 'gl_InstanceID' (gl_InstanceId highp int InstanceId)\r
\r