2
freedreno/ir3: remap FRAG_RESULT_COLOR to _DATA* for dual-src blending
source link: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8245
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
freedreno/ir3: remap FRAG_RESULT_COLOR to _DATA* for dual-src blending
gl_SecondaryFragColorEXT
is mapped to FRAG_RESULT_COLOR
and just
have a different io.dual_source_blend_index
. We don't need to replicate
the color to other render targets in case of dual source blending, so
we could just remap it to FRAG_RESULT_DATA0
+ index
.
Fixes piglit test:
arb_blend_func_extended-fbo-extended-blend-pattern_gles2
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK