Skip to content
Snippets Groups Projects
Commit fbb7e20f authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard
Browse files

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.
parent f2b5f712
Branches
Tags
No related merge requests found
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment