Module: Mesa Branch: master Commit: 3fcf18634ce2dc883c60aeee48a31f90010be278 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3fcf18634ce2dc883c60aeee48a31f90010be278
Author: Rob Clark <[email protected]> Date: Tue Oct 31 12:34:23 2017 -0400 freedreno/ir3: remove bogus assert The ssbo atomic instructions are not vectorized. So num_components is not expected to be valid. Signed-off-by: Rob Clark <[email protected]> --- src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index 764aeb49f1..d5db8e57ff 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c @@ -1489,7 +1489,6 @@ emit_intrinsic(struct ir3_compile *ctx, nir_intrinsic_instr *intr) case nir_intrinsic_ssbo_atomic_exchange: case nir_intrinsic_ssbo_atomic_comp_swap: if (info->has_dest) { - compile_assert(ctx, intr->num_components == 1); dst[0] = emit_intrinsic_atomic(ctx, intr); } else { emit_intrinsic_atomic(ctx, intr); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
