yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Valentin SarthouFix incorrect "Contradictory layout" link errors (#3920)4056002e

main
315 B13 linesraw
1#version 450 core
2
3// Should generate a contradictory local size specialization ids error
4layout(local_size_x_id = 1, local_size_y = 1, local_size_z = 1) in;
5
6layout(set = 0, binding = 0) buffer DataBuf {
7    vec4 data[];
8} dataBuf;
9
10void do_compute(uint index)
11{
12  dataBuf.data[index] += vec4(1.0);
13}