this is the 6th descriptor set being bound, so don't even advertise it
if 6 sets can't be bound
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12855>
case PIPE_CAP_PRIMITIVE_RESTART:
return 1;
+ case PIPE_CAP_BINDLESS_TEXTURE:
+ return screen->info.have_EXT_descriptor_indexing &&
+ /* push, 4 types, bindless */
+ screen->info.props.limits.maxBoundDescriptorSets >= 6;
+
case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:
return screen->info.props.limits.minTexelBufferOffsetAlignment;