aboutsummaryrefslogtreecommitdiff
path: root/Test/hlsl.partialInit.frag
blob: b5b0a5803ba5e75aa27b151d4e73fd08f5db4c20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
struct outs {
    int a;
    float b;
    bool c;
    float4 v;
};

static float4 gv = {0,0,1};
static float gfa[3] = {0,0};

outs PixelShaderFunction(float4 input) : COLOR0
{
    outs o2 = { 3 };
    outs o4;
    o4.v = gv * gfa[2];
    outs o1 = { };
//    outs o3 = (outs)0;
//    o4 = (outs)0;
    o4.c = o1.c;

    return o4;
}