Zebediah Figura (@zfigura) commented about tests/hlsl/fx-syntax.shader_test:
}
- },
- {
{
Filter = ANISOTROPIC;
},
{
Filter = ANISOTROPIC;
}
- }
+};
+float4 main() : sv_target { return 0; }
+% Arrays of size 1 can still use a single state block without the need to put it inside a list.
There's a lot of tests for valid array usage, but not invalid array usage. What if the count is mismatched? Can an array of size 1 take interior braces? Can a non-array take interior braces?