mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
[vk] fix cubic view construction
This commit is contained in:
parent
d7b0344091
commit
b454dde871
1 changed files with 1 additions and 1 deletions
|
@ -847,7 +847,7 @@ namespace vk
|
|||
remap
|
||||
);
|
||||
|
||||
const auto range = vk::get_image_subresource_range(0, 0, 1, info.mipLevels, get_aspect_flags(info.format) & mask);
|
||||
const auto range = vk::get_image_subresource_range(0, 0, info.arrayLayers, info.mipLevels, get_aspect_flags(info.format) & mask);
|
||||
auto view = std::make_unique<vk::image_view>(*get_current_renderer(), this, real_mapping, range);
|
||||
|
||||
auto result = view.get();
|
||||
|
|
Loading…
Add table
Reference in a new issue