From b2ae4b2ac4b6acb6407bdab11de802f6c5d2acc3 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Sat, 1 Jan 2022 16:09:21 +0100 Subject: [PATCH] lima: remove not needed lie about PIPE_CAP_OCCLUSION_QUERY Occlusion queries are supported always but only the number of supported samples differ. Signed-off-by: Christian Gmeiner Reviewed-by: Vasily Khoruzhick Reviewed-by: Emma Anholt Part-of: --- docs/features.txt | 2 +- src/gallium/drivers/lima/lima_screen.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 5fd2654cb3d..c666b8e204b 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -101,7 +101,7 @@ GL 3.3, GLSL 3.30 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llv GL_ARB_blend_func_extended DONE (freedreno/a3xx, freedreno/a6xx, panfrost, lima) GL_ARB_explicit_attrib_location DONE (all drivers that support GLSL) - GL_ARB_occlusion_query2 DONE (v3d, panfrost, lima) + GL_ARB_occlusion_query2 DONE (v3d, panfrost) GL_ARB_sampler_objects DONE (all drivers) GL_ARB_shader_bit_encoding DONE (v3d, panfrost) GL_ARB_texture_rgb10_a2ui DONE (panfrost) diff --git a/src/gallium/drivers/lima/lima_screen.c b/src/gallium/drivers/lima/lima_screen.c index f3d9a4be026..d30c054f4f4 100644 --- a/src/gallium/drivers/lima/lima_screen.c +++ b/src/gallium/drivers/lima/lima_screen.c @@ -109,7 +109,6 @@ lima_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; /* Unimplemented, but for exporting OpenGL 2.0 */ - case PIPE_CAP_OCCLUSION_QUERY: case PIPE_CAP_POINT_SPRITE: return 1;