Skip to content

ac: Fix emit_split_buffer_store modulus operation.

Vinson Lee requested to merge vlee/mesa:fix-cid-1474409 into master

Fix defect reported by Coverity Scan.

Operands don't affect result (CONSTANT_EXPRESSION_RESULT) result_independent_of_operands: start_byte % 2 == 2 is always false regardless of the values of its operands. This occurs as the logical operand of if.

Fixes: 3185cb7d ("ac: Add NIR passes to lower ES->GS I/O to memory accesses.") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports