glslang/Test/hlsl.emptystruct.init.vert
steve-lunarg c0043cda82 HLSL: Allow empty struct initializers
Review request: does this harm GLSL in any way?
2017-04-27 18:22:52 -06:00

9 lines
129 B
GLSL

struct Test { };
static const Test Test_Empty;
float4 main(in uint vertexIndex : VERTEXID) : VS_OUT_POSITION
{
return 0;
}