mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 21:00:17 +01:00
zink: delete maxDescriptorBufferBindings checks
only one descriptor buffer is used now
Fixes: 13c6ad0038 ("zink: use a single descriptor buffer for all non-bindless types")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27685>
This commit is contained in:
parent
2deaf632e2
commit
b8b51d96b0
1 changed files with 0 additions and 17 deletions
|
|
@ -3466,23 +3466,6 @@ zink_internal_create_screen(const struct pipe_screen_config *config, int64_t dev
|
|||
mesa_logw("zink: bug detected: inputAttachmentDescriptorSize(%u) > %u", (unsigned)screen->info.db_props.inputAttachmentDescriptorSize, ZINK_FBFETCH_DESCRIPTOR_SIZE);
|
||||
can_db = false;
|
||||
}
|
||||
if (screen->compact_descriptors) {
|
||||
if (screen->info.db_props.maxDescriptorBufferBindings < 3) {
|
||||
if (zink_descriptor_mode == ZINK_DESCRIPTOR_MODE_DB) {
|
||||
mesa_loge("Cannot use db descriptor mode with compact descriptors with maxDescriptorBufferBindings < 3");
|
||||
goto fail;
|
||||
}
|
||||
can_db = false;
|
||||
}
|
||||
} else {
|
||||
if (screen->info.db_props.maxDescriptorBufferBindings < 5) {
|
||||
if (zink_descriptor_mode == ZINK_DESCRIPTOR_MODE_DB) {
|
||||
mesa_loge("Cannot use db descriptor mode with maxDescriptorBufferBindings < 5");
|
||||
goto fail;
|
||||
}
|
||||
can_db = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (zink_descriptor_mode == ZINK_DESCRIPTOR_MODE_AUTO) {
|
||||
/* descriptor buffer is not performant with virt yet */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue