Skip to content

shader: Skip explicit location for dual_src_blend

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

If host support dual_src_blend extension, it's possible we need to call glBindFragDataLocationIndexed to set fragment output location. We can't explicitly set it in GLSL in such cases.

Fixes: b17ba74a ("shader: Add layout qualifier to fragment shader outputs") Signed-off-by: Lepton Wu lepton@chromium.org

Merge request reports

Loading