It really doesn't make sense without any xfb support. One could limp
along, but our validation does not work as-is. Doesn't seem important to
support this use-case.
This disables GL_ARB_enhanced_layouts on crocus with gen4/5.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14869>
extensions->EXT_gpu_shader4 = GL_TRUE;
extensions->EXT_texture_buffer_object = GL_TRUE;
- if (screen->get_param(screen, PIPE_CAP_TGSI_ARRAY_COMPONENTS))
+ if (consts->MaxTransformFeedbackBuffers &&
+ screen->get_param(screen, PIPE_CAP_TGSI_ARRAY_COMPONENTS))
extensions->ARB_enhanced_layouts = GL_TRUE;
}