summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-02-15 06:54:24 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-02-15 20:26:50 +0100
commit14c2a4a2ec30256e9299017e532a24e6600d7b95 (patch)
treeff310888bf33082e04bee0868e270c11a9f9aaf8 /src/video_core/renderer_vulkan
parentMerge pull request #3401 from FernandoS27/synchronization (diff)
downloadyuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar.gz
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar.bz2
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar.lz
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar.xz
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.tar.zst
yuzu-14c2a4a2ec30256e9299017e532a24e6600d7b95.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/maxwell_to_vk.cpp1
-rw-r--r--src/video_core/renderer_vulkan/vk_device.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
index 331808113..8c49c66a7 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -159,6 +159,7 @@ struct FormatTuple {
{vk::Format::eR32G32Uint, Attachable | Storage}, // RG32UI
{vk::Format::eUndefined, {}}, // RGBX16F
{vk::Format::eR32Uint, Attachable | Storage}, // R32UI
+ {vk::Format::eR32Sint, Attachable | Storage}, // R32I
{vk::Format::eAstc8x8UnormBlock, {}}, // ASTC_2D_8X8
{vk::Format::eUndefined, {}}, // ASTC_2D_8X5
{vk::Format::eUndefined, {}}, // ASTC_2D_5X4
diff --git a/src/video_core/renderer_vulkan/vk_device.cpp b/src/video_core/renderer_vulkan/vk_device.cpp
index 9840f26e5..de712223e 100644
--- a/src/video_core/renderer_vulkan/vk_device.cpp
+++ b/src/video_core/renderer_vulkan/vk_device.cpp
@@ -511,6 +511,7 @@ std::unordered_map<vk::Format, vk::FormatProperties> VKDevice::GetFormatProperti
vk::Format::eB10G11R11UfloatPack32,
vk::Format::eR32Sfloat,
vk::Format::eR32Uint,
+ vk::Format::eR32Sint,
vk::Format::eR16Sfloat,
vk::Format::eR16G16B16A16Sfloat,
vk::Format::eB8G8R8A8Unorm,