aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFredrik Höglund <[email protected]>2017-03-07 01:53:21 +0100
committerBas Nieuwenhuizen <[email protected]>2017-03-07 20:23:26 +0100
commit71bb1a9c3cf37329ee570d3279fbba0dade007d0 (patch)
treef834e98430cd41ceee43441fead894a7700e13b9 /src
parent0941d1a574f46c558b0037be81d9a57004f4290b (diff)
radv: fix the size of the dynamic_buffers array
A buffer descriptor is 16 bytes, not 16 dwords. Signed-off-by: Fredrik Höglund <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index ab3e8815795..890e6b82e30 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -728,7 +728,7 @@ struct radv_cmd_buffer {
uint32_t queue_family_index;
uint8_t push_constants[MAX_PUSH_CONSTANTS_SIZE];
- uint32_t dynamic_buffers[16 * MAX_DYNAMIC_BUFFERS];
+ uint32_t dynamic_buffers[4 * MAX_DYNAMIC_BUFFERS];
VkShaderStageFlags push_constant_stages;
struct radv_cmd_buffer_upload upload;