mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-28 13:40:41 +00:00
25 lines
301 B
GLSL
25 lines
301 B
GLSL
|
|
#line 1
|
|
|
|
struct PS_OUTPUT
|
|
{
|
|
float4 Color : SV_Target0;
|
|
float Depth : SV_Depth;
|
|
};
|
|
|
|
#line 2
|
|
|
|
PS_OUTPUT main()
|
|
{
|
|
PS_OUTPUT psout;
|
|
|
|
#line 123 "SomeFile.frag"
|
|
|
|
int thisLineIs = __LINE__; // gets 124
|
|
|
|
psout.Color = float4(thisLineIs, 0, 0, 1);
|
|
psout.Depth = 1.0;
|
|
|
|
return psout;
|
|
}
|