From 3f98ca53ca42227c50a1c77894fa84e26a8f8e79 Mon Sep 17 00:00:00 2001 From: Conor McCarthy Date: Thu, 12 Sep 2024 11:07:17 +1000 Subject: [PATCH] vkd3d: Access the current range via the declared pointer in d3d12_root_signature_init_root_descriptor_tables(). --- libs/vkd3d/state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/vkd3d/state.c b/libs/vkd3d/state.c index fb377177..64987ac7 100644 --- a/libs/vkd3d/state.c +++ b/libs/vkd3d/state.c @@ -1266,8 +1266,8 @@ static HRESULT d3d12_root_signature_init_root_descriptor_tables(struct d3d12_roo ++cur_binding; } - table->ranges[j].vk_binding_count = table->ranges[j].descriptor_count; - table->ranges[j].binding = vk_binding; + range->vk_binding_count = range->descriptor_count; + range->binding = vk_binding; context->current_binding = cur_binding; }