Skip to content

vrend: blend: Fix missed glColorMask call

Lepton Wu requested to merge lepton/virglrenderer:colormask into master

One bug was found when running dEQP-GLES3.functional.fragment_out.random.*. If run them one by one, they pass. If run them all together, some cases fails. The fix is: when independent_blend_enable changes from true to false, we should call glColorMask, otherwise color masks for some color buffers could stay in stale states.

Signed-off-by: Lepton Wu lepton@chromium.org

Merge request reports