mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 23:03:18 +00:00
video_core: Minor fixes (#366)
* data_share: Fix DS instruction * vk_graphics_pipeline: Fix unnecessary invalidate * spirv: Remove subgroup id * vector_alu: Simplify mbcnt pattern * shader_recompiler: More instructions * clang format * kernel: Fix cond memory leak and reduce spam * liverpool: Print error on exception * build fix
This commit is contained in:
parent
cdff4af38d
commit
159be2c7f4
9 changed files with 55 additions and 35 deletions
|
@ -6,7 +6,7 @@
|
|||
#include <array>
|
||||
#include <condition_variable>
|
||||
#include <coroutine>
|
||||
#include <functional>
|
||||
#include <exception>
|
||||
#include <mutex>
|
||||
#include <span>
|
||||
#include <thread>
|
||||
|
@ -1040,7 +1040,11 @@ private:
|
|||
return {};
|
||||
}
|
||||
void unhandled_exception() {
|
||||
UNREACHABLE();
|
||||
try {
|
||||
std::rethrow_exception(std::current_exception());
|
||||
} catch (const std::exception& e) {
|
||||
UNREACHABLE_MSG("Unhandled exception: {}", e.what());
|
||||
}
|
||||
}
|
||||
void return_void() {}
|
||||
struct empty {};
|
||||
|
|
|
@ -94,7 +94,9 @@ bool ComputePipeline::BindResources(Core::MemoryManager* memory, StreamBuffer& s
|
|||
const auto vsharp = buffer.GetVsharp(info);
|
||||
const u32 size = vsharp.GetSize();
|
||||
const VAddr address = vsharp.base_address;
|
||||
texture_cache.OnCpuWrite(address);
|
||||
if (buffer.is_storage) {
|
||||
texture_cache.OnCpuWrite(address);
|
||||
}
|
||||
const u32 offset = staging.Copy(address, size,
|
||||
buffer.is_storage ? instance.StorageMinAlignment()
|
||||
: instance.UniformMinAlignment());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue