diff --git a/README.md b/README.md index e3e29a601..2abe01858 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 1316. +This is the source code for early-access 1317. ## Legal Notice diff --git a/patches/inject-git-info.patch b/patches/inject-git-info.patch index a3c7b5951..b5c4bffee 100644 --- a/patches/inject-git-info.patch +++ b/patches/inject-git-info.patch @@ -1,40 +1,17 @@ -diff --git a/CMakeModules/GenerateSCMRev.cmake b/CMakeModules/GenerateSCMRev.cmake ---- a/CMakeModules/GenerateSCMRev.cmake -+++ b/CMakeModules/GenerateSCMRev.cmake -@@ -11,10 +11,10 @@ - - # generate git/build information - include(GetGitRevisionDescription) --get_git_head_revision(GIT_REF_SPEC GIT_REV) --git_describe(GIT_DESC --always --long --dirty) --git_branch_name(GIT_BRANCH) --get_timestamp(BUILD_DATE) -+#get_git_head_revision(GIT_REF_SPEC GIT_REV) -+#git_describe(GIT_DESC --always --long --dirty) -+#git_branch_name(GIT_BRANCH) -+#get_timestamp(BUILD_DATE) - - # Generate cpp with Git revision from template - # Also if this is a CI build, add the build name (ie: Nightly, Canary) to the scm_rev file as well -@@ -113,4 +113,5 @@ - set(COMBINED "${COMBINED}${TMP}") - endforeach() - string(MD5 SHADER_CACHE_VERSION "${COMBINED}") -+set(BUILD_FULLNAME "${BUILD_FULLNAME} ") - configure_file("${SRC_DIR}/src/common/scm_rev.cpp.in" "scm_rev.cpp" @ONLY) -diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt ---- a/src/common/CMakeLists.txt -+++ b/src/common/CMakeLists.txt -@@ -28,6 +28,12 @@ - -DBUILD_TAG="${BUILD_TAG}" - -DBUILD_ID="${DISPLAY_VERSION}" - -DGIT_EXECUTABLE="${GIT_EXECUTABLE}" -+ -DGIT_REF_SPEC="${GIT_REF_SPEC}" -+ -DGIT_REV="${GIT_REV}" -+ -DGIT_DESC="${GIT_DESC}" -+ -DGIT_BRANCH="${GIT_BRANCH}" -+ -DBUILD_FULLNAME="${BUILD_FULLNAME}" -+ -DBUILD_DATE="${BUILD_DATE}" - -P "${CMAKE_SOURCE_DIR}/CMakeModules/GenerateSCMRev.cmake" - DEPENDS - # WARNING! It was too much work to try and make a common location for this list, + + + + +
+Backend is unhealthy
+Details: cache-fra19153-FRA 1610670438 2624000569
+Varnish cache server
+ + diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 8a606b448..5b637f3c5 100755 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -6,6 +6,7 @@ add_executable(tests common/ring_buffer.cpp core/core_timing.cpp tests.cpp + video_core/buffer_base.cpp ) create_target_directory_groups(tests) diff --git a/src/tests/video_core/buffer_base.cpp b/src/tests/video_core/buffer_base.cpp index e6d0b2c6d..651633e9e 100755 --- a/src/tests/video_core/buffer_base.cpp +++ b/src/tests/video_core/buffer_base.cpp @@ -42,8 +42,8 @@ public: return it == page_table.end() ? 0 : it->second; } - [[nodiscard]] int Count() const noexcept { - int count = 0; + [[nodiscard]] unsigned Count() const noexcept { + unsigned count = 0; for (const auto [index, value] : page_table) { count += value; } @@ -120,11 +120,11 @@ TEST_CASE("BufferBase: Basic range", "[video_core]") { buffer.MarkRegionAsCpuModified(c, PAGE); int num = 0; buffer.ForEachUploadRange(c, WORD, [&](u64 offset, u64 size) { - REQUIRE(offset == 0); + REQUIRE(offset == 0U); REQUIRE(size == PAGE); ++num; }); - REQUIRE(num == 1); + REQUIRE(num == 1U); } TEST_CASE("BufferBase: Border upload", "[video_core]") { @@ -183,7 +183,7 @@ TEST_CASE("BufferBase: Partial word uploads", "[video_core]") { BufferBase buffer(rasterizer, c, 0x9d000); int num = 0; buffer.ForEachUploadRange(c, WORD, [&](u64 offset, u64 size) { - REQUIRE(offset == 0); + REQUIRE(offset == 0U); REQUIRE(size == WORD); ++num; }); diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index a1953a529..e59d6d0ad 100755 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -1,6 +1,7 @@ add_subdirectory(host_shaders) add_library(video_core STATIC + buffer_cache/buffer_base.h buffer_cache/buffer_block.h buffer_cache/buffer_cache.h buffer_cache/map_interval.cpp diff --git a/src/yuzu/configuration/configure_dialog.cpp b/src/yuzu/configuration/configure_dialog.cpp index b33f8437a..d6b17a28d 100755 --- a/src/yuzu/configuration/configure_dialog.cpp +++ b/src/yuzu/configuration/configure_dialog.cpp @@ -117,31 +117,13 @@ void ConfigureDialog::UpdateVisibleTabs() { return; } - const std::map