summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-10-31 12:34:23 -0400
committerRob Clark <[email protected]>2017-11-10 08:57:33 -0500
commit3fcf18634ce2dc883c60aeee48a31f90010be278 (patch)
tree9dd92334e1a49630eaf87ba7e625486a5d14d25f /src/gallium
parentef4c42fc3ae468d6cb42fbb8564831549a3bdebe (diff)
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]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c1
1 files changed, 0 insertions, 1 deletions
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);