projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
radv: add radv_dump_pipeline_state() helper
[mesa.git]
/
src
/
amd
/
vulkan
/
radv_descriptor_set.h
diff --git
a/src/amd/vulkan/radv_descriptor_set.h
b/src/amd/vulkan/radv_descriptor_set.h
index a9f4bc6497e8899fd584c450bcbf25d087822e3f..d8431241fd917c11420864e72f30f77a152b1759 100644
(file)
--- a/
src/amd/vulkan/radv_descriptor_set.h
+++ b/
src/amd/vulkan/radv_descriptor_set.h
@@
-26,7
+26,7
@@
#include <vulkan/vulkan.h>
#include <vulkan/vulkan.h>
-#define MAX_SETS
8
+#define MAX_SETS
32
struct radv_descriptor_set_binding_layout {
VkDescriptorType type;
struct radv_descriptor_set_binding_layout {
VkDescriptorType type;
@@
-38,10
+38,9
@@
struct radv_descriptor_set_binding_layout {
uint32_t buffer_offset;
uint16_t dynamic_offset_offset;
uint32_t buffer_offset;
uint16_t dynamic_offset_offset;
+ uint16_t dynamic_offset_count;
/* redundant with the type, each for a single array element */
uint32_t size;
/* redundant with the type, each for a single array element */
uint32_t size;
- uint32_t buffer_count;
- uint16_t dynamic_offset_count;
/* Offset in the radv_descriptor_set_layout of the immutable samplers, or 0
* if there are no immutable samplers. */
/* Offset in the radv_descriptor_set_layout of the immutable samplers, or 0
* if there are no immutable samplers. */
@@
-69,6
+68,9
@@
struct radv_descriptor_set_layout {
/* Number of dynamic offsets used by this descriptor set */
uint16_t dynamic_offset_count;
/* Number of dynamic offsets used by this descriptor set */
uint16_t dynamic_offset_count;
+ bool has_immutable_samplers;
+ bool has_variable_descriptors;
+
/* Bindings in this descriptor set */
struct radv_descriptor_set_binding_layout binding[0];
};
/* Bindings in this descriptor set */
struct radv_descriptor_set_binding_layout binding[0];
};