freedreno/ir3: Implement lowering passes for VS and GS
authorKristian H. Kristensen <hoegsberg@google.com>
Fri, 11 Oct 2019 00:17:10 +0000 (17:17 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Thu, 17 Oct 2019 20:43:53 +0000 (13:43 -0700)
commit8e16fb152813d13121d13710f72ecce009c1885e
treee85c93fd326b3b0f724011607d85b8f4a77d0f77
parent8f39985b01b34cbb6a84b4614f5cb732748954d1
freedreno/ir3: Implement lowering passes for VS and GS

This introduces two new lowering passes. One to lower VS to explicit
outputs using STLW and one to lower GS to load input using LDLW and
implement the GS specific functionality.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
13 files changed:
src/compiler/nir/nir.h
src/compiler/nir/nir_intrinsics.py
src/compiler/nir/nir_print.c
src/compiler/shader_enums.c
src/compiler/shader_enums.h
src/freedreno/Makefile.sources
src/freedreno/ir3/ir3_context.h
src/freedreno/ir3/ir3_nir.c
src/freedreno/ir3/ir3_nir.h
src/freedreno/ir3/ir3_nir_lower_tess.c [new file with mode: 0644]
src/freedreno/ir3/ir3_shader.c
src/freedreno/ir3/ir3_shader.h
src/freedreno/ir3/meson.build