44 lines
668 B
HLSL
44 lines
668 B
HLSL
cbuffer _UniformBuffer : register(b0, space0)
|
|
{
|
|
float _10_unknownInput : packoffset(c0);
|
|
};
|
|
|
|
|
|
static float4 sk_FragColor;
|
|
|
|
struct SPIRV_Cross_Output
|
|
{
|
|
float4 sk_FragColor : SV_Target0;
|
|
};
|
|
|
|
float4 main(float2 _24)
|
|
{
|
|
float4 color = 0.0f.xxxx;
|
|
if (_10_unknownInput == 1.0f)
|
|
{
|
|
color.y = 1.0f;
|
|
}
|
|
if (_10_unknownInput == 2.0f)
|
|
{
|
|
}
|
|
else
|
|
{
|
|
color.w = 1.0f;
|
|
}
|
|
return color;
|
|
}
|
|
|
|
void frag_main()
|
|
{
|
|
float2 _20 = 0.0f.xx;
|
|
sk_FragColor = main(_20);
|
|
}
|
|
|
|
SPIRV_Cross_Output main()
|
|
{
|
|
frag_main();
|
|
SPIRV_Cross_Output stage_output;
|
|
stage_output.sk_FragColor = sk_FragColor;
|
|
return stage_output;
|
|
}
|