summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-09-06 15:46:18 +0200
committerSamuel Pitoiset <[email protected]>2017-09-07 10:01:21 +0200
commit86b99893eba531b881eabe96840dbf6b58b2d37e (patch)
tree393d858a0e4e26a5ba4875d256a54486085189bf /src/amd/vulkan/radv_private.h
parent2408f616e80f4b5dc022a1ed650778c312f15997 (diff)
radv: do not use a bitfield when dirtying the vertex buffers
Useless to track which one has been updated because we re-upload all the vertex buffers in one shot. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-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 e73ba1a1694..e32fa576fb7 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -760,7 +760,7 @@ struct radv_attachment_state {
};
struct radv_cmd_state {
- uint32_t vb_dirty;
+ bool vb_dirty;
radv_cmd_dirty_mask_t dirty;
bool push_descriptors_dirty;
bool predicating;