summaryrefslogtreecommitdiffstats
path: root/tests/cross-compile/matrix-mult.slang.glsl
blob: 9a29e1ed581785ee937b7c3d734b3bcffd0337e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//TEST_IGNORE_FILE:
#version 420

layout(binding = 0)
uniform C
{
	mat4x3 m;
};

vec4 main_(vec3 v)
{
	return v * m;
}

layout(location = 0)
in vec3 SLANG_in_v;

layout(location = 0)
out vec4 SLANG_out_main_result;

void main()
{
	vec3 v = SLANG_in_v;
	vec4 main_result = main_(v);
	SLANG_out_main_result = main_result;
}