projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Setup dependent external sources
[platform/upstream/VK-GL-CTS.git]
/
external
/
glslang
/
src
/
Test
/
hlsl.partialInit.frag
1
struct outs {
2
int a;
3
float b;
4
bool c;
5
float4 v;
6
};
7
8
static float4 gv = {0,0,1};
9
static float gfa[3] = {0,0};
10
11
struct Nest {
12
float4x3 m;
13
outs os;
14
bool b;
15
};
16
17
outs PixelShaderFunction(float4 input) : COLOR0
18
{
19
outs o2 = { 3 };
20
outs o4;
21
o4.v = gv * gfa[2];
22
outs o1 = { };
23
outs o3 = (outs)0;
24
o4 = (outs)0;
25
o4.c = o1.c;
26
Nest nest = (Nest)0;
27
28
float2 gf2a[4] = { };
29
int cgi = { };
30
o4.b = gf2a[2].y * cgi;
31
32
return o4;
33
}
34
35
static const float2 cgf2a[3];
36
static const int ci;