diff --git a/CMakeLists.txt b/CMakeLists.txt index a3fc47da0..54d165562 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -419,7 +419,10 @@ add_executable(trophy_system_tests EXCLUDE_FROM_ALL target_link_libraries(trophy_system_tests common) target_include_directories(trophy_system_tests PRIVATE ${inc_headers}) -add_executable(avplayer_file_tests EXCLUDE_FROM_ALL "${KYTY_TESTS_DIR}/AvPlayerFileTests.cpp") +add_executable(avplayer_file_tests EXCLUDE_FROM_ALL + "${KYTY_TESTS_DIR}/AvPlayerFileTests.cpp" + "${KYTY_SOURCE_DIR}/loader/timer.cpp" +) target_link_libraries(avplayer_file_tests common FFmpeg::ffmpeg ZArchive::zarchive) target_include_directories(avplayer_file_tests PRIVATE ${inc_headers}) @@ -689,6 +692,7 @@ if(BUILD_TESTING) memory_tracker_tests page_manager_tests archive_file_tests + trophy_system_tests avplayer_file_tests bit_array_tests lru_cache_tests diff --git a/tests/ShaderRecompilerComputeTests.cpp b/tests/ShaderRecompilerComputeTests.cpp index e6b6d86ca..34e56f130 100644 --- a/tests/ShaderRecompilerComputeTests.cpp +++ b/tests/ShaderRecompilerComputeTests.cpp @@ -33541,7 +33541,8 @@ void CheckIndirectBufferStore(VulkanHarness &vulkan) { candidate.indirect_search_iterations = 0; candidate.indirect_resources.clear(); program.descriptor_sources.resize(1); - program.descriptor_sources[0].indirect_descriptor.emplace().table_stride = 16; + program.descriptor_sources[0].indirect_descriptor = + DescriptorSource::IndirectDescriptor{.table_stride = 16}; ShaderComputeInputInfo compute; compute.wave_size = 32; compute.host_subgroup_size = vulkan.SubgroupSize();