mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 16:02:26 +00:00
Skip Changes
This commit is contained in:
parent
bad3d5a68e
commit
db888f8a57
@ -6,7 +6,7 @@
|
|||||||
"configurationType": "Release",
|
"configurationType": "Release",
|
||||||
"buildRoot": "${projectDir}\\Build\\${name}",
|
"buildRoot": "${projectDir}\\Build\\${name}",
|
||||||
"installRoot": "${projectDir}\\Install\\${name}",
|
"installRoot": "${projectDir}\\Install\\${name}",
|
||||||
"cmakeCommandArgs": "",
|
"cmakeCommandArgs": "-DENABLE_QT_GUI=ON -DCMAKE_PREFIX_PATH=E:\\Programs\\Qt\\6.7.2\\msvc2019_64",
|
||||||
"buildCommandArgs": "",
|
"buildCommandArgs": "",
|
||||||
"ctestCommandArgs": "",
|
"ctestCommandArgs": "",
|
||||||
"inheritEnvironments": [ "clang_cl_x64_x64" ]
|
"inheritEnvironments": [ "clang_cl_x64_x64" ]
|
||||||
|
@ -171,12 +171,14 @@ 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, 24> skip_hashes = {0x2da7fe60, 0x8e3f8dc4, 0x42f2a521, 0xa509af23, 0x4ca76892, 0xa954e79d, 0x1635154c, 0x77d1c63, 0xff7a6d7c, 0xddfbac23,
|
||||||
if (std::ranges::contains(skip_hashes, shader_hash)) {
|
0x4899010a, 0xc8854a11, 0xaa9d023d, 0x17a64a21, 0x94ec4dfb, 0xbddb8fc7, 0x733dae6f, 0x9a987165, 0x70ffb249, 0x34e9da69, 0xbfed1ef4, 0x6faab5f9, 0x125a83c1, 0xc0cbc309}; // death freeze
|
||||||
|
|
||||||
|
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;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PipelineCache::RefreshGraphicsKey() {
|
bool PipelineCache::RefreshGraphicsKey() {
|
||||||
|
Loading…
Reference in New Issue
Block a user