Age | Commit message (Collapse) | Author |
|
Vertex binding's <stride> is bugged on AMD's proprietary drivers when
using VK_EXT_extended_dynamic_state. Blacklist it for now while we
investigate how to report this issue to AMD.
|
|
input_common: Eliminate most global state
|
|
cpu_interrupt_handler: Make is_interrupted an atomic
|
|
Abstracts most of the input mechanisms under an InputSubsystem class
that is managed by the frontends, eliminating any static constructors
and destructors. This gets rid of global accessor functions and also
allows the frontends to have a more fine-grained control over the
lifecycle of the input subsystem.
This also makes it explicit which interfaces rely on the input subsystem
instead of making it opaque in the interface functions. All that remains
to migrate over is the factories, which can be done in a separate
change.
|
|
Project Mjölnir: Part 1 - Input Rewrite
|
|
common/assert: Make use of C++ attribute syntax
|
|
shader/memory: Amend UNIMPLEMENTED_IF_MSG without a message
|
|
video_core/host_shaders: Add CMake integration for string shaders
|
|
|
|
vk_state_tracker: Fix primitive topology
|
|
|
|
This doesn't modify member state, so it can be marked as const.
|
|
|
|
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
|
|
|
|
This allows homebrew applications to be able to properly detect connected controllers.
|
|
|
|
The hardware tested value is 0.5 which translates to SHRT_MAX / 2
|
|
|
|
Co-authored-by: James Rowe <jroweboy@gmail.com>
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
|
|
|
Fixes a race condition detected from tsan
|
|
memory_manager: Mark IsGranularRange() as a const member function
|
|
registered_cache: Make use of designated initializers
|
|
common/color: Migrate code over to the Common namespace
|
|
video_core: Initialize renderer with a GPU
|
|
cpu_manager: Make use of ranged for where applicable
|
|
Normalizes the syntax used for attributes
|
|
This doesn't modify internal member state, so it can be marked as const.
|
|
LabelGLObject takes a string_view, so we don't need to make copies of
the std::string.
|
|
Avoids pulling in unnecessary things that can cause rebuilds when they
aren't required.
|
|
key_manager: Make data arrays constexpr
|
|
Add the necessary CMake code to copy the contents in a string source
shader (GLSL or GLASM) to a header file then consumed by video_core
files.
This allows editting GLSL in its own files without having to maintain
them in source files.
For now, only OpenGL presentation shaders are moved, but we can add
GLASM presentation shaders and static SPIR-V generation through
glslangValidator in the future.
|
|
This allows us passing any type of string and hinting the length of the
string to the OpenGL driver.
|
|
vfs_real: Avoid redundant map lookups
|
|
web_service: Move web_result.h into web_service
|
|
Simplifies code.
|
|
Removes the need for comments to indicate the fields being assigned.
|
|
core_timing: Resolve sign conversion warning
|
|
We can convert these maps into constexpr arrays to eliminate some
runtime static constructors.
|
|
We can simplify a few loops by making use of ranged for.
|
|
|
|
Same behavior, minus unnecessary zeroing out of the pointer.
|
|
This constant is only ever assigned to downcount, which is a s64, not a
u64.
|
|
This is the only place it's actively used. It's also more appropriate
for web-related structures to be within the web service target.
Especially given this one doesn't rely on anything in the common
library.
|
|
Add an extra step in GPU initialization to be able to initialize render
backends with a valid GPU instance.
|
|
gl_shader_disk_cache: Make use of std::nullopt where applicable
|
|
dynarmic: Add unsafe optimizations
|
|
macro-interpreter: Resolve -Wself-assign-field warning
|
|
State track the current primitive topology with a regular comparison
instead of using dirty flags.
This fixes a bug in dirty flags for this particular state and it also
avoids unnecessary state changes as this property is stored in a
frequently changed bit field.
|