blob: e6231396bca92ba3f6e5cc6a7470423375265d8e [file] [log] [blame]
SKIP: FAILED
vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.wgsl:1:15 warning: use of deprecated language feature: the @stride attribute is deprecated; use a larger type if necessary
type RTArr = @stride(4) array<u32>;
^^^^^^
#version 310 es
precision mediump float;
struct S {
uint field0[];
};
uvec3 x_2 = uvec3(0u, 0u, 0u);
layout(binding = 0, std430) buffer S_1 {
uint field0[];
} x_5;
layout(binding = 1, std430) buffer S_2 {
uint field0[];
} x_6;
layout(binding = 2, std430) buffer S_3 {
uint field0[];
} x_7;
void main_1() {
uint x_20 = x_2.x;
uint x_22 = x_5.field0[x_20];
uint x_24 = x_6.field0[x_20];
x_7.field0[x_20] = uint((int(x_22) / int(x_24)));
return;
}
void tint_symbol(uvec3 x_2_param) {
x_2 = x_2_param;
main_1();
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
tint_symbol(gl_GlobalInvocationID);
return;
}
Error parsing GLSL shader:
ERROR: 0:5: '' : array size required
ERROR: 0:6: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.