bgfx/3rdparty/glslang/Test/hlsl.y-negate-3.vert
Branimir Karadžić 65d402479f Updated glslang.
2017-12-15 19:24:31 -08:00

19 lines
254 B
GLSL

// Test Y negation from entry point out parameter
float4 position;
struct VS_OUT {
float4 pos : SV_Position;
int somethingelse;
};
VS_OUT main()
{
VS_OUT vsout;
vsout.pos = position;
vsout.somethingelse = 42;
return vsout;
}