blob: 76280e7fb71b31a0d58e1673a2fdc925bcb564e9 [file] [log] [blame]
SKIP: FAILED
#version 310 es
precision mediump float;
uint tint_pack4x8unorm(vec4 param_0) {
uint4 i = uint4(round(clamp(param_0, 0.0, 1.0) * 255.0));
return (i.x | i.y << 8 | i.z << 16 | i.w << 24);
}
void main_1() {
uint u1 = 10u;
uint u2 = 15u;
uint u3 = 20u;
int i1 = 30;
int i2 = 35;
int i3 = 40;
float f1 = 50.0f;
float f2 = 60.0f;
float f3 = 70.0f;
uvec2 v2u1 = uvec2(10u, 20u);
uvec2 v2u2 = uvec2(20u, 10u);
uvec2 v2u3 = uvec2(15u, 15u);
ivec2 v2i1 = ivec2(30, 40);
ivec2 v2i2 = ivec2(40, 30);
ivec2 v2i3 = ivec2(35, 35);
vec2 v2f1 = vec2(50.0f, 60.0f);
vec2 v2f2 = vec2(60.0f, 50.0f);
vec2 v2f3 = vec2(70.0f, 70.0f);
vec3 v3f1 = vec3(50.0f, 60.0f, 70.0f);
vec3 v3f2 = vec3(60.0f, 70.0f, 50.0f);
vec4 v4f1 = vec4(50.0f, 50.0f, 50.0f, 50.0f);
vec4 v4f2 = v4f1;
uint x_1 = tint_pack4x8unorm(v4f1);
return;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void tint_symbol() {
main_1();
return;
}
void main() {
tint_symbol();
}
Error parsing GLSL shader:
ERROR: 0:5: 'uint4' : undeclared identifier
ERROR: 0:5: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.