zink: drop requirement for 6 descriptorsets to use bindless

compact mode takes care of this

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16755>
This commit is contained in:
Mike Blumenkrantz 2022-05-27 14:46:30 -04:00 committed by Marge Bot
parent 3304e5b5fb
commit 41fce7ae57

View file

@ -611,9 +611,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return 1;
case PIPE_CAP_BINDLESS_TEXTURE:
return screen->info.have_EXT_descriptor_indexing &&
/* push, 4 types, bindless */
screen->info.props.limits.maxBoundDescriptorSets >= 6;
return screen->info.have_EXT_descriptor_indexing;
case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:
return screen->info.props.limits.minTexelBufferOffsetAlignment;