Commit 4d08c1e7 authored by Eric Engestrom's avatar Eric Engestrom
Browse files

radv: fix bitwise check

Fixes: 922cd381

 "radv: implement out-of-order rasterization when it's safe on VI+"
Signed-off-by: default avatarEric Engestrom <>
Reviewed-by: default avatarSamuel Pitoiset <>
parent e8eb8482
......@@ -622,7 +622,7 @@ radv_blend_check_commutativity(struct radv_blend_state *blend,
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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment