diff options
author | Ilia Mirkin <[email protected]> | 2017-11-19 12:28:53 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2017-11-25 16:56:59 -0500 |
commit | 86f12e9377374108474b6a5d6b5dd6e9d37766db (patch) | |
tree | 06ad4fc5cfbe4cc67a32c6bd73b97ee4caea10ee /src/gallium/drivers/freedreno/Makefile.sources | |
parent | ab336e8b46b6d7016519681c59b9aedf3fea04ad (diff) |
freedreno/ir3: add a pass to lower tg4 to txl, enable gather on a4xx
Unfortunately Adreno A4xx hardware returns incorrect results with the
GATHER4 opcodes. As a result, we have to lower to 4 individual texture
calls (txl since we have to force lod to 0). We achieve this using
offsets, including on cube maps which normally never have offsets.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/Makefile.sources')
-rw-r--r-- | src/gallium/drivers/freedreno/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/Makefile.sources b/src/gallium/drivers/freedreno/Makefile.sources index b109a5a7a21..40c2eff0455 100644 --- a/src/gallium/drivers/freedreno/Makefile.sources +++ b/src/gallium/drivers/freedreno/Makefile.sources @@ -168,6 +168,7 @@ ir3_SOURCES := \ ir3/ir3_nir.c \ ir3/ir3_nir.h \ ir3/ir3_nir_lower_if_else.c \ + ir3/ir3_nir_lower_tg4_to_tex.c \ ir3/ir3_print.c \ ir3/ir3_ra.c \ ir3/ir3_sched.c \ |