diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 09:49:00 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 09:49:00 -0500 |
| commit | 98dc77c4eb92aa9224021392d78ca563b1f349e3 (patch) | |
| tree | ab8294a0183bf9bd482e33ae655d5059f4877140 /runtime/src | |
| parent | ae0805f8c821e78e7c55be52c7eb5b6ccbac2c83 (diff) | |
| parent | e608a1b9929ade7da91253fc69c3659b61b41a7d (diff) | |
Merge pull request #1874 from Serrambi
Diffstat (limited to 'runtime/src')
| -rw-r--r-- | runtime/src/vulkan_replay.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/vulkan_replay.h b/runtime/src/vulkan_replay.h index bf887d63e..2a37f58f5 100644 --- a/runtime/src/vulkan_replay.h +++ b/runtime/src/vulkan_replay.h | |||
| @@ -977,7 +977,7 @@ inline VkFormat color_view_format(const ResourceBinding& resource, const TargetV | |||
| 977 | } | 977 | } |
| 978 | if (!resource.rgba8_typeless && !resource.castable_view_formats) | 978 | if (!resource.rgba8_typeless && !resource.castable_view_formats) |
| 979 | return format == resource.format ? format : VK_FORMAT_UNDEFINED; | 979 | return format == resource.format ? format : VK_FORMAT_UNDEFINED; |
| 980 | if (resource.format != VK_FORMAT_R8G8B8A8_UNORM || resource.volume || resource.depth != 1 || resource.samples != 1) | 980 | if (resource.format != VK_FORMAT_R8G8B8A8_UNORM || resource.volume || resource.depth != 1) |
| 981 | return VK_FORMAT_UNDEFINED; | 981 | return VK_FORMAT_UNDEFINED; |
| 982 | return format; | 982 | return format; |
| 983 | } | 983 | } |