diff options
| author | Dave Houlton <daveh@lunarg.com> | 2017-05-22 13:52:20 -0600 |
|---|---|---|
| committer | Dave Houlton <daveh@lunarg.com> | 2017-05-22 15:48:50 -0600 |
| commit | d61ace90402653babfd56d20f6932abeb447ce76 (patch) | |
| tree | 229331e25c3ea63be1bfd092378684a33d8e5959 /layers/vk_format_utils.cpp | |
| parent | ab84602facf5802d944398354ceb4ca86502a5b3 (diff) | |
| download | usermoji-d61ace90402653babfd56d20f6932abeb447ce76.tar.xz | |
layers: Add S8_UINT to FormatIsUINT() helper
Fixed an oversight in FormatIsUINT() helper function, add VK_FORMAT_S8_UINT
to the list.
Change-Id: Ie01c2dbd1db7cdae1a4939543c00aa7b32ae31ff
Diffstat (limited to 'layers/vk_format_utils.cpp')
| -rw-r--r-- | layers/vk_format_utils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/vk_format_utils.cpp b/layers/vk_format_utils.cpp index 7d9c084b..ce5895e0 100644 --- a/layers/vk_format_utils.cpp +++ b/layers/vk_format_utils.cpp @@ -542,6 +542,7 @@ VK_LAYER_EXPORT bool FormatIsUInt(VkFormat format) { switch (format) { case VK_FORMAT_R8_UINT: + case VK_FORMAT_S8_UINT: case VK_FORMAT_R8G8_UINT: case VK_FORMAT_R8G8B8_UINT: case VK_FORMAT_R8G8B8A8_UINT: |
