| 1 |
static const float4 _68[4] = { 0.0f.xxxx, 1.0f.xxxx, 2.0f.xxxx, 3.0f.xxxx }; |
| 2 |
|
| 3 |
static float4 gl_Position; |
| 4 |
static int Index1; |
| 5 |
static int Index2; |
| 6 |
|
| 7 |
struct SPIRV_Cross_Input |
| 8 |
{ |
| 9 |
int Index1 : TEXCOORD0; |
| 10 |
int Index2 : TEXCOORD1; |
| 11 |
}; |
| 12 |
|
| 13 |
struct SPIRV_Cross_Output |
| 14 |
{ |
| 15 |
float4 gl_Position : SV_Position; |
| 16 |
}; |
| 17 |
|
| 18 |
float4 consume_constant_arrays2(float4 positions[4], float4 positions2[4]) |
| 19 |
{ |
| 20 |
float4 indexable[4] = positions; |
| 21 |
float4 indexable_1[4] = positions2; |
| 22 |
return indexable[Index1] + indexable_1[Index2]; |
| 23 |
} |
| 24 |
|
| 25 |
float4 consume_constant_arrays(float4 positions[4], float4 positions2[4]) |
| 26 |
{ |
| 27 |
return consume_constant_arrays2(positions, positions2); |
| 28 |
} |
| 29 |
|
| 30 |
void vert_main() |
| 31 |
{ |
| 32 |
float4 LUT2[4]; |
| 33 |
LUT2[0] = 10.0f.xxxx; |
| 34 |
LUT2[1] = 11.0f.xxxx; |
| 35 |
LUT2[2] = 12.0f.xxxx; |
| 36 |
LUT2[3] = 13.0f.xxxx; |
| 37 |
gl_Position = consume_constant_arrays(_68, LUT2); |
| 38 |
} |
| 39 |
|
| 40 |
SPIRV_Cross_Output main(SPIRV_Cross_Input stage_input) |
| 41 |
{ |
| 42 |
Index1 = stage_input.Index1; |
| 43 |
Index2 = stage_input.Index2; |
| 44 |
vert_main(); |
| 45 |
SPIRV_Cross_Output stage_output; |
| 46 |
stage_output.gl_Position = gl_Position; |
| 47 |
return stage_output; |
| 48 |
} |