vkd3d-shader/hlsl: Fix texture reservation trace.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2021-11-09 13:54:39 +01:00 committed by Alexandre Julliard
parent ecf1180c35
commit 1227891db9

View File

@ -1261,7 +1261,7 @@ static void allocate_textures(struct hlsl_ctx *ctx)
var->reg.id = var->reg_reservation.index; var->reg.id = var->reg_reservation.index;
var->reg.allocated = true; var->reg.allocated = true;
TRACE("Allocated reserved %s to t%u.\n", var->name, index); TRACE("Allocated reserved %s to t%u.\n", var->name, var->reg_reservation.index);
} }
else if (!var->reg_reservation.type) else if (!var->reg_reservation.type)
{ {