From: Icecream95 Date: Fri, 17 Jul 2020 10:15:42 +0000 (+1200) Subject: panfrost: Report TEXTURE_BUFFER_OBJECTS cap when gl3 flag set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01147481f906289c05391186db97306b5a807a0b;p=mesa.git panfrost: Report TEXTURE_BUFFER_OBJECTS cap when gl3 flag set OpenGL 3.3 is now reported again when PAN_MESA_DEBUG=gl3 is set. Fixes: 96fa8d70bc1 ("panfrost: Report CAPs more honestly") Reviewed-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 125f84d85c4..cd9b41d1d74 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -181,11 +181,11 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_IMAGE_LOAD_FORMATTED: case PIPE_CAP_CUBE_MAP_ARRAY: case PIPE_CAP_COMPUTE: - case PIPE_CAP_TEXTURE_BUFFER_OBJECTS: return is_deqp; case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: return is_deqp ? 65536 : 0; + case PIPE_CAP_TEXTURE_BUFFER_OBJECTS: case PIPE_CAP_QUERY_TIMESTAMP: case PIPE_CAP_CONDITIONAL_RENDER: return is_gl3;