From cad2d6583c9475bde584e5062a8de73fe7cbf353 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 23 Jan 2020 10:42:15 -0800 Subject: [PATCH] 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 Part-of: --- src/compiler/Makefile.sources | 2 +- .../{gl_nir_lower_bindless_images.c => gl_nir_lower_images.c} | 0 src/compiler/glsl/meson.build | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/compiler/glsl/{gl_nir_lower_bindless_images.c => gl_nir_lower_images.c} (100%) 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 similarity index 100% rename from src/compiler/glsl/gl_nir_lower_bindless_images.c rename to 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', -- 2.30.2