vkd3d-shader: Write the SM1 constant table.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2021-04-15 19:03:46 -05:00
committed by Alexandre Julliard
parent f0d2a6d384
commit b87e9b0652
7 changed files with 344 additions and 3 deletions

View File

@@ -765,6 +765,7 @@ static bool add_func_parameter(struct hlsl_ctx *ctx, struct list *list,
if (!(var = hlsl_new_var(param->name, param->type, loc, param->semantic, param->reg_reservation)))
return false;
var->is_param = 1;
if (param->type->type != HLSL_CLASS_OBJECT)
{