From 09950676b3f73bb9967aea183d27a30d63098475 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 8 Jul 2021 13:30:17 -0700 Subject: Implement gfx inline ray tracing on D3D12. (#1902) * Update VS projects to 2019. * Empty commit to trigger build * Implement gfx inline ray tracing on D3D12. --- tools/gfx/vulkan/vk-util.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/gfx/vulkan/vk-util.cpp') diff --git a/tools/gfx/vulkan/vk-util.cpp b/tools/gfx/vulkan/vk-util.cpp index 4971e3f3d..c138254c0 100644 --- a/tools/gfx/vulkan/vk-util.cpp +++ b/tools/gfx/vulkan/vk-util.cpp @@ -22,6 +22,8 @@ namespace gfx { case Format::RGBA_Unorm_UInt8: return VK_FORMAT_R8G8B8A8_UNORM; case Format::BGRA_Unorm_UInt8: return VK_FORMAT_B8G8R8A8_UNORM; + case Format::RGBA_Snorm_UInt16: return VK_FORMAT_R16G16B16A16_SNORM; + case Format::RG_Snorm_UInt16: return VK_FORMAT_R16G16_SNORM; case Format::R_UInt32: return VK_FORMAT_R32_UINT; case Format::D_Float32: return VK_FORMAT_D32_SFLOAT; -- cgit v1.2.3