From 1227891db9f220727a0a8a92ad22b1b9c8e95016 Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Tue, 9 Nov 2021 13:54:39 +0100 Subject: [PATCH] vkd3d-shader/hlsl: Fix texture reservation trace. Signed-off-by: Matteo Bruni Signed-off-by: Henri Verbeet Signed-off-by: Giovanni Mascellani Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- libs/vkd3d-shader/hlsl_codegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d-shader/hlsl_codegen.c b/libs/vkd3d-shader/hlsl_codegen.c index 4a7e003f..7ff68b84 100644 --- a/libs/vkd3d-shader/hlsl_codegen.c +++ b/libs/vkd3d-shader/hlsl_codegen.c @@ -1261,7 +1261,7 @@ static void allocate_textures(struct hlsl_ctx *ctx) var->reg.id = var->reg_reservation.index; 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) {