aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2022-06-15Merge pull request #8460 from Morph1984/bounded-qliamwhite
bounded_threadsafe_queue: Use constexpr capacity and mask
2022-06-15bounded_threadsafe_queue: Use constexpr capacity and maskMorph
While this is the primary change, we also: - Remove the mpsc namespace and rename Queue to MPSCQueue - Make Slot a private struct within MPSCQueue - Remove the AlignedAllocator template argument, as we use std::allocator - Replace instances of mask + 1 with capacity, and mask + 2 with capacity + 1
2022-06-15vk_compute_pass: Explicitly cast to VkAccessFlagsMorph
According to the standard, a narrowing conversion is an implicit conversion from an integer or unscoped enumeration type to an integer type that cannot represent all the values of the original type, except when the value is a literal or constant expression. MSVC, unlike GCC or Clang, determines this to be a narrowing conversion despite the enumeration exclusively containing values that fit within the range of a 32 bit integer, emitting a warning since designated initializers prohibit narrowing conversions. To solve this, explicitly cast to the type we are initializing.
2022-06-14Merge pull request #8383 from Morph1984/shadow-of-the-pastMai
yuzu: Make variable shadowing a compile-time error
2022-06-14vk_compute_pass: Use VK_ACCESS_NONEMorph
This enumeration was introduced in Vulkan 1.3, prefer using this instead of defaulting the enum. Also resolves a narrowing conversion warning on MSVC.
2022-06-14Merge pull request #8439 from liamwhite/monkey-compilerMai
general: fix compilation on GCC 12
2022-06-14vk_compute_pass: Silence Wextra warningMorph
Silences a warning about using enumerated and non-enumerated types in a conditional expression.
2022-06-13general: fix compilation on MinGW GCC 12Liam
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-06-13CMakeLists: Make variable shadowing a compile-time errorMorph
Now that the entire project is free of variable shadowing, we can enforce this as a compile time error to prevent any further introduction of this logic bug.
2022-06-11Merge pull request #8413 from behunin/bounded-queuebunnei
gpu_thread: Move to bounded queue
2022-06-11Merge pull request #8393 from lat9nq/default-vulkanbunnei
general: Set renderer_backend's default to Vulkan
2022-06-02gpu_thread: Move to bounded queueLevi Behunin
2022-06-02Maxwell3D: Fix 3D semaphore counter type 0 handlingBilly Laws
Counter type 0 actually releases the semaphore payload rather than a constant zero as was previously thought. This is required by Skyrim.
2022-06-01core/debugger: Improved stepping mechanism and misc fixesLiam
2022-05-30vulkan_library: Add debug logginglat9nq
2022-05-29Merge pull request #8332 from Morph1984/reduce_exec_sizebunnei
general: Use smaller array types where applicable
2022-05-25Merge pull request #8379 from lat9nq/amd-push-desc-workaroundbunnei
vulkan_device: Block AMDVLK's VK_KHR_push_descriptor
2022-05-25Merge pull request #8369 from lat9nq/amd-wmel-workaroundbunnei
vulkan_device: Workaround extension bug
2022-05-25vulkan_device: Workaround extension buglat9nq
A bug occurs in yuzu when VK_KHR_workgroup_memory_explicit_layout is available but 16-bit integers are not supported in the host driver. Disable usage of the extension when this case arises.
2022-05-25vulkan_device: Block AMDVLK's VK_KHR_push_descriptorlat9nq
Recent AMD Vulkan drivers (22.5.2 or 2.0.226 for specifically Vulkan) have a broken VK_KHR_push_descriptor implementation that causes a crash in yuzu. Disable it for the time being.
2022-05-24Merge pull request #8311 from asLody/fix-stencil-facesbunnei
vk_rasterizer: fix stencil test when two faces are disabled
2022-05-17video_core: Support new VkResultAlexandre Bouvier
2022-05-13video_core/surface: Use u8 for PixelFormat block tablesMorph
Using this smaller type saves 33280 bytes in the compiled executable.
2022-05-13codecs/vp9: Use u8 for norm and map lutsMorph
Using this smaller type saves 1536 bytes in the compiled executable.
2022-05-11Merge pull request #8314 from liamwhite/gl-flip-2Morph
OpenGL: interpret face flips according to GL NDC
2022-05-11Merge pull request #8313 from liamwhite/dma-bppMorph
maxwell_dma: fix bytes_per_pixel
2022-05-10maxwell_dma: use fallback if remapping is enabledLiam
2022-05-10video_core/macro: clear code on upload address assignmentLiam
2022-05-08VideoCore: Add option to dump the macros.Fernando Sahmkow
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2022-05-08video_core/macro_jit_x64: warn on invalid parameter accessLiam
2022-05-06OpenGL: implement face flips according to NDCLiam
2022-05-06maxwell_dma: fix bytes per pixelLiam
2022-05-06vk_rasterizer: fix stencil test when two faces are disabledLody
2022-04-28Merge pull request #8280 from Tachi107/spdx-fixupMai M
chore: add missing SPDX tags
2022-04-28Merge pull request #8282 from liamwhite/gcc-12Mai M
GCC 12 fixes
2022-04-28GCC 12 fixesLiam
2022-04-28chore: add missing SPDX tagsAndrea Pappacoda
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
2022-04-26renderer_vulkan: Update screen info if the framebuffer size has changedMorph
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-04-18bootmanager: Don't create another screenshot request if previous one is not ↵german77
done yet
2022-04-14video_core: implement formats for N64 emulationFernando Sahmkow
2022-04-14buffer_cache: cap vertex buffer sizesLiam
2022-04-14maxwell3d: add small_index_2 registerLiam
2022-04-09Merge pull request #8149 from liamwhite/front-facebunnei
OpenGL: flip front faces if Z scale is inverted
2022-04-07video_core: Replace lock_guard with scoped_lockMerry
2022-04-07Merge pull request #8161 from liamwhite/gl-s8d24Fernando S
OpenGL: fix S8D24 to ABGR8 conversions
2022-04-07Merge pull request #8152 from liamwhite/gl-cropFernando S
OpenGL: fix cropping
2022-04-06OpenGL: fix S8D24 to ABGR8 conversionsLiam
2022-04-04Revert "texture_cache/util: Remove unneeded ReadBlockUnsafe"bunnei