Skip to content

Commit 4738fe7

Browse files
committed
sync: Decrease ReadStates initial capacity from 3 to 2
1 parent 25fcaa2 commit 4738fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layers/sync/sync_access_state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ class ResourceAccessState {
521521

522522
VkPipelineStageFlags2 last_read_stages;
523523
VkPipelineStageFlags2 read_execution_barriers;
524-
using ReadStates = small_vector<ReadState, 3, uint32_t>;
524+
using ReadStates = small_vector<ReadState, 2, uint32_t>;
525525
ReadStates last_reads;
526526

527527
// TODO Input Attachment cleanup for multiple reads in a given stage

0 commit comments

Comments
 (0)