From: Rob Clark Date: Tue, 31 Oct 2017 16:34:23 +0000 (-0400) Subject: freedreno/ir3: remove bogus assert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3fcf18634ce2dc883c60aeee48a31f90010be278;p=mesa.git 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 --- diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index 764aeb49f1a..d5db8e57ffb 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);