mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Add more fine-grained buffer recreation locking
This commit is contained in:
@ -492,6 +492,13 @@ namespace skyline::gpu {
|
||||
*/
|
||||
vk::DeviceSize GetOffset() const;
|
||||
|
||||
/**
|
||||
* @return A binding describing the underlying buffer state at a given moment in time
|
||||
* @note The view **must** be locked prior to calling this
|
||||
* @note This is the **ONLY** function in BufferView that can be called from non-GPFIFO threads
|
||||
*/
|
||||
BufferBinding GetBinding(GPU &gpu) const;
|
||||
|
||||
/**
|
||||
* @note The buffer manager **MUST** be locked prior to calling this
|
||||
*/
|
||||
|
Reference in New Issue
Block a user