summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-06 14:09:52 -0800
committerJason Ekstrand <[email protected]>2015-11-06 14:09:52 -0800
commit220261a0c9d4f08e060f02d9cc61219360c2d3f9 (patch)
treee43114f248534bd51691084c492210b1bd6f1e48 /src/vulkan/anv_private.h
parent612e35b2c65c99773b73e53d0e6fd112b1a7431f (diff)
anv: Use VkDescriptorType instead of anv_descriptor_type
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r--src/vulkan/anv_private.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h
index 821e16164eb..6ba2e460a8d 100644
--- a/src/vulkan/anv_private.h
+++ b/src/vulkan/anv_private.h
@@ -724,16 +724,8 @@ struct anv_descriptor_set_layout {
struct anv_descriptor_set_binding_layout binding[0];
};
-enum anv_descriptor_type {
- ANV_DESCRIPTOR_TYPE_EMPTY = 0,
- ANV_DESCRIPTOR_TYPE_BUFFER_AND_OFFSET,
- ANV_DESCRIPTOR_TYPE_IMAGE_VIEW,
- ANV_DESCRIPTOR_TYPE_SAMPLER,
- ANV_DESCRIPTOR_TYPE_IMAGE_VIEW_AND_SAMPLER,
-};
-
struct anv_descriptor {
- enum anv_descriptor_type type;
+ VkDescriptorType type;
union {
struct {