HLSL: Handle const with no initializer. Fixes issue #651.

This commit is contained in:
John Kessenich
2016-12-30 16:42:57 -07:00
parent 53864846a9
commit aa6d56298d
5 changed files with 50 additions and 3 deletions

View File

@@ -31,3 +31,6 @@ outs PixelShaderFunction(float4 input) : COLOR0
return o4;
}
static const float2 cgf2a[3];
static const int ci;