blob: d98683aeb388b044d37b9be33c3032cef3524b75 [file] [log] [blame]
struct S
{
float f;
float af[5];
float4 h4;
float4 ah4[5];
};
cbuffer _UniformBuffer : register(b0, space0)
{
float4 _22_colorGreen : packoffset(c0);
};
static float4 sk_FragColor;
struct SPIRV_Cross_Output
{
float4 sk_FragColor : SV_Target0;
};
static float4 globalVar = 0.0f.xxxx;
static S globalStruct = { 0.0f, { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }, 0.0f.xxxx, { 0.0f.xxxx, 0.0f.xxxx, 0.0f.xxxx, 0.0f.xxxx, 0.0f.xxxx } };
void keepAlive_vf(float _39)
{
}
void keepAlive_vh(float _37)
{
}
void keepAlive_vi(int _43)
{
}
float4 main(float2 _46)
{
int i = 0;
int4 i4 = int4(1, 2, 3, 4);
float3x3 f3x3 = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
float4 x = 0.0f.xxxx;
x.w = 0.0f;
x = float4(0.0f.xx.y, 0.0f.xx.x, x.z, x.w);
int ai[1] = { 0 };
ai[0] = 0;
int4 ai4[1] = { int4(0, 0, 0, 0) };
ai4[0] = int4(1, 2, 3, 4);
float3x3 ah3x3[1] = { float3x3(0.0f.xxx, 0.0f.xxx, 0.0f.xxx) };
ah3x3[0] = float3x3(float3(1.0f, 2.0f, 3.0f), float3(4.0f, 5.0f, 6.0f), float3(7.0f, 8.0f, 9.0f));
float4 af4[1] = { 0.0f.xxxx };
af4[0].x = 0.0f;
af4[0] = float4(1.0f.xxxx.z, 1.0f.xxxx.x, 1.0f.xxxx.w, 1.0f.xxxx.y);
S s = { 0.0f, { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }, 0.0f.xxxx, { 0.0f.xxxx, 0.0f.xxxx, 0.0f.xxxx, 0.0f.xxxx, 0.0f.xxxx } };
s.f = 0.0f;
s.af[1] = 0.0f;
s.h4 = float4(9.0f.xxx.y, 9.0f.xxx.z, 9.0f.xxx.x, s.h4.w);
s.ah4[2] = float4(s.ah4[2].x, 5.0f.xx.x, s.ah4[2].z, 5.0f.xx.y);
globalVar = 0.0f.xxxx;
globalStruct.f = 0.0f;
float l = 0.0f;
ai[0] += ai4[0].x;
s.f = 1.0f;
s.af[0] = 2.0f;
s.h4 = 1.0f.xxxx;
s.ah4[0] = 2.0f.xxxx;
float _131 = af4[0].x;
keepAlive_vf(_131);
af4[0].x = _131;
float _138 = ah3x3[0][0].x;
keepAlive_vh(_138);
ah3x3[0][0].x = _138;
int _142 = i;
keepAlive_vi(_142);
i = _142;
int _147 = i4.y;
keepAlive_vi(_147);
i4.y = _147;
int _152 = ai[0];
keepAlive_vi(_152);
ai[0] = _152;
int _158 = ai4[0].x;
keepAlive_vi(_158);
ai4[0].x = _158;
float _163 = x.y;
keepAlive_vh(_163);
x.y = _163;
float _168 = s.f;
keepAlive_vf(_168);
s.f = _168;
float _172 = l;
keepAlive_vh(_172);
l = _172;
float _178 = f3x3[0].x;
keepAlive_vf(_178);
f3x3[0].x = _178;
return _22_colorGreen;
}
void frag_main()
{
float2 _32 = 0.0f.xx;
float4 _34 = main(_32);
sk_FragColor = _34;
}
SPIRV_Cross_Output main()
{
frag_main();
SPIRV_Cross_Output stage_output;
stage_output.sk_FragColor = sk_FragColor;
return stage_output;
}