File: copy_array_0.glsl

package info (click to toggle)
spirv-reflect 1.4.328.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,260 kB
  • sloc: ansic: 13,975; cpp: 5,963; python: 140; sh: 76; makefile: 12
file content (11 lines) | stat: -rw-r--r-- 187 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#version 450
layout(set = 0, binding = 0) buffer foo {
    uvec4 a; // not used
    uint b[4]; // used
    uint c; // not used
};

void main() {
    uint d[4] = {4, 5, 6, 7};
    b = d;
}