From 3fcf18634ce2dc883c60aeee48a31f90010be278 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 31 Oct 2017 12:34:23 -0400 Subject: 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 --- src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/drivers/freedreno') 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); -- cgit v1.2.3