mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
lavapipe: fix bitmask type for sampler updating
need 32bit to contain all the bits here
cc: mesa-stable
Konstantin Seurer <konstantin.seurer@gmail.com>
(cherry picked from commit 4d1ed5d66d)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33113>
This commit is contained in:
parent
26b10842a9
commit
993dbad958
2 changed files with 2 additions and 2 deletions
|
|
@ -644,7 +644,7 @@
|
|||
"description": "lavapipe: fix bitmask type for sampler updating",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -4499,7 +4499,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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue