summaryrefslogtreecommitdiffstats
path: root/third_party/rust/spirv-cross-internal/tests/shaders/rasterize_disabled.vert
blob: 959183d2cb06a206381cf21160a28ccd09dc1bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#version 450

layout(location = 0) in vec4 input_buffer;

layout(binding = 0, std140) uniform iu
{
	uvec4 m[2];
} input_uniform;

layout(binding = 1, std430) writeonly buffer ob
{
	uvec4 m[2];
} output_buffer;

void main()
{
	gl_Position = input_buffer;
	for (int i = 0; i < 2; i++)
	{
		output_buffer.m[i] = input_uniform.m[i];
	}
}