소스 검색

broadcom/compiler: Don't forget the discard state on TLB Z writes.

We don't want to write Z for discarded fragments.
tags/17.3-branchpoint
Eric Anholt 9 년 전
부모
커밋
4c4fbab345
1개의 변경된 파일과 1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/broadcom/compiler/nir_to_vir.c

+ 1
- 0
src/broadcom/compiler/nir_to_vir.c 파일 보기

@@ -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…
취소
저장