mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 20:18:12 +02:00
radv: fix bitwise check
Fixes:922cd38172"radv: implement out-of-order rasterization when it's safe on VI+" Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit4d08c1e7d1)
This commit is contained in:
parent
9b8c90fc67
commit
6bc8fcbc94
1 changed files with 1 additions and 1 deletions
|
|
@ -622,7 +622,7 @@ radv_blend_check_commutativity(struct radv_blend_state *blend,
|
|||
(1u << VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA);
|
||||
|
||||
if (dst == VK_BLEND_FACTOR_ONE &&
|
||||
(src_allowed && (1u << src))) {
|
||||
(src_allowed & (1u << src))) {
|
||||
/* Addition is commutative, but floating point addition isn't
|
||||
* associative: subtle changes can be introduced via different
|
||||
* rounding. Be conservative, only enable for min and max.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue