OSDN Git Service

anv/descriptor_set: Add a type field in debug builds
[android-x86/external-mesa.git] / src / intel / vulkan / anv_private.h
index 26ffbd6..975cdfc 100644 (file)
@@ -922,6 +922,11 @@ struct anv_vue_header {
 };
 
 struct anv_descriptor_set_binding_layout {
+#ifndef NDEBUG
+   /* The type of the descriptors in this binding */
+   VkDescriptorType type;
+#endif
+
    /* Number of array elements in this binding */
    uint16_t array_size;