File: copy_array_2.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 (16 lines) | stat: -rw-r--r-- 229 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 450
layout(set = 0, binding = 0, std430) buffer foo1 {
    uvec4 a;
    uint b[4];
    uint c;
};

layout(set = 0, binding = 1, std430) buffer foo2 {
    uint d;
    uint e[4];
    uvec2 f;
};

void main() {
    b = e;
}