xref: /aosp_15_r20/external/deqp/external/openglcts/data/gl_cts/data/gl42/declarations.test (revision 35238bce31c2a825756842865a792f8cf7f89930)
1group declarations "Declarations"
2
3    case layout_qualifier_on_image_function_parameter
4        version 420
5        expect compile_fail
6        both ""
7            #version 420
8            ${DECLARATIONS}
9            layout( r32i ) uniform iimage2D img;
10            void bad(layout( r32i ) iimage2D img)
11            {
12                imageStore(img, ivec2( 0, 0 ), ivec4( 1, 0, 0, 0 ));
13            }
14            void main()
15            {
16                bad(img);
17                ${OUTPUT}
18            }
19        ""
20    end
21
22end # invalid_declarations
23