mirror of
https://github.com/InstanceBrick/nightcap.git
synced 2026-10-25 12:01:06 +01:00
revert commit fdce534
This commit is contained in:
1 parent
f383fbbff4
commit
cdbf9ac1eb
2 files changed
+5
-4
No files matched your search
@@ -18,10 +18,11 @@ namespace mocktail {
|
||||
namespace runtime {
|
||||
namespace {
|
||||
|
||||
// Keep the Vulkan shader workaround narrowly scoped. TextureManager2 is left
|
||||
// enabled so the runtime can use its normal texture path and mip selection.
|
||||
// TextureManager2 selects its mobile MipPackStream path on Android Vulkan and
|
||||
// can keep world textures at low-resolution mips. TM1 preserves full texture
|
||||
// fidelity until that path is compatible with the host Vulkan adapter.
|
||||
constexpr char kVulkanClientSettingsOverrides[] =
|
||||
R"({"FStringGraphicsVulkanShaderMTDenyPattern":"4318:.*"})";
|
||||
R"({"FStringGraphicsTextureManager2DenyPattern2":".*","FStringGraphicsVulkanShaderMTDenyPattern":"4318:.*"})";
|
||||
|
||||
constexpr const char* kIcdDirectories[] = {
|
||||
"/usr/share/vulkan/icd.d",
|
||||
|
||||
@@ -182,7 +182,7 @@ int RunGraphicsPolicyProbe(const char* backend) {
|
||||
std::string(anv_memory_limit) == expected_anv_limit &&
|
||||
std::string(submit_thread) == "1" &&
|
||||
std::string(overrides).find(
|
||||
"FStringGraphicsTextureManager2DenyPattern2") ==
|
||||
"\"FStringGraphicsTextureManager2DenyPattern2\":\".*\"") !=
|
||||
std::string::npos &&
|
||||
std::string(overrides).find(
|
||||
"FStringGraphicsVulkanShaderMTDenyPattern") !=
|
||||
|
||||
Reference in new issue
Block a user