4 * require_extensions: GL_ARB_shading_language_packing
7 * Verify that GL_ARB_shading_language_packing can be used in geometry shaders
10 #extension GL_ARB_shading_language_packing: require
18 vec4 foo = vec4(packUnorm2x16(v2));
19 foo += vec4(packSnorm2x16(v2));
20 foo += vec4(packUnorm4x8(v4));
21 foo += vec4(packSnorm4x8(v4));
22 foo += vec4(unpackUnorm2x16(u), 0.0, 0.0);
23 foo += vec4(unpackSnorm2x16(u), 0.0, 0.0);
24 foo += unpackUnorm4x8(u);
25 foo += unpackSnorm4x8(u);