projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git]
/
Test
/
hlsl.struct.split-1.vert
1
2
struct VS_INPUT
3
{
4
int x0_in : foo0;
5
float4 Pos_in : SV_Position;
6
int x1_in : foo1;
7
};
8
9
struct VS_OUTPUT
10
{
11
int x0_out : foo0;
12
float4 Pos_out : SV_Position;
13
int x1_out : foo1;
14
};
15
16
VS_OUTPUT main(VS_INPUT vsin, float4 Pos_loose : SV_Position)
17
{
18
VS_OUTPUT vsout;
19
20
vsout.x0_out = vsin.x0_in;
21
vsout.Pos_out = vsin.Pos_in + Pos_loose;
22
vsout.x1_out = vsin.x1_in;
23
24
return vsout;
25
}