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 #2908 from Biswa96/cmake-spirv-remap
[platform/upstream/glslang.git]
/
Test
/
hlsl.entry-out.frag
1
struct OutParam {
2
float2 v;
3
int2 i;
4
};
5
6
void fun(out OutParam op)
7
{
8
op.v = float2(0.4);
9
op.i = int2(7);
10
}
11
12
float4 PixelShaderFunction(float4 input, out float4 out1, out OutParam out2, out OutParam out3) : COLOR0
13
{
14
out1 = input;
15
out2.v = 2.0;
16
out2.i = 3;
17
OutParam local;
18
local.v = 12.0;
19
local.i = 13;
20
fun(out3);
21
22
return out1;
23
}