vkd3d-shader/hlsl: Use cached vector types in more places.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2021-09-27 20:51:45 -05:00
committed by Alexandre Julliard
parent 98cfd7b09f
commit b8502ed51c
2 changed files with 2 additions and 2 deletions

View File

@@ -2397,7 +2397,7 @@ type:
YYABORT;
}
$$ = hlsl_new_type(ctx, NULL, HLSL_CLASS_VECTOR, $3->base_type, $5, 1);
$$ = ctx->builtin_types.vector[$3->base_type][$5 - 1];
}
| KW_MATRIX '<' type ',' C_INTEGER ',' C_INTEGER '>'
{