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:
Matteo Bruni 2012-07-20 16:37:39 +02:00 committed by Alexandre Julliard
parent f2b5f71218
commit fbb7e20ffd
1 changed files with 1 additions and 1 deletions

View File

@ -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
{