HLSL: Fix 1201: Accept 'layout' as an identifier.
This commit is contained in:
parent
046bae0bab
commit
fd1e8a78a8
3 changed files with 114 additions and 85 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue