summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a6xx/fd6_blend.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-10-04 15:06:12 -0400
committerRob Clark <[email protected]>2018-10-08 19:05:14 -0400
commit82c3b6fe49b829c4d07734df00ea9fcf2a74bc1a (patch)
tree94cd1b89af07c52d82db7bc626ad74faf7aeee9b /src/gallium/drivers/freedreno/a6xx/fd6_blend.c
parenta877451a415f7450d3b09f3ff5dbbd0b7c30a62e (diff)
freedreno/a6xx: add LRZ support
As with a5xx, hidden behind FD_MESA_DEBUG=lrz due to being paranoid about z-fighting issues with some games (in particular, this was observed with 0ad on a5xx.. but I think the proper solution to enable this by default is to figure out how to do driver specific driconf options). Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a6xx/fd6_blend.c')
-rw-r--r--src/gallium/drivers/freedreno/a6xx/fd6_blend.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_blend.c b/src/gallium/drivers/freedreno/a6xx/fd6_blend.c
index e62163e797c..185b061cd1e 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_blend.c
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_blend.c
@@ -91,8 +91,6 @@ fd6_blend_state_create(struct pipe_context *pctx,
so->base = *cso;
- so->lrz_write = true; /* unless blend enabled for any MRT */
-
for (i = 0; i < ARRAY_SIZE(so->rb_mrt); i++) {
const struct pipe_rt_blend_state *rt;
@@ -128,7 +126,6 @@ fd6_blend_state_create(struct pipe_context *pctx,
A6XX_RB_MRT_CONTROL_BLEND |
A6XX_RB_MRT_CONTROL_BLEND2;
mrt_blend |= (1 << i);
- so->lrz_write = false;
}
if (reads_dest) {