HLSL: Fix 1201: Accept 'layout' as an identifier.

This commit is contained in:
John Kessenich
2017-12-29 20:59:13 -07:00
parent 046bae0bab
commit fd1e8a78a8
3 changed files with 114 additions and 85 deletions

View File

@@ -14,5 +14,6 @@ tbuffer tbufName2 : layout(set=4,binding=7) {
float4 PixelShaderFunction(float4 input) : COLOR0
{
return input + v1 + v5 + v1PostLayout;
float4 layout = 2.0;
return input + v1 + v5 + v1PostLayout * layout;
}