Resolve issue #700: allow initializers on struct members.

This commit is contained in:
John Kessenich 2017-02-02 15:16:20 -07:00
parent 32fd5d26e3
commit 18adbdbbb8
4 changed files with 35 additions and 2 deletions

View file

@ -34,3 +34,8 @@ float4 ShaderFunction(float4 input) : COLOR0
return input * a1;
}
cbuffer Constants
{
float a = 1.0f, b, c = 2.0f;
};