lavapipe: fix bitmask type for sampler updating

need 32bit to contain all the bits here

cc: mesa-stable

Konstantin Seurer <konstantin.seurer@gmail.com>

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32931>
This commit is contained in:
Mike Blumenkrantz
2024-10-25 08:48:45 -04:00
committed by Marge Bot
parent e2023474b4
commit 4d1ed5d66d
+1 -1
View File
@@ -4498,7 +4498,7 @@ bind_db_samplers(struct rendering_state *state, enum lvp_pipeline_type pipeline_
return;
}
uint8_t *db = state->desc_buffer_addrs[buffer_index] + state->desc_buffer_offsets[pipeline_type][set].offset;
uint8_t did_update = 0;
uint32_t did_update = 0;
for (uint32_t binding_index = 0; binding_index < set_layout->binding_count; binding_index++) {
const struct lvp_descriptor_set_binding_layout *bind_layout = &set_layout->binding[binding_index];
if (!bind_layout->immutable_samplers)