yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
714e58b2
vulkan-sdk-1.4.363.0
1 2float PixelShaderFunctionS ( float inF0 , float inF1 ) 3{ 4float r000 = frexp ( inF0 , inF1 ) ; 5return 0.0 ; 6} 7 8float2 PixelShaderFunction2 ( float2 inF0 , float2 inF1 ) 9{ 10float2 r000 = frexp ( inF0 , inF1 ) ; 11return float2 ( 1 , 2 ) ; 12} 13 14float3 PixelShaderFunction3 ( float3 inF0 , float3 inF1 ) 15{ 16float3 r000 = frexp ( inF0 , inF1 ) ; 17return float3 ( 1 , 2 , 3 ) ; 18} 19 20float4 PixelShaderFunction ( float4 inF0 , float4 inF1 ) 21{ 22float4 r000 = frexp ( inF0 , inF1 ) ; 23return float4 ( 1 , 2 , 3 , 4 ) ; 24} 25 26// TODO: FXC doesn't accept this with (), but glslang doesn't accept it without. 27#define MATFNS ( MT ) \ 28MT r000 = frexp ( inF0 , inF1 ) ; 29 30struct PS_OUTPUT { float4 color : SV_Target0 ; } ; 31 32PS_OUTPUT main () 33{ 34PS_OUTPUT ps_output ; 35ps_output . color = 1.0 ; 36return ps_output ; 37} ;