early-access version 2875
This commit is contained in:
@@ -419,13 +419,13 @@ protected:
|
||||
/// Workbuffers assigned to this effect
|
||||
std::array<AddressInfo, 2> workbuffers{AddressInfo(CpuAddr(0), 0), AddressInfo(CpuAddr(0), 0)};
|
||||
/// Aux/Capture buffer info for reading
|
||||
CpuAddr send_buffer_info;
|
||||
CpuAddr send_buffer_info{};
|
||||
/// Aux/Capture buffer for reading
|
||||
CpuAddr send_buffer;
|
||||
CpuAddr send_buffer{};
|
||||
/// Aux/Capture buffer info for writing
|
||||
CpuAddr return_buffer_info;
|
||||
CpuAddr return_buffer_info{};
|
||||
/// Aux/Capture buffer for writing
|
||||
CpuAddr return_buffer;
|
||||
CpuAddr return_buffer{};
|
||||
/// Parameters of this effect
|
||||
std::array<u8, sizeof(InParameterVersion2)> parameter{};
|
||||
/// State of this effect used by the AudioRenderer across calls
|
||||
|
@@ -39,7 +39,7 @@ public:
|
||||
template <typename Arg>
|
||||
void Push(Arg&& t) {
|
||||
// create the element, add it to the queue
|
||||
write_ptr->current = std::forward<Arg>(t);
|
||||
write_ptr->current = std::move(t);
|
||||
// set the next pointer to a new element ptr
|
||||
// then advance the write pointer
|
||||
ElementPtr* new_ptr = new ElementPtr();
|
||||
|
@@ -296,7 +296,7 @@ void ShaderCache::LoadDiskResources(u64 title_id, std::stop_token stop_loading,
|
||||
state.has_loaded = true;
|
||||
lock.unlock();
|
||||
|
||||
workers->WaitForRequests();
|
||||
workers->WaitForRequests(stop_loading);
|
||||
if (!use_asynchronous_shaders) {
|
||||
workers.reset();
|
||||
}
|
||||
|
@@ -450,7 +450,7 @@ void PipelineCache::LoadDiskResources(u64 title_id, std::stop_token stop_loading
|
||||
state.has_loaded = true;
|
||||
lock.unlock();
|
||||
|
||||
workers.WaitForRequests();
|
||||
workers.WaitForRequests(stop_loading);
|
||||
|
||||
if (state.statistics) {
|
||||
state.statistics->Report();
|
||||
|
Reference in New Issue
Block a user