glslang/Test/hlsl.float1.frag

8 lines
160 B
GLSL
Raw Normal View History

float1 f1 = float1(1.0);
float scalar = 2.0;
float1 ShaderFunction(float1 inFloat1, float inScalar) : COLOR0
{
return f1 * scalar + inFloat1 * inScalar;
}