diff options
author | Jason Ekstrand <[email protected]> | 2015-12-14 14:52:57 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-14 15:36:30 -0800 |
commit | f0313a5569d395c83fd4e31248895f902b88b31c (patch) | |
tree | 23e987d199090ed642b174e5e6b3b1f69423abeb /src/vulkan/gen8_state.c | |
parent | dba28da07532072fbaa6ef51133234f10e0cac74 (diff) |
anv: Add initial support for cube maps
This fixes 486 cubemap CTS tests.
Diffstat (limited to 'src/vulkan/gen8_state.c')
-rw-r--r-- | src/vulkan/gen8_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/gen8_state.c b/src/vulkan/gen8_state.c index 0937677e8e4..aa57073c3e8 100644 --- a/src/vulkan/gen8_state.c +++ b/src/vulkan/gen8_state.c @@ -44,8 +44,8 @@ anv_surftype(const struct anv_image *image, VkImageViewType view_type) return SURFTYPE_1D; case VK_IMAGE_VIEW_TYPE_CUBE: case VK_IMAGE_VIEW_TYPE_CUBE_ARRAY: - anv_finishme("%s:%s: cube images", __FILE__, __func__); - /* fallthrough */ + assert(image->type == VK_IMAGE_TYPE_2D); + return SURFTYPE_CUBE; case VK_IMAGE_VIEW_TYPE_2D: case VK_IMAGE_VIEW_TYPE_2D_ARRAY: assert(image->type == VK_IMAGE_TYPE_2D); |