mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 09:53:54 +00:00
d3dcompiler: "void" is not a plain scalar data type.
It can't be used in expressions and the like. This change indirectly takes care of most of the checks.
This commit is contained in:
parent
f2b5f71218
commit
fbb7e20ffd
@ -568,7 +568,7 @@ type: base_type
|
||||
|
||||
base_type: KW_VOID
|
||||
{
|
||||
$$ = new_hlsl_type(d3dcompiler_strdup("void"), HLSL_CLASS_SCALAR, HLSL_TYPE_VOID, 1, 1);
|
||||
$$ = new_hlsl_type(d3dcompiler_strdup("void"), HLSL_CLASS_OBJECT, HLSL_TYPE_VOID, 1, 1);
|
||||
}
|
||||
| KW_SAMPLER
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user