Module: vkd3d Branch: master Commit: 2247288003ef62507f196fe1fc7659e2f5da9dd7 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/2247288003ef62507f196fe1fc7659...
Author: Zebediah Figura zfigura@codeweavers.com Date: Sat Jan 13 18:53:01 2024 -0600
vkd3d-shader/tpf: Set the user-packed flag for sm5.0 resources as well.
---
libs/vkd3d-shader/tpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/vkd3d-shader/tpf.c b/libs/vkd3d-shader/tpf.c index 038a97d9..4d065831 100644 --- a/libs/vkd3d-shader/tpf.c +++ b/libs/vkd3d-shader/tpf.c @@ -3285,7 +3285,7 @@ static struct extern_resource *sm4_get_extern_resources(struct hlsl_ctx *ctx, un
extern_resources[*count].name = name; extern_resources[*count].data_type = component_type; - extern_resources[*count].is_user_packed = false; + extern_resources[*count].is_user_packed = !!var->reg_reservation.reg_type;
extern_resources[*count].regset = regset; extern_resources[*count].id = var->regs[regset].id + regset_offset;