summaryrefslogtreecommitdiffstats
path: root/src/broadcom/Makefile.sources
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-04-11 11:12:01 -0700
committerEric Anholt <[email protected]>2019-04-12 16:16:58 -0700
commitdc402be73e4bbb9b43213a4266b98a46092e3038 (patch)
tree2ceedd9ccee93e28f7e661f0e0155b651e15608f /src/broadcom/Makefile.sources
parent18ed82b084c79bf63666f2da22e5d675fb01aa26 (diff)
v3d: Use the new lower_to_scratch implementation for indirects on temps.
We can use the same register spilling infrastructure for our loads/stores of indirect access of temp variables, instead of doing an if ladder. Cuts 50% of instructions and max-temps from 2 KSP shaders in shader-db. Also causes several other KSP shaders with large bodies and large loop counts to not be force-unrolled. The change was originally motivated by NOLTIS slightly modifying register pressure in piglit temp mat4 array read/write tests, triggering register allocation failures.
Diffstat (limited to 'src/broadcom/Makefile.sources')
-rw-r--r--src/broadcom/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/broadcom/Makefile.sources b/src/broadcom/Makefile.sources
index 568e7b8701b..e759b545496 100644
--- a/src/broadcom/Makefile.sources
+++ b/src/broadcom/Makefile.sources
@@ -41,6 +41,7 @@ BROADCOM_FILES = \
compiler/v3d_compiler.h \
compiler/v3d_nir_lower_image_load_store.c \
compiler/v3d_nir_lower_io.c \
+ compiler/v3d_nir_lower_scratch.c \
compiler/v3d_nir_lower_txf_ms.c \
qpu/qpu_disasm.c \
qpu/qpu_disasm.h \