aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Northrop <cody@lunarg.com>2015-04-28 13:31:42 -0600
committerCody Northrop <cody@lunarg.com>2015-04-28 16:13:26 -0600
commitc048409189e0e887b0dabeb82980899723fab2cd (patch)
tree18ccd7d359ab996c8a453af4dfbbd78c73e68cb6
parentc7f729bb10cbbf2c4369b3a8a850f041c600298e (diff)
downloadusermoji-c048409189e0e887b0dabeb82980899723fab2cd.tar.xz
icd: Add support for one bit alpha BC1 formats
-rw-r--r--icd/common/icd-format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/icd/common/icd-format.c b/icd/common/icd-format.c
index e2c2ada5..75ca2758 100644
--- a/icd/common/icd-format.c
+++ b/icd/common/icd-format.c
@@ -649,6 +649,8 @@ void icd_format_get_raw_value(VkFormat format,
break;
case VK_FORMAT_BC1_RGB_UNORM:
case VK_FORMAT_BC1_RGB_SRGB:
+ case VK_FORMAT_BC1_RGBA_UNORM:
+ case VK_FORMAT_BC1_RGBA_SRGB:
case VK_FORMAT_BC4_UNORM:
case VK_FORMAT_BC4_SNORM:
memcpy(value, color, 8);