blob: 89b64e5c8fc7d63f6a791ed082e8b04ff3d9c7cb [file]
cbuffer _UniformBuffer : register(b0, space0)
{
float4 _12_colorGreen : packoffset(c0);
float4 _12_colorRed : packoffset(c1);
row_major float3x3 _12_testMatrix3x3 : packoffset(c2);
};
static float4 sk_FragColor;
struct SPIRV_Cross_Output
{
float4 sk_FragColor : SV_Target0;
};
float3x3 GetTestMatrix_f33()
{
return _12_testMatrix3x3;
}
float4 main(float2 _34)
{
float expected = 0.0f;
for (int i = 0; i < 3; i++)
{
for (int j = 0; j < 3; j++)
{
float _58 = expected;
float _60 = _58 + 1.0f;
expected = _60;
float3x3 _61 = GetTestMatrix_f33();
if (_61[i][j] != _60)
{
return _12_colorRed;
}
}
}
return _12_colorGreen;
}
void frag_main()
{
float2 _24 = 0.0f.xx;
sk_FragColor = main(_24);
}
SPIRV_Cross_Output main()
{
frag_main();
SPIRV_Cross_Output stage_output;
stage_output.sk_FragColor = sk_FragColor;
return stage_output;
}