File: hlsl.partialInit.frag

package info (click to toggle)
glslang 16.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 51,084 kB
  • sloc: cpp: 90,714; yacc: 4,243; sh: 603; python: 305; ansic: 94; javascript: 74; makefile: 17
file content (36 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (17)
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
27
28
29
30
31
32
33
34
35
36
struct outs {
    int a;
    float b;
    bool c;
    float4 v;
};

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

struct Nest {
    float4x3 m;
    outs os;
    bool b;
};

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;
    Nest nest = (Nest)0;

    float2 gf2a[4] = { };
    int cgi = { };
    o4.b = gf2a[2].y * cgi;

    return o4;
}

static const float2 cgf2a[3];
static const int ci;