Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions include/vuk/runtime/CommandBuffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,7 @@ namespace vuk {
DomainFlagBits get_scheduled_domain() const;

/// @brief Gets the allocator associated with this object.
Allocator get_allocator() {
return *allocator;
}
Allocator get_allocator();

// command buffer state setting
// when a state is set it is persistent for a pass (similar to Vulkan dynamic state) - see documentation
Expand Down
4 changes: 4 additions & 0 deletions src/runtime/vk/CommandBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ namespace vuk {
return stream->domain;
}

Allocator CommandBuffer::get_allocator() {
return *allocator;
}

CommandBuffer& CommandBuffer::set_descriptor_set_strategy(DescriptorSetStrategyFlags ds_strategy_flags) {
this->ds_strategy_flags = ds_strategy_flags;
return *this;
Expand Down
Loading