diff --git a/src/freedreno/registers/adreno/a6xx.xml b/src/freedreno/registers/adreno/a6xx.xml index e25410c6da1..8c3ae7f90fd 100644 --- a/src/freedreno/registers/adreno/a6xx.xml +++ b/src/freedreno/registers/adreno/a6xx.xml @@ -1927,7 +1927,6 @@ by a particular renderpass/blit. - 0.0 if GREATER - 1.0 if LESS - @@ -1941,11 +1940,14 @@ by a particular renderpass/blit. Disable LRZ based on previous direction and the current one. If DIR_WRITE is not enabled - there is no write to direction buffer. - - + + + + + diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.cc b/src/gallium/drivers/freedreno/a6xx/fd6_emit.cc index cf360036462..33f1c25ac9c 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.cc +++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.cc @@ -232,9 +232,9 @@ build_lrz(struct fd6_emit *emit) assert_dt .enable = lrz.enable, .lrz_write = lrz.write, .greater = lrz.direction == FD_LRZ_GREATER, - .fc_enable = false, /* a6xx only */ .z_write_enable = lrz.test, .z_bounds_enable = lrz.z_bounds_enable, + .fc_enable = false, /* a6xx only */ .disable_on_wrong_dir = false, /* a6xx only */ )) .add(A6XX_RB_LRZ_CNTL(.enable = lrz.enable, ))