Module: Mesa
Branch: main
Commit: dd64293104a47831f7dcd90d3958737b4a8c319d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dd64293104a47831f7dcd90d3958737b4a8c319d

Author: Samuel Pitoiset <[email protected]>
Date:   Tue Jan  2 15:50:37 2024 +0100

radv: rename si_make_texture_descriptor() to gfx6_make_texture_descriptor()

Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26854>

---

 src/amd/vulkan/radv_image_view.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/amd/vulkan/radv_image_view.c b/src/amd/vulkan/radv_image_view.c
index 71267429f5a..af0695da7d5 100644
--- a/src/amd/vulkan/radv_image_view.c
+++ b/src/amd/vulkan/radv_image_view.c
@@ -406,11 +406,11 @@ gfx10_make_texture_descriptor(struct radv_device *device, 
struct radv_image *ima
  * Build the sampler view descriptor for a texture (SI-GFX9)
  */
 static void
-si_make_texture_descriptor(struct radv_device *device, struct radv_image 
*image, bool is_storage_image,
-                           VkImageViewType view_type, VkFormat vk_format, 
const VkComponentMapping *mapping,
-                           unsigned first_level, unsigned last_level, unsigned 
first_layer, unsigned last_layer,
-                           unsigned width, unsigned height, unsigned depth, 
float min_lod, uint32_t *state,
-                           uint32_t *fmask_state, VkImageCreateFlags 
img_create_flags)
+gfx6_make_texture_descriptor(struct radv_device *device, struct radv_image 
*image, bool is_storage_image,
+                             VkImageViewType view_type, VkFormat vk_format, 
const VkComponentMapping *mapping,
+                             unsigned first_level, unsigned last_level, 
unsigned first_layer, unsigned last_layer,
+                             unsigned width, unsigned height, unsigned depth, 
float min_lod, uint32_t *state,
+                             uint32_t *fmask_state, VkImageCreateFlags 
img_create_flags)
 {
    const struct util_format_description *desc;
    enum pipe_swizzle swizzle[4];
@@ -619,9 +619,9 @@ radv_make_texture_descriptor(struct radv_device *device, 
struct radv_image *imag
                                     last_level, first_layer, last_layer, 
width, height, depth, min_lod, state,
                                     fmask_state, img_create_flags, nbc_view, 
sliced_3d);
    } else {
-      si_make_texture_descriptor(device, image, is_storage_image, view_type, 
vk_format, mapping, first_level,
-                                 last_level, first_layer, last_layer, width, 
height, depth, min_lod, state, fmask_state,
-                                 img_create_flags);
+      gfx6_make_texture_descriptor(device, image, is_storage_image, view_type, 
vk_format, mapping, first_level,
+                                   last_level, first_layer, last_layer, width, 
height, depth, min_lod, state,
+                                   fmask_state, img_create_flags);
    }
 }
 

Reply via email to