From a6ebbbc594b1cac4b880d9da051bad9d70eeb2d8 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 15 May 2018 18:27:18 -0400 Subject: nir/lower_samplers: split out _legacy version for deref chains To simplify the transition, and make things bisectable, split out a legacy copy or lower_samplers. This way the i965 and gallium drivers can independently switch over to deref instructions. Since the lower_samplers_as_deref pass is only used by gallium drivers, it can be converted in lock-step with moving the lower_deref_instrs pass, and so does not need a corresponding _legacy clone. This legacy pass will be removed in a future commit. Signed-off-by: Rob Clark Acked-by: Rob Clark Acked-by: Bas Nieuwenhuizen Acked-by: Dave Airlie Reviewed-by: Kenneth Graunke --- src/compiler/Makefile.sources | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler/Makefile.sources') diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources index 21d84bd7d51..f589c2e5ce2 100644 --- a/src/compiler/Makefile.sources +++ b/src/compiler/Makefile.sources @@ -27,6 +27,7 @@ LIBGLSL_FILES = \ glsl/generate_ir.cpp \ glsl/gl_nir_lower_atomics.c \ glsl/gl_nir_lower_samplers.c \ + glsl/gl_nir_lower_samplers_legacy.c \ glsl/gl_nir_lower_samplers_as_deref.c \ glsl/gl_nir_link_uniform_initializers.c \ glsl/gl_nir_link_uniforms.c \ -- cgit v1.2.3