aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-04-20 14:16:10 +1200
committerTobin Ehlis <tobine@google.com>2016-04-20 07:34:09 -0600
commit307d54b57c173bab38c0ead2e64baf3f65f283aa (patch)
tree384f15751403ef7a5086d61781277c2b96326eb5 /layers/core_validation.cpp
parent503b2f46e6d0417190ed2afa1269bb89bb13956a (diff)
downloadusermoji-307d54b57c173bab38c0ead2e64baf3f65f283aa.tar.xz
layers: Fix get_format_type for VK_FORMAT_A8R8G8B8_{S,U}INT_PACK32
Fixes GH #330. Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 320db8ff..c7a43415 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -1593,6 +1593,7 @@ static unsigned get_format_type(VkFormat fmt) {
case VK_FORMAT_R32G32B32A32_SINT:
case VK_FORMAT_B8G8R8_SINT:
case VK_FORMAT_B8G8R8A8_SINT:
+ case VK_FORMAT_A8B8G8R8_SINT_PACK32:
case VK_FORMAT_A2B10G10R10_SINT_PACK32:
case VK_FORMAT_A2R10G10B10_SINT_PACK32:
return FORMAT_TYPE_SINT;
@@ -1610,6 +1611,7 @@ static unsigned get_format_type(VkFormat fmt) {
case VK_FORMAT_R32G32B32A32_UINT:
case VK_FORMAT_B8G8R8_UINT:
case VK_FORMAT_B8G8R8A8_UINT:
+ case VK_FORMAT_A8B8G8R8_UINT_PACK32:
case VK_FORMAT_A2B10G10R10_UINT_PACK32:
case VK_FORMAT_A2R10G10B10_UINT_PACK32:
return FORMAT_TYPE_UINT;