diff options
author | Marek Olšák <[email protected]> | 2018-01-31 04:37:00 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-02-09 15:52:22 +0100 |
commit | 76085f2048d426ae5fd35b26bae2141c6cfeba28 (patch) | |
tree | bc95eb06a201b71bc1ee86c0bd0ecfbcb88de7cd /src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp | |
parent | c446dd7927477e68e9a961acb1727ff53fb7ea4f (diff) |
st/mesa: generate blend state according to the number of enabled color buffers
Non-MRT cases always translate blend state for 1 color buffer only.
MRT cases only check and translate blend state for enabled color buffers.
This also avoids an assertion failure in translate_blend for:
dEQP-GLES31.functional.draw_buffers_indexed.overwrite_common.common_advanced_blend_eq_buffer_blend_eq
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_glsl_to_tgsi_private.cpp')
0 files changed, 0 insertions, 0 deletions