mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-24 07:50:26 +00:00
r600/sb: handle lds special dest registers.
This adds lds to the geom emit handling Acked-By: Roland Scheidegger <sroland@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
d72590032f
commit
046cf68cad
@ -294,7 +294,7 @@ void bc_finalizer::finalize_alu_group(alu_group_node* g, node *prev_node) {
|
||||
value *d = n->dst.empty() ? NULL : n->dst[0];
|
||||
|
||||
if (d && d->is_special_reg()) {
|
||||
assert((n->bc.op_ptr->flags & AF_MOVA) || d->is_geometry_emit());
|
||||
assert((n->bc.op_ptr->flags & AF_MOVA) || d->is_geometry_emit() || d->is_lds_oq() || d->is_lds_access());
|
||||
d = NULL;
|
||||
}
|
||||
|
||||
|
@ -1663,7 +1663,7 @@ unsigned post_scheduler::try_add_instruction(node *n) {
|
||||
value *d = a->dst.empty() ? NULL : a->dst[0];
|
||||
|
||||
if (d && d->is_special_reg()) {
|
||||
assert((a->bc.op_ptr->flags & AF_MOVA) || d->is_geometry_emit());
|
||||
assert((a->bc.op_ptr->flags & AF_MOVA) || d->is_geometry_emit() || d->is_lds_oq() || d->is_lds_access());
|
||||
d = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user