yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
8ba5ca7c
main-tot
1struct PSInput 2{ 3float4 pos : SV_POSITION ; 4} ; 5 6float adjust ( float x ) 7{ 8return saturate ( x ) ; 9} 10 11float4 main ( PSInput input ) : SV_Target 12{ 13float f = input . pos . x ; 14 15return float4 ( adjust (( f + 1.0 ) ++ ) , 0.0 , 0.0 , 1.0 ) ; 16}