HLSL: Allow empty struct initializers

Review request: does this harm GLSL in any way?
This commit is contained in:
steve-lunarg 2017-04-27 18:22:52 -06:00
parent 7cca140956
commit c0043cda82
4 changed files with 121 additions and 6 deletions

View file

@ -0,0 +1,8 @@
struct Test { };
static const Test Test_Empty;
float4 main(in uint vertexIndex : VERTEXID) : VS_OUT_POSITION
{
return 0;
}