blob: 38a13594b42e61a5f5cb473ba4049deed882a7f5 [file] [log] [blame] [edit]
SKIP: FAILED
#version 310 es
uint tint_pack4x8snorm(vec4 param_0) {
int4 i = int4(round(clamp(param_0, -1.0, 1.0) * 127.0)) & 0xff;
return asuint(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_pack4x8snorm(v4f1);
return;
}
void tint_symbol() {
main_1();
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
tint_symbol();
return;
}
Error parsing GLSL shader:
ERROR: 0:4: 'int4' : undeclared identifier
ERROR: 0:4: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.