svga: Implement GL_ARB_conditional_render_inverted

This was already supported if we have the DX10 SetPredication command.
We are already handling the conditional correctly in svga_render_condition.
The support is indicated by have_set_predication_cmd.

Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39619>
This commit is contained in:
Ian Forbes 2026-01-29 12:52:32 -06:00 committed by Marge Bot
parent db4bc5407f
commit 9e7f757f0f
2 changed files with 2 additions and 1 deletions

View file

@ -215,7 +215,7 @@ GL 4.5, GLSL 4.50 -- all DONE: freedreno/a6xx, nvc0, r600, radeonsi, llvmpipe, v
GL_ARB_ES3_1_compatibility DONE (freedreno/a6xx, softpipe)
GL_ARB_clip_control DONE (freedreno, nv50, softpipe, lima, panfrost, crocus)
GL_ARB_conditional_render_inverted DONE (freedreno, nv50, softpipe, panfrost, crocus/gen6+)
GL_ARB_conditional_render_inverted DONE (freedreno, nv50, softpipe, panfrost, crocus/gen6+, svga)
GL_ARB_cull_distance DONE (freedreno/a6xx, nv50, softpipe, crocus/gen6+)
GL_ARB_derivative_control DONE (freedreno/a3xx+, nv50, softpipe, crocus/gen7+, svga)
GL_ARB_direct_state_access DONE (all drivers)

View file

@ -440,6 +440,7 @@ svga_init_screen_caps(struct svga_screen *svgascreen)
caps->vertex_element_instance_divisor =
caps->seamless_cube_map =
caps->fake_sw_msaa = sws->have_vgpu10;
caps->conditional_render_inverted = sws->have_set_predication_cmd;
caps->max_stream_output_buffers = sws->have_vgpu10 ? SVGA3D_DX_MAX_SOTARGETS : 0;
caps->max_stream_output_separate_components = sws->have_vgpu10 ? 4 : 0;