aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/Android.mk
diff options
context:
space:
mode:
authorVasily Khoruzhick <[email protected]>2019-09-22 22:03:22 -0700
committerVasily Khoruzhick <[email protected]>2019-09-26 18:51:10 -0700
commit6dd0ad66dedc4cbd79574053f0b5023172935657 (patch)
tree885d7ae18e40cec969d5bf6bd91cd6e0baa5ebcd /src/gallium/drivers/lima/Android.mk
parentc372dc762dac1c0bdf27b5cba112b61c15b8f862 (diff)
lima/ppir: add NIR pass to split varying loads
NIR may emit a single instrinsic to load several packed varyings, but that's suboptimal for Utgard PP for several reasons: - varyings that are used as sampler inputs can be passed using pipeline register with increased precision - we have small number of regs, so using a vec4 regs for storing two vec2 varyings increases reg pressure. Add NIR pass to split a single load into several loads and utilize it in lima. Reviewed-by: Qiang Yu <[email protected]> Signed-off-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/Android.mk')
-rw-r--r--src/gallium/drivers/lima/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/Android.mk b/src/gallium/drivers/lima/Android.mk
index c09789ec022..9408e96bd7d 100644
--- a/src/gallium/drivers/lima/Android.mk
+++ b/src/gallium/drivers/lima/Android.mk
@@ -36,6 +36,7 @@ LOCAL_SRC_FILES := \
ir/gp/scheduler.c \
ir/lima_ir.h \
ir/lima_nir_lower_uniform_to_scalar.c \
+ ir/lima_nir_split_load_input.c \
ir/pp/codegen.c \
ir/pp/codegen.h \
ir/pp/disasm.c \