| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Ensures that our code always has its linkage explicit.
|
| | |
|
| |
|
|
|
| |
Allows catching cases where internal linkage isn't specified for helper
functions when they should be marked as such.
|
| |\
| |
| | |
CMakeLists: Specify -Wextra on linux builds
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allows reporting more cases where logic errors may exist, such as
implicit fallthrough cases, etc.
We currently ignore unused parameters, since we currently have many
cases where this is intentional (virtual interfaces).
While we're at it, we can also tidy up any existing code that causes
warnings. This also uncovered a few bugs as well.
|
| |\ \
| | |
| | | |
buffer_cache: Return handles instead of pointer to handles
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The original idea of returning pointers is that handles can be moved.
The problem is that the implementation didn't take that in mind and made
everything harder to work with. This commit drops pointer to handles and
returns the handles themselves. While it is still true that handles can
be invalidated, this way we get an old handle instead of a dangling
pointer.
This problem can be solved in the future with sparse buffers.
|
| |\ \ \
| | | |
| | | | |
externals: Use shared libraries if possible
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This is mostly done by pkgconfig.
I've focused on the larger and more stable libraries.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Neither core nor web_services use OpenSSL nor LibreSSL.
However they need to link them as it's a requirement of httplib.
So let's declare this within httplib instead of core and web_services.
|
| |/ / / |
|
| |\ \ \
| | | |
| | | | |
service: time: Implement CalculateStandardUserSystemClockDifferenceByUser.
|
| | |/ /
| | |
| | |
| | | |
- Used by Animal Crossing: New Horizons.
|
| |\ \ \
| | | |
| | | | |
decode/shift: Remove unused variable within Shift()
|
| | | |/
| |/|
| | |
| | |
| | | |
Removes a redundant variable that is already satisfied by the IsFull()
utility function.
|
| |\ \ \
| | | |
| | | | |
surface_view: Add missing operator!= to ViewParams
|
| | |/ /
| | |
| | |
| | | |
Provides logical symmetry to the interface.
|
| |\ \ \
| | | |
| | | | |
gl_device: Mark stage_swizzle as constexpr
|
| | |/ /
| | |
| | |
| | | |
Previously this was mutable even though it shouldn't be.
|
| |\ \ \
| | | |
| | | | |
surface_base: Make IsInside() a const member function
|
| | |/ /
| | |
| | |
| | | |
This doesn't modify internal state, so this can be made const.
|
| |\ \ \
| | | |
| | | | |
control_flow: Make use of std::move in TryInspectAddress()
|
| | |/ /
| | |
| | |
| | | |
Eliminates redundant atomic reference count increments and decrements.
|
| |\ \ \
| | | |
| | | | |
video_core: Amend doxygen comment references
|
| | |/ /
| | |
| | |
| | | |
Fixes broken documentation references.
|
| |\ \ \
| |/ /
|/| | |
Texture Cache: Read current data when flushing a 3D segment.
|
| | |/
| |
| |
| |
| | |
This PR corrects flushing of 3D segments when data of other segments is
mixed, this aims to preserve the data in place.
|
| |\ \
| | |
| | | |
shader/memory: Implement RED.E.ADD and minor changes to ATOM
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implements a reduction operation. It's an atomic operation that doesn't
return a value.
This commit introduces another primitive because some shading languages
might have a primitive for reduction operations.
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
CMakeLists: Make -Wreorder a compile-time error
|
| |/ / /
| | |
| | |
| | |
| | |
| | | |
This can result in silent logic bugs within code, and given the amount
of times these kind of warnings are caused, they should be flagged at
compile-time so no new code is submitted with them.
|
| |\ \ \
| | | |
| | | | |
gl_rasterizer: Implement constant vertex attributes
|
| | | |/
| |/|
| | |
| | |
| | | |
Credits go to gdkchan from Ryujinx for finding constant attributes are
used in retail games.
|
| |\ \ \
| | | |
| | | | |
maxwell_to_vk: Add uint16 vertex formats
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Avoid invalid fallbacks.
|
| |\ \ \ \
| | | | |
| | | | | |
gl_shader_cache: Use CompileDepth::FullDecompile on GLSL
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
From my testing on a Splatoon 2 shader that takes 3800ms on average to
compile changing to FullDecompile reduces it to 900ms on average.
The shader decoder will automatically fallback to a more naive method if
it can't use full decompile.
|
| |\ \ \ \
| | | | |
| | | | | |
gl_texture_cache: Fix layered texture attachment base level
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
The base level is already included in the texture view. If we specify
the base level in the texture again, this will end up in the incorrect
level and potentially out of bounds.
|
| |\ \ \ \
| | | | |
| | | | | |
shader/arithmetic: Add FCMP_CR variant
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Adds another variant of FCMP.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Revert "gl_shader_decompiler: Implement merges with bitfieldInsert"
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 05cf27083608bebd3ee4c38f2f948c8f2030f881.
Apparently the first approach using floats instead of bitfieldInert
worked better for Fire Emblem: Three Houses. Reverting to get that
behavior back.
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | | |
vk_blit_screen: Initialize all members in VkPipelineViewportStateCreateInfo
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When the dynamic state is specified, pViewports and pScissors are
ignored, quoting the specification:
pViewports is a pointer to an array of VkViewport structures, defining
the viewport transforms. If the viewport state is dynamic, this member
is ignored.
That said, AMD's proprietary driver itself seem to read it regardless of
what the specification says.
|
| |\ \ \ \
| | | | |
| | | | | |
vk_rasterizer: Default to 1 viewports with a size of 0
|
| | | |/ /
| |/| |
| | | |
| | | | |
Silence validation layer errors.
|