blob: db086707d33b56869c241d913ae4d175acf285e3 [file] [log] [blame] [edit]
SKIP: FAILED
#version 310 es
precision mediump float;
uint tint_pack2x16snorm(vec2 param_0) {
int2 i = int2(round(clamp(param_0, -1.0, 1.0) * 32767.0)) & 0xffff;
return asuint(i.x | i.y << 16);
}
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_pack2x16snorm(v2f1);
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:5: 'int2' : undeclared identifier
ERROR: 0:5: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.