summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-04-13 23:49:00 +0200
committerBas Nieuwenhuizen <[email protected]>2017-04-14 14:14:07 +0200
commite20eb91e2bfef045d6806838e6453bc6ddb2e238 (patch)
tree86995217b72c3785936e9edfb6d819395632d61c /src/amd/vulkan/radv_private.h
parent7c83d44d541b688020d31353fd3765845f7ce6a9 (diff)
radv: make sizes & offsets 32 bit in radv_descriptor_update_template_entry.
v2: Also convert the calculations. Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 00190e7eee0..2afc0cbedfc 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -576,16 +576,16 @@ struct radv_descriptor_update_template_entry {
VkDescriptorType descriptor_type;
/* The number of descriptors to update */
- uint16_t descriptor_count;
+ uint32_t descriptor_count;
/* Into mapped_ptr or dynamic_descriptors, in units of the respective array */
- uint16_t dst_offset;
+ uint32_t dst_offset;
/* In dwords. Not valid/used for dynamic descriptors */
- uint16_t dst_stride;
+ uint32_t dst_stride;
- uint16_t buffer_offset;
- uint16_t buffer_count;
+ uint32_t buffer_offset;
+ uint32_t buffer_count;
/* Only valid for combined image samplers and samplers */
uint16_t has_sampler;