vkd3d-shader/tpf: Put the actual bind count in the RDEF table.

This commit is contained in:
Francisco Casas
2023-08-03 21:02:11 -04:00
committed by Alexandre Julliard
parent 7eba063136
commit 81afe43569
Notes: Alexandre Julliard 2023-08-15 22:06:06 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/299
3 changed files with 6 additions and 1 deletions

View File

@@ -3192,7 +3192,7 @@ static struct extern_resource *sm4_get_extern_resources(struct hlsl_ctx *ctx, un
extern_resources[*count].regset = regset;
extern_resources[*count].id = var->regs[regset].id;
extern_resources[*count].bind_count = var->regs[regset].allocation_size;
extern_resources[*count].bind_count = var->bind_count[regset];
++*count;
}