| Age | Commit message (Collapse) | Author |
|
R16G16B16_SSCALED, R8G8B8_SSCALED
|
|
video_core: stop waiting for shader compilation on user cancel
|
|
|
|
|
|
gpu_thread: Use the previous MPSCQueue implementation
|
|
[REUSE] is a specification that aims at making file copyright
information consistent, so that it can be both human and machine
readable. It basically requires that all files have a header containing
copyright and licensing information. When this isn't possible, like
when dealing with binary assets, generated files or embedded third-party
dependencies, it is permitted to insert copyright information in the
`.reuse/dep5` file.
Oh, and it also requires that all the licenses used in the project are
present in the `LICENSES` folder, that's why the diff is so huge.
This can be done automatically with `reuse download --all`.
The `reuse` tool also contains a handy subcommand that analyzes the
project and tells whether or not the project is (still) compliant,
`reuse lint`.
Following REUSE has a few advantages over the current approach:
- Copyright information is easy to access for users / downstream
- Files like `dist/license.md` do not need to exist anymore, as
`.reuse/dep5` is used instead
- `reuse lint` makes it easy to ensure that copyright information of
files like binary assets / images is always accurate and up to date
To add copyright information of files that didn't have it I looked up
who committed what and when, for each file. As yuzu contributors do not
have to sign a CLA or similar I couldn't assume that copyright ownership
was of the "yuzu Emulator Project", so I used the name and/or email of
the commit author instead.
[REUSE]: https://reuse.software
Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
|
|
|
|
- These were all somewhat redundant.
|
|
The bounded MPSCQueue implementation causes crashes in Fire Emblem Three Houses, use the previous implementation for now.
|
|
- Used by Monster Hunter Rise Update 10.0.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bounded_threadsafe_queue: Use constexpr capacity and mask
|
|
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
|
|
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.
|
|
yuzu: Make variable shadowing a compile-time error
|
|
This enumeration was introduced in Vulkan 1.3, prefer using this instead of defaulting the enum.
Also resolves a narrowing conversion warning on MSVC.
|
|
general: fix compilation on GCC 12
|
|
Silences a warning about using enumerated and non-enumerated types in a conditional expression.
|
|
|
|
|
|
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.
|
|
gpu_thread: Move to bounded queue
|
|
general: Set renderer_backend's default to Vulkan
|
|
|
|
Counter type 0 actually releases the semaphore payload rather than a constant zero as was previously thought. This is required by Skyrim.
|
|
|
|
|
|
general: Use smaller array types where applicable
|
|
vulkan_device: Block AMDVLK's VK_KHR_push_descriptor
|
|
vulkan_device: Workaround extension bug
|
|
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.
|
|
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.
|
|
vk_rasterizer: fix stencil test when two faces are disabled
|
|
|
|
Using this smaller type saves 33280 bytes in the compiled executable.
|
|
Using this smaller type saves 1536 bytes in the compiled executable.
|
|
OpenGL: interpret face flips according to GL NDC
|
|
maxwell_dma: fix bytes_per_pixel
|
|
|
|
|
|
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
|
|
|
|
|
|
|