yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
714e58b2
main
1float VertexShaderFunctionS (float inF0 ,float inF1 ) 2{ 3frexp (inF0 ,inF1 ); 4return 0.0 ; 5} 6 7float2 VertexShaderFunction2 (float2 inF0 ,float2 inF1 ) 8{ 9frexp (inF0 ,inF1 ); 10return float2 (1 ,2 ); 11} 12 13float3 VertexShaderFunction3 (float3 inF0 ,float3 inF1 ) 14{ 15frexp (inF0 ,inF1 ); 16return float3 (1 ,2 ,3 ); 17} 18 19float4 VertexShaderFunction4 (float4 inF0 ,float4 inF1 ) 20{ 21frexp (inF0 ,inF1 ); 22return float4 (1 ,2 ,3 ,4 ); 23} 24 25// TODO: FXC doesn't accept this with (), but glslang doesn't accept it without. 26#define MATFNS () \ 27 frexp(inF0, inF1); 28