diff options
author | Rob Clark <[email protected]> | 2018-05-15 18:27:18 -0400 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-22 20:54:00 -0700 |
commit | a6ebbbc594b1cac4b880d9da051bad9d70eeb2d8 (patch) | |
tree | e98830f6d6912c83a6d3297ced2bd7aa74b40b1d /src/compiler/glsl/meson.build | |
parent | 3891c1906fa017d82a4bae5e4db2ef09b02f89e9 (diff) |
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 <[email protected]>
Acked-by: Rob Clark <[email protected]>
Acked-by: Bas Nieuwenhuizen <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/meson.build')
-rw-r--r-- | src/compiler/glsl/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/meson.build b/src/compiler/glsl/meson.build index 81d0fbea521..dca7ba314f5 100644 --- a/src/compiler/glsl/meson.build +++ b/src/compiler/glsl/meson.build @@ -68,6 +68,7 @@ files_libglsl = files( 'generate_ir.cpp', 'gl_nir_lower_atomics.c', 'gl_nir_lower_samplers.c', + 'gl_nir_lower_samplers_legacy.c', 'gl_nir_lower_samplers_as_deref.c', 'gl_nir_link_uniform_initializers.c', 'gl_nir_link_uniforms.c', |