r600g: fixed the bug with VTX fetches in TEX clauses for evergreen
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
d0f6274489
commit
4731f1f52d
1 changed files with 6 additions and 7 deletions
|
|
@ -2026,13 +2026,12 @@ int r600_bytecode_build(struct r600_bytecode *bc)
|
|||
}
|
||||
break;
|
||||
case EG_V_SQ_CF_WORD1_SQ_CF_INST_TEX:
|
||||
if (bc->chip_class == CAYMAN) {
|
||||
LIST_FOR_EACH_ENTRY(vtx, &cf->vtx, list) {
|
||||
r = r600_bytecode_vtx_build(bc, vtx, addr);
|
||||
if (r)
|
||||
return r;
|
||||
addr += 4;
|
||||
}
|
||||
LIST_FOR_EACH_ENTRY(vtx, &cf->vtx, list) {
|
||||
assert(bc->chip_class >= EVERGREEN);
|
||||
r = r600_bytecode_vtx_build(bc, vtx, addr);
|
||||
if (r)
|
||||
return r;
|
||||
addr += 4;
|
||||
}
|
||||
LIST_FOR_EACH_ENTRY(tex, &cf->tex, list) {
|
||||
r = r600_bytecode_tex_build(bc, tex, addr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue