mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 03:54:45 +00:00
image: Fix image type of 1D Array
This commit is contained in:
parent
3a04571d56
commit
51a9980d67
1 changed files with 1 additions and 1 deletions
|
@ -104,9 +104,9 @@ static vk::ImageUsageFlags ImageUsageFlags(const ImageInfo& info) {
|
|||
static vk::ImageType ConvertImageType(AmdGpu::ImageType type) noexcept {
|
||||
switch (type) {
|
||||
case AmdGpu::ImageType::Color1D:
|
||||
case AmdGpu::ImageType::Color1DArray:
|
||||
return vk::ImageType::e1D;
|
||||
case AmdGpu::ImageType::Color2D:
|
||||
case AmdGpu::ImageType::Color1DArray:
|
||||
case AmdGpu::ImageType::Cube:
|
||||
case AmdGpu::ImageType::Color2DArray:
|
||||
return vk::ImageType::e2D;
|
||||
|
|
Loading…
Add table
Reference in a new issue