mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 17:10:11 +01:00
r600: Assert when backend wants to create a new ALU CF
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24297>
This commit is contained in:
parent
9d4104d4fb
commit
c3e5b8da58
1 changed files with 4 additions and 1 deletions
|
|
@ -1285,13 +1285,16 @@ int r600_bytecode_add_alu_type(struct r600_bytecode *bc,
|
|||
(bc->cf_last->op == CF_OP_ALU_PUSH_BEFORE && type == CF_OP_ALU)) {
|
||||
LIST_FOR_EACH_ENTRY(lalu, &bc->cf_last->alu, list) {
|
||||
if (lalu->execute_mask) {
|
||||
assert(bc->force_add_cf || !"no force cf");
|
||||
bc->force_add_cf = 1;
|
||||
break;
|
||||
}
|
||||
type = CF_OP_ALU_PUSH_BEFORE;
|
||||
}
|
||||
} else
|
||||
} else {
|
||||
assert(bc->force_add_cf ||!"no force cf");
|
||||
bc->force_add_cf = 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* cf can contains only alu or only vtx or only tex */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue