ReinUsesLisp
0496136657
qt/configure_graphics: Shadow options at runtime
Compatibility profile and the disk shader cache settings shouldn't
be changed at runtime. This aims to address that shadowing those
options.
7 years ago
ReinUsesLisp
f6fa8173e0
yuzu_cmd: Use OpenGL compat when asked in the settings
7 years ago
ReinUsesLisp
657f98867d
yuzu_cmd: Make OpenGL's context current
The SDL2 frontend never bound the OpenGL context, resulting on a white
screen and no-ops all over the backend.
7 years ago
Lioncash
542ab1b1b9
video_core/memory_manager: Mark IsBlockContinuous() as a const member function
Corrects the typo in its name and marks the function as a const member
function, given it doesn't actually modify memory manager state.
7 years ago
Lioncash
24e9c43cf1
video_core/memory_manager: Mark the constructor as explicit
Prevents implicit converting constructions of the memory manager.
7 years ago
Lioncash
cb867f250a
video_core/memory_manager: Default the destructor within the cpp file
Makes the class less surprising when it comes to forward declaring the
type, and also prevents inlining the destruction code of the class,
given it contains non-trivial types.
7 years ago
Lioncash
cf685d3e43
video_core/memory_manager: Amend doxygen comments
Corrects references to non-existent parameters and corrects typos.
7 years ago
Lioncash
57744806c3
video_core/memory_manager: Remove superfluous const from function declarations
These are able to be omitted from the declaration of functions, since
they don't do anything at the type system level. The definitions of the
functions can retain the use of const though, since they make the
variables immutable in the implementation of the function where they're
used.
7 years ago
Lioncash
7afe083f67
video_core/renderer_opengl/gl_shader_cache: Correct member initialization order
Silences a -Wreorder warning.
7 years ago
Lioncash
18d2c00687
video_core/shader/decode/texture: Remove unused variable from GetTld4Code()
7 years ago
Lioncash
7033f5486e
renderer_vulkan/vk_shader_decompiler: Remove unused variable from DeclareInternalFlags()
7 years ago
Lioncash
0feddedab1
video_core/renderer_opengl/gl_shader_decompiler: Remove unused Composite() function
This isn't used at all, so it can be removed.
7 years ago
Lioncash
af21c30808
video_core/renderer_opengl/gl_rasterizer_cache: Remove unused variable in UploadGLMipmapTexture()
This variable is unused entirely, so it can be removed.
7 years ago
Lioncash
56ccfcdb4b
video_core/gpu_thread: Remove unused local variable
Instead of retrieving the data from the std::variant instance, we can
just check if the variant contains that type of data.
This is essentially the same behavior, only it returns a bool indicating
whether or not the type in the variant is currently active, instead of
actually retrieving the data.
7 years ago
Lioncash
d6db5ebae2
video_core/textures/astc: Remove unused variables
Silences a few compilation warnings.
7 years ago
Lioncash
68c4e76ee0
CMakeLists: Specify /volatile:iso for MSVC
By default, MSVC doesn't use standards-compliant volatile semantics.
This makes it behave in a standards-compliant manner, making
expectations more uniform across compilers.
7 years ago
Lioncash
63feb1abed
configure_dialog: Remove the Whats This? button from the dialog
7 years ago
Lioncash
83794b9854
yuzu/hotkeys: Remove unnecessary constructor
The behavior of the Hotkey constructor is already accomplished via in-class member
initializers, so the constructor is superfluous here.
7 years ago
Lioncash
9231b30406
yuzu/compatdb: Remove unnecessary qualifiers
Keeps the code consistent in regards to how the buttons are referred to.
7 years ago
Lioncash
ef2c91af80
src/CMakeLists: Add /Zc:externConstexpr to the MSVC build flags
The C++ standard allows constexpr variables declared with the extern
keyword to have external linkage. Previously MSVC wasn't abiding by
this. This just makes the compiler more standards compliant during
builds.
Given we currently don't make use of anything that would break by this,
this is safe to enable.
7 years ago
Lioncash
a13cb681bc
src/CMakeLists: Vertically order compilation flags
Makes it much nicer to visually scan the options. This also starts the
flag descriptions from the same column for the same reason.
7 years ago
Lioncash
644ee565ff
core/memory: Remove unused FlushMode enum
Recent changes to memory-related code resulted in this being unused, so
we can remove it.
7 years ago
zhupengfei
19dec95663
core/telemetry_session: Only create the backend when we really need it
The backend is not used until we decide to submit the testcase/telemetry, and creating it early prevents users from updating the credentials properly while the games are running.
7 years ago
Lioncash
7af5216680
shader/decode/texture: Remove unused variable
This isn't used anywhere, so we can get rid of it.
7 years ago
Lioncash
388da7095d
CMakeLists: Explicitly specify -Wall for the non-MSVC case
Ensures that -Wall is always active as a compilation flag.
7 years ago
Lioncash
bf153808f6
gl_rasterizer: Silence unused variable warning
Makes use of src, so it's not considered unused.
7 years ago
Lioncash
0f099b0fd3
common/zstd_compression: Remove #pragma once directive from source file
Introduced in 2d755221e8 . This is only
necessary within header files.
7 years ago
Lioncash
6f1d39e2e5
core/frontend/emu_window: Make GraphicsContext's destructor virtual
This class is used in a polymorphic context, so destruction of the
context will lead to undefined behavior if the destructor isn't virtual.
7 years ago
Fernando Sahmkow
08f861a820
Refactors and name corrections.
7 years ago
ReinUsesLisp
5e5eff2081
gl_shader_disk_cache: Skip stored shader variants instead of asserting
Instead of asserting on already stored shader variants, silently skip them.
This shouldn't be happening but when a shader is invalidated and it is
not stored in the shader cache, this assert would hit and save that
shader anyways when the asserts are disabled.
7 years ago
Fernando Sahmkow
aebe67fac7
Fix Layered ASTC Textures
By adding the missing layer offset in ASTC compression.
7 years ago
Lioncash
32b833632b
loader/nso: Remove left-in debug pragma
Unintentionally introduced in d6744d9b06
7 years ago
Lioncash
73c7c9cb21
service/audctl: Update documentation comments to be relative to 8.0.0
The state of these service calls are still the same in version 8.0.0.
7 years ago
ReinUsesLisp
5ea871b373
shader_ir: Move Sampler index entry in operand< to sort declarations
7 years ago
ReinUsesLisp
cd9e8ee0eb
shader_ir: Add missing entry to Sampler operand< comparison
7 years ago
ReinUsesLisp
6198b04557
shader_ir/texture: Fix sampler const buffer key shift
7 years ago
FreddyFunk
04c474b840
Re added new lines at the end of files
7 years ago
unknown
4dfccb1f21
gl_shader_disk_cache: Compress precompiled shader cache file with Zstandard
7 years ago
unknown
5417aaca6d
gl_shader_disk_cache: Use VectorVfsFile for the virtual precompiled shader cache file
7 years ago
unknown
f6568c07ac
gl_shader_disk_cache: Remove per shader compression
7 years ago
Fernando Sahmkow
3d37c4161a
Fixes and Corrections to DMA Engine
7 years ago
Fernando Sahmkow
122b06d102
Add Swizzle Parameters to the DMA engine
7 years ago
Fernando Sahmkow
bcf4b19fca
Add Documentation Headers to all the GPU Engines
7 years ago
Fernando Sahmkow
5c4de1e3fb
Corrections and styling
7 years ago
Fernando Sahmkow
4a2763a121
Implement Maxwell3D Data Upload
7 years ago
Fernando Sahmkow
e42bf4f314
Introduce skeleton of the GPU Compute Engine.
7 years ago
Fernando Sahmkow
86e8a9f978
Revamp Kepler Memory to use a subegine to manage uploads
7 years ago
Fernando Sahmkow
7c1907187f
Rasterizer Cache: Use a temporal storage for Surfaces loading/flushing.
This PR should heavily reduce memory usage since temporal buffers are no
longer stored per Surface but instead managed by the Rasterizer Cache.
7 years ago
Fernando Sahmkow
b17f7da309
Corrections Half Float operations on const buffers and implement saturation.
7 years ago
Fernando Sahmkow
b437d4abd7
Allow picking a Compatibility Profile for OpenGL.
This option allows picking the compatibility profile since a lot of bugs
are fixed in it. We devs will use this option to easierly debug current
problems in our Core implementation.:wq
7 years ago