mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 07:19:50 +00:00
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 <christian.gmeiner@gmail.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14361>
This commit is contained in:
parent
41179b665b
commit
b497e454b3
@ -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)
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user