[PATCH vkd3d] vkd3d-shader/hlsl: Fix texture reservation trace.

Giovanni Mascellani gmascellani at codeweavers.com
Tue Nov 9 10:14:35 CST 2021


Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>

On 09/11/21 13:54, Matteo Bruni wrote:
> Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
> ---
>   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 24b8205c..0bf18c2b 100644
> --- a/libs/vkd3d-shader/hlsl_codegen.c
> +++ b/libs/vkd3d-shader/hlsl_codegen.c
> @@ -1240,7 +1240,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)
>           {
> 



More information about the wine-devel mailing list