mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 16:18:42 +00:00
Skip shaders
This commit is contained in:
parent
b566c5e7c4
commit
98e1c19eab
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,8 @@ const ComputePipeline* PipelineCache::GetComputePipeline() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ShouldSkipShader(u64 shader_hash, const char* shader_type) {
|
bool ShouldSkipShader(u64 shader_hash, const char* shader_type) {
|
||||||
static constexpr std::array<u64, 0> skip_hashes = {};
|
static constexpr std::array<u64, 3> skip_hashes = {0xec602a8fee029fd0, 0x65854b2b21f19601,
|
||||||
|
0x793f1066476b16c9};
|
||||||
if (std::ranges::contains(skip_hashes, shader_hash)) {
|
if (std::ranges::contains(skip_hashes, shader_hash)) {
|
||||||
//LOG_WARNING(Render_Vulkan, "Skipped {} shader hash {:#x}.", shader_type, shader_hash);
|
//LOG_WARNING(Render_Vulkan, "Skipped {} shader hash {:#x}.", shader_type, shader_hash);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue