From 01147481f906289c05391186db97306b5a807a0b Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Fri, 17 Jul 2020 22:15:42 +1200 Subject: [PATCH] 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: --- src/gallium/drivers/panfrost/pan_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2