| 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.
|
|
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.
|
|
memory_manager: Mark IsGranularRange() as a const member function
|
|
video_core: Initialize renderer with a GPU
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
common/telemetry: Migrate namespace into the Common namespace
|
|
vulkan/wrapper: Avoid unnecessary copy in EnumerateInstanceExtensionProperties()
|
|
Migrates the Telemetry namespace into the Common namespace to make the
code consistent with the rest of our common code.
|
|
common/fileutil: Convert namespace to Common::FS
|
|
vulkan_renderer: Async shader/graphics pipeline compilation
|
|
async_shaders: Resolve -Wpessimizing-move warning
|
|
Addressing feedback from Rodrigo
|
|
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
Migrates a remaining common file over to the Common namespace, making it
consistent with the rest of common files.
This also allows for high-traffic FS related code to alias the
filesystem function namespace as
namespace FS = Common::FS;
for more concise typing.
|
|
common: Make use of [[nodiscard]] where applicable
|
|
maxwell_3d: Resolve -Wextra-semi warning
|
|
Seems like all compilers don't support std::span yet.
|
|
lz4_compression/zstd_compression: Make use of std::span in interfaces
|
|
textures/decoders: Fix block linear to pitch copies
|
|
We need to provide a message for this variant of the macro, so we can
simply log out the type being used.
|
|
This was assigning the field to itself, which is a no-op. The size
doesn't change between its initial assignment and this one, so this is a
safe change to make.
|
|
Given this is implicitly creating a std::optional, we can move the
vector into it.
|
|
Allows the compiler to avoid unnecessarily zeroing out the internal
buffer of std::optional on some implementations.
|
|
Prevents pessimization of the move constructor (which thankfully didn't
actually happen in practice here, given std::thread isn't copyable).
|
|
Semicolons after a function definition aren't necessary.
|
|
gl_shader_cache: Use std::max() for determining num_workers
|
|
|
|
Does not allocate more threads than available in the host system for boot-time shader compilation and always allocates at least 1 thread if hardware_concurrency() returns 0.
|
|
There were two issues with block linear copies. First the swizzling was
wrong and this commit reimplements them.
The other issue was that these copies are generally used to download
render targets from the GPU and yuzu was not downloading them from
host GPU memory unless the extreme GPU accuracy setting was selected.
This commit enables cached memory reads for all accuracy levels.
- Fixes level thumbnails in Super Mario Maker 2.
|
|
video_core: Remove redundant pixel format type
|
|
hle: nvdrv: Rewrite of GPU memory management.
|
|
renderer_opengl: Use 1/4 of all threads for async shader compilation
|
|
vk_texture_cache: Silence -Wmissing-field-initializer warnings
|