mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
iris: use images_used instead of num_images
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18670>
This commit is contained in:
parent
1e29a1a8c5
commit
3ae84ea225
1 changed files with 1 additions and 1 deletions
|
|
@ -923,7 +923,7 @@ iris_setup_binding_table(const struct intel_device_info *devinfo,
|
|||
bt->used_mask[IRIS_SURFACE_GROUP_TEXTURE_HIGH64] =
|
||||
info->textures_used[2] | ((uint64_t)info->textures_used[3]) << 32;
|
||||
|
||||
bt->sizes[IRIS_SURFACE_GROUP_IMAGE] = info->num_images;
|
||||
bt->sizes[IRIS_SURFACE_GROUP_IMAGE] = BITSET_LAST_BIT(info->images_used);
|
||||
|
||||
/* Allocate an extra slot in the UBO section for NIR constants.
|
||||
* Binding table compaction will remove it if unnecessary.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue