Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/API/VK/Device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,12 @@ static VkFormat getVKFormat(DataFormat Format, int Channels) {
case DataFormat::Float32:
VKFormats(SFLOAT, 32) break;
case DataFormat::Int64:
if (Channels == 2)
return VK_FORMAT_R32G32B32A32_SINT;
VKFormats(SINT, 64) break;
case DataFormat::UInt64:
if (Channels == 2)
return VK_FORMAT_R32G32B32A32_UINT;
VKFormats(UINT, 64) break;
case DataFormat::Float64:
VKFormats(SFLOAT, 64) break;
Expand Down
6 changes: 2 additions & 4 deletions test/Feature/TypedBuffer/64bit-vector.test
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,8 @@ DescriptorSets:
...
#--- end

# This test is failing on Vulkan due to two separate issues.
# Bug https://github.com/llvm/offload-test-suite/issues/1030
# Bug https://github.com/llvm/offload-test-suite/issues/1037
# XFAIL: Vulkan
# Bug https://github.com/microsoft/DirectXShaderCompiler/issues/8615
# XFAIL: DXC && Vulkan

# REQUIRES: Int64
# RUN: split-file %s %t
Expand Down
Loading