projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef4c42f
)
freedreno/ir3: remove bogus assert
author
Rob Clark
<robdclark@gmail.com>
Tue, 31 Oct 2017 16:34:23 +0000
(12:34 -0400)
committer
Rob Clark
<robdclark@gmail.com>
Fri, 10 Nov 2017 13:57:33 +0000
(08:57 -0500)
The ssbo atomic instructions are not vectorized. So num_components is
not expected to be valid.
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
index 764aeb49f1a7418a8fa26f389386c9d10a4970f3..d5db8e57ffb4fb632852f1dce0e5fdc26fb95f7d 100644
(file)
--- 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);