summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/Makefile.sources
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-03-12 17:18:33 -0400
committerRob Clark <[email protected]>2015-04-05 16:36:40 -0400
commit8b0b81339b9c3806981ee2ec7c08501bbd8bb7a3 (patch)
treeeae4eef9cb4804ad345ea16f72b89159620837f9 /src/gallium/drivers/freedreno/Makefile.sources
parent700d949ea162a5036ffc3056adaa8eb3fecc9c2e (diff)
freedreno/ir3: add NIR compiler
The NIR compiler frontend is an alternative to the TGSI f/e, producing the same ir3 IR and using the same backend passes for scheduling, etc. It is not enabled by default yet, as there are still some regressions. To enable, use 'FD_MESA_DEBUG=nir'. It is enough to use with, for example, xonotic or supertuxkart. With the NIR f/e, scalarizing and a number of other lowering steps happen in NIR, so we don't have to do them in ir3. Which simplifies the f/e and allows the lowered instructions to pass through other optimization stages. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/Makefile.sources')
-rw-r--r--src/gallium/drivers/freedreno/Makefile.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/Makefile.sources b/src/gallium/drivers/freedreno/Makefile.sources
index 1f22ce9c622..3224efc9994 100644
--- a/src/gallium/drivers/freedreno/Makefile.sources
+++ b/src/gallium/drivers/freedreno/Makefile.sources
@@ -121,6 +121,7 @@ ir3_SOURCES := \
ir3/instr-a3xx.h \
ir3/ir3.c \
ir3/ir3_compiler.c \
+ ir3/ir3_compiler_nir.c \
ir3/ir3_compiler.h \
ir3/ir3_cp.c \
ir3/ir3_depth.c \