freedreno: Introduce a "cpp_shift" value for cpp divs/muls.
authorEric Anholt <eric@anholt.net>
Tue, 14 Apr 2020 21:35:05 +0000 (14:35 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Apr 2020 16:37:50 +0000 (16:37 +0000)
commitbd76a24fd130bb5a45fea72a3041104ccfb4a8d1
tree929aa5456cccf666ac9401733115844cd4ecaaed
parent6a6e71524dc8d6795c7d6188538c8496f2f4c025
freedreno: Introduce a "cpp_shift" value for cpp divs/muls.

This only converts part of the driver to use it, leaving the rest to the
following commit (which inspired this one).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4558>
src/freedreno/fdl/fd6_layout.c
src/freedreno/fdl/freedreno_layout.c
src/freedreno/fdl/freedreno_layout.h
src/gallium/drivers/freedreno/a3xx/fd3_gmem.c
src/gallium/drivers/freedreno/a4xx/fd4_gmem.c
src/gallium/drivers/freedreno/a5xx/fd5_gmem.c
src/gallium/drivers/freedreno/freedreno_resource.c