r600: don't merge GDS into VTX
We don't want vtx/tex instructions ending up in GDS sections. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
043f16eba1
commit
ccab3f7e1b
|
@ -1332,6 +1332,7 @@ static unsigned r600_bytecode_num_tex_and_vtx_instructions(const struct r600_byt
|
||||||
static inline boolean last_inst_was_not_vtx_fetch(struct r600_bytecode *bc)
|
static inline boolean last_inst_was_not_vtx_fetch(struct r600_bytecode *bc)
|
||||||
{
|
{
|
||||||
return !((r600_isa_cf(bc->cf_last->op)->flags & CF_FETCH) &&
|
return !((r600_isa_cf(bc->cf_last->op)->flags & CF_FETCH) &&
|
||||||
|
bc->cf_last->op != CF_OP_GDS &&
|
||||||
(bc->chip_class == CAYMAN ||
|
(bc->chip_class == CAYMAN ||
|
||||||
bc->cf_last->op != CF_OP_TEX));
|
bc->cf_last->op != CF_OP_TEX));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue