diff options
author | Jason Ekstrand <[email protected]> | 2015-11-06 14:09:52 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-11-06 14:09:52 -0800 |
commit | 220261a0c9d4f08e060f02d9cc61219360c2d3f9 (patch) | |
tree | e43114f248534bd51691084c492210b1bd6f1e48 /src/vulkan/anv_private.h | |
parent | 612e35b2c65c99773b73e53d0e6fd112b1a7431f (diff) |
anv: Use VkDescriptorType instead of anv_descriptor_type
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r-- | src/vulkan/anv_private.h | 10 |
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 { |