From b497e454b3cb3ad96ff5dc3ac66608d51e0c5449 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Sat, 1 Jan 2022 16:01:35 +0100 Subject: [PATCH] vc4: 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: Iago Toral Quiroga Reviewed-by: Juan A. Suarez Reviewed-by: Emma Anholt Part-of: --- docs/features.txt | 2 +- src/gallium/drivers/vc4/vc4_screen.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index defc7f2e0ac..5fd2654cb3d 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, vc4, panfrost, lima) + GL_ARB_occlusion_query2 DONE (v3d, panfrost, lima) 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/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index cc1a6c39d3d..da6b5b7741f 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -158,7 +158,6 @@ vc4_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) DRM_VC4_PARAM_SUPPORTS_FIXED_RCL_ORDER); /* lying for GL 2.0 */ - case PIPE_CAP_OCCLUSION_QUERY: case PIPE_CAP_POINT_SPRITE: return 1;