aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2020-01-23 10:42:15 -0800
committerMarge Bot <[email protected]>2020-02-24 18:25:02 +0000
commitcad2d6583c9475bde584e5062a8de73fe7cbf353 (patch)
tree8008f55177f3d134882e77c9b54ef6ecb0f00c57
parentb62379ac6f699933da52d032e2b3c06ab73f9549 (diff)
nir: Rename gl_nir_lower_bindless_images.c in preparation for extending it.
The bulk of it can be reused to implement iris's internal non-bindless image lowering, which I would like to reuse in freedreno, v3d, and nir-to-tgsi. Reviewed-by: Kenneth Graunke <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3728>
-rw-r--r--src/compiler/Makefile.sources2
-rw-r--r--src/compiler/glsl/gl_nir_lower_images.c (renamed from src/compiler/glsl/gl_nir_lower_bindless_images.c)0
-rw-r--r--src/compiler/glsl/meson.build2
3 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources
index 6f9ae8f24b0..2482de2a799 100644
--- a/src/compiler/Makefile.sources
+++ b/src/compiler/Makefile.sources
@@ -24,7 +24,7 @@ LIBGLSL_FILES = \
glsl/builtin_variables.cpp \
glsl/generate_ir.cpp \
glsl/gl_nir_lower_atomics.c \
- glsl/gl_nir_lower_bindless_images.c \
+ glsl/gl_nir_lower_images.c \
glsl/gl_nir_lower_buffers.c \
glsl/gl_nir_lower_samplers.c \
glsl/gl_nir_lower_samplers_as_deref.c \
diff --git a/src/compiler/glsl/gl_nir_lower_bindless_images.c b/src/compiler/glsl/gl_nir_lower_images.c
index 345d8f60670..345d8f60670 100644
--- a/src/compiler/glsl/gl_nir_lower_bindless_images.c
+++ b/src/compiler/glsl/gl_nir_lower_images.c
diff --git a/src/compiler/glsl/meson.build b/src/compiler/glsl/meson.build
index 74cb8973077..1e2b3da1b4b 100644
--- a/src/compiler/glsl/meson.build
+++ b/src/compiler/glsl/meson.build
@@ -74,7 +74,7 @@ files_libglsl = files(
'builtin_variables.cpp',
'generate_ir.cpp',
'gl_nir_lower_atomics.c',
- 'gl_nir_lower_bindless_images.c',
+ 'gl_nir_lower_images.c',
'gl_nir_lower_buffers.c',
'gl_nir_lower_samplers.c',
'gl_nir_lower_samplers_as_deref.c',