summaryrefslogtreecommitdiff
path: root/src/amd/vulkan/radv_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_image.c')
-rw-r--r--src/amd/vulkan/radv_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c
index 107572019e2..afae1331281 100644
--- a/src/amd/vulkan/radv_image.c
+++ b/src/amd/vulkan/radv_image.c
@@ -2110,8 +2110,8 @@ radv_image_view_init(struct radv_image_view *iview, struct radv_device *device,
const struct util_format_description *desc = vk_format_description(iview->vk.format);
if (desc->layout == UTIL_FORMAT_LAYOUT_ETC) {
iview->plane_id = 1;
- iview->vk.format = etc2_emulation_format(iview->vk.format);
iview->vk.view_format = etc2_emulation_format(iview->vk.format);
+ iview->vk.format = etc2_emulation_format(iview->vk.format);
}
plane_count = 1;