Add support for pre and post HLSL qualifier validation
The change makes it possible to define a const variable after the marked type. Example "float const"
This commit is contained in:
parent
4ae01c5f41
commit
44779f508a
3 changed files with 20 additions and 22 deletions
|
|
@ -5,7 +5,7 @@ float4 fun0()
|
|||
|
||||
float4 fun2(float4 const col)
|
||||
{
|
||||
return (1, 2, 3, 4);
|
||||
return (1.0f, 2.0f, 3.0f, 4.0f);
|
||||
}
|
||||
|
||||
uint fun3(const float4 col)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue