mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 17:18:11 +02:00
broadcom/compiler: Don't forget the discard state on TLB Z writes.
We don't want to write Z for discarded fragments.
This commit is contained in:
parent
84939552d0
commit
4c4fbab345
1 changed files with 1 additions and 0 deletions
|
|
@ -1031,6 +1031,7 @@ emit_frag_end(struct v3d_compile *c)
|
|||
struct qinst *inst = vir_MOV_dest(c,
|
||||
vir_reg(QFILE_TLBU, 0),
|
||||
c->outputs[c->output_position_index]);
|
||||
vir_set_cond(inst, discard_cond);
|
||||
|
||||
inst->src[vir_get_implicit_uniform_src(inst)] =
|
||||
vir_uniform_ui(c,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue