Jeff Bolz | 9f2aec4 | 2019-01-06 17:58:04 -0600 | [diff] [blame] | 1 | #version 450 |
2 | |||||
3 | #extension GL_EXT_buffer_reference : enable | ||||
4 | |||||
5 | layout(buffer_reference, std140) buffer t3 { | ||||
6 | int h; | ||||
7 | }; | ||||
8 | |||||
9 | layout(set = 1, binding = 2, std140) uniform t4 { | ||||
10 | layout(offset = 0) int j; | ||||
11 | t3 k; | ||||
12 | } x; | ||||
13 | |||||
14 | void main() { | ||||
15 | x.k.h = x.j; | ||||
16 | } |