mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
radv: Use correct init order for ETC2 image views
Fixes:d9048e31a0("radv: Use vk_image_view as the base for radv_image_view") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19914> (cherry picked from commitc6ec4925c0)
This commit is contained in:
parent
8fe5aa95cb
commit
db92251976
2 changed files with 2 additions and 2 deletions
|
|
@ -688,7 +688,7 @@
|
|||
"description": "radv: Use correct init order for ETC2 image views",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "d9048e31a0d7b08b23363c1e31d509b635d5383b"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue