mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
r600: add support for valid pixel mode on CF clauses
This just adds support to the assembler for setting the valid pixel mode on the CF clause. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
d584b4671f
commit
90ca378080
2 changed files with 2 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ int eg_bytecode_cf_build(struct r600_bytecode *bc, struct r600_bytecode_cf *cf)
|
|||
bc->bytecode[id++] = S_SQ_CF_WORD0_ADDR(cf->addr >> 1);
|
||||
bc->bytecode[id++] = S_SQ_CF_WORD1_CF_INST(opcode) |
|
||||
S_SQ_CF_WORD1_BARRIER(1) |
|
||||
S_SQ_CF_WORD1_VALID_PIXEL_MODE(cf->vpm) |
|
||||
S_SQ_CF_WORD1_COUNT((cf->ndw / 4) - 1);
|
||||
} else if (cfop->flags & CF_EXP) {
|
||||
/* EXPORT instructions */
|
||||
|
|
|
|||
|
|
@ -180,6 +180,7 @@ struct r600_bytecode_cf {
|
|||
unsigned eg_alu_extended;
|
||||
unsigned barrier;
|
||||
unsigned end_of_program;
|
||||
unsigned vpm;
|
||||
struct list_head alu;
|
||||
struct list_head tex;
|
||||
struct list_head vtx;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue