bgfx/3rdparty/glslang/Test/hlsl.float1.frag
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

8 lines
182 B
GLSL

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