diff options
Diffstat (limited to 'src/amd/vulkan/radv_pipeline.c')
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index ccbcbbadd55..113622bb0ce 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -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. |