Merge pull request #16575 from unknownbrackets/logging

Cleanup some logspam
This commit is contained in:
Henrik Rydgård
2022-12-14 08:00:49 +01:00
committed by GitHub
4 changed files with 2 additions and 13 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ bool VKRGraphicsPipeline::Create(VulkanContext *vulkan, VkRenderPass compatibleR
double taken_ms = (time_now_d() - start) * 1000.0;
if (taken_ms < 0.1) {
INFO_LOG(G3D, "Pipeline creation time: %0.2f ms (fast) rpType: %08x sampleBits: %d\n(%s)", taken_ms, (u32)rpType, (u32)sampleCount, tag_.c_str());
DEBUG_LOG(G3D, "Pipeline creation time: %0.2f ms (fast) rpType: %08x sampleBits: %d\n(%s)", taken_ms, (u32)rpType, (u32)sampleCount, tag_.c_str());
} else {
INFO_LOG(G3D, "Pipeline creation time: %0.2f ms rpType: %08x sampleBits: %d\n(%s)", taken_ms, (u32)rpType, (u32)sampleCount, tag_.c_str());
}
-4
View File
@@ -666,10 +666,6 @@ static int DefaultFastForwardMode() {
#endif
}
static int DefaultZoomType() {
return (int)SmallDisplayZoom::AUTO;
}
static int DefaultAndroidHwScale() {
#ifdef __ANDROID__
if (System_GetPropertyInt(SYSPROP_SYSTEMVERSION) >= 19 || System_GetPropertyInt(SYSPROP_DEVICE_TYPE) == DEVICE_TYPE_TV) {
-7
View File
@@ -105,13 +105,6 @@ enum IOTimingMethods {
IOTIMING_REALISTIC = 2,
};
enum class SmallDisplayZoom {
STRETCH = 0,
PARTIAL_STRETCH = 1,
AUTO = 2,
MANUAL = 3,
};
enum class AutoLoadSaveState {
OFF = 0,
OLDEST = 1,
+1 -1
View File
@@ -121,7 +121,7 @@ void GPU_Vulkan::CancelReady() {
void GPU_Vulkan::LoadCache(const Path &filename) {
if (!g_Config.bShaderCache) {
WARN_LOG(G3D, "!!!! Shader cache disabled. Not loading.");
WARN_LOG(G3D, "Shader cache disabled. Not loading.");
return;
}