Lioncash
5db1b54b58
video_core/engines/maxwell3d: Get rid of three magic values in CallMethod()
We can use the named constant instead of using 32 directly.
7 years ago
Lioncash
48ce5880a0
video_core/engines/maxwell_3d: Simplify for loops into ranged for loops within InitializeRegisterDefaults()
Lessens the amount of code that needs to be read, and gets rid of the
need to introduce an indexing variable. Instead, we just operate on the
objects directly.
7 years ago
Lioncash
716fbaef74
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
d4bcd006b2
video_core/memory_manager: Mark the constructor as explicit
Prevents implicit converting constructions of the memory manager.
7 years ago
Lioncash
fd12788967
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
53afe47cec
video_core/memory_manager: Amend doxygen comments
Corrects references to non-existent parameters and corrects typos.
7 years ago
Lioncash
5235b053b4
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
b6408e9671
video_core/renderer_opengl/gl_shader_cache: Correct member initialization order
Silences a -Wreorder warning.
7 years ago
Lioncash
e43ba3acd4
video_core/shader/decode/texture: Remove unused variable from GetTld4Code()
7 years ago
Lioncash
e3c45b4338
renderer_vulkan/vk_shader_decompiler: Remove unused variable from DeclareInternalFlags()
7 years ago
Lioncash
175fe8aaeb
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
6d28d288a3
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
ba165b1092
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
c56d893e77
video_core/textures/astc: Remove unused variables
Silences a few compilation warnings.
7 years ago
Lioncash
c4d03f0154
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
f3c18d622e
configure_dialog: Remove the Whats This? button from the dialog
7 years ago
Lioncash
8bdef4f951
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
a97120efc1
yuzu/compatdb: Remove unnecessary qualifiers
Keeps the code consistent in regards to how the buttons are referred to.
7 years ago
Lioncash
70c6506a7e
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
6ca7241bd9
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
495a8d8d95
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
10c4f23953
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
9e15193ef8
shader/decode/texture: Remove unused variable
This isn't used anywhere, so we can get rid of it.
7 years ago
Lioncash
5d0dca73c6
CMakeLists: Explicitly specify -Wall for the non-MSVC case
Ensures that -Wall is always active as a compilation flag.
7 years ago
Lioncash
08b270676b
gl_rasterizer: Silence unused variable warning
Makes use of src, so it's not considered unused.
7 years ago
Lioncash
a6f7a44aab
common/zstd_compression: Remove #pragma once directive from source file
Introduced in 72477731ed . This is only
necessary within header files.
7 years ago
Lioncash
1230a0e7ce
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
e64c41efe8
Refactors and name corrections.
7 years ago
ReinUsesLisp
4aa081b4e7
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
95261639fb
Fix Layered ASTC Textures
By adding the missing layer offset in ASTC compression.
7 years ago
Lioncash
75a8b304d4
loader/nso: Remove left-in debug pragma
Unintentionally introduced in 552d5071fa
7 years ago
Lioncash
565fce71b1
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
2156e52014
shader_ir: Move Sampler index entry in operand< to sort declarations
7 years ago
ReinUsesLisp
b77b4b76bb
shader_ir: Add missing entry to Sampler operand< comparison
7 years ago
ReinUsesLisp
0b91087a1e
shader_ir/texture: Fix sampler const buffer key shift
7 years ago
FreddyFunk
1a3ff252a4
Re added new lines at the end of files
7 years ago
unknown
3091b40691
gl_shader_disk_cache: Compress precompiled shader cache file with Zstandard
7 years ago
unknown
9db2c734c9
gl_shader_disk_cache: Use VectorVfsFile for the virtual precompiled shader cache file
7 years ago
unknown
3fe542cf60
gl_shader_disk_cache: Remove per shader compression
7 years ago
Fernando Sahmkow
b3118ee316
Fixes and Corrections to DMA Engine
7 years ago
Fernando Sahmkow
f1e5314f1a
Add Swizzle Parameters to the DMA engine
7 years ago
Fernando Sahmkow
e140e2ebc6
Add Documentation Headers to all the GPU Engines
7 years ago
Fernando Sahmkow
021d28c9b8
Corrections and styling
7 years ago
Fernando Sahmkow
701ce1c9d0
Implement Maxwell3D Data Upload
7 years ago
Fernando Sahmkow
e4ff140b99
Introduce skeleton of the GPU Compute Engine.
7 years ago
Fernando Sahmkow
a91d3fc639
Revamp Kepler Memory to use a subegine to manage uploads
7 years ago
Fernando Sahmkow
4c36b78567
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
623b2e4b8f
Corrections Half Float operations on const buffers and implement saturation.
7 years ago
Fernando Sahmkow
788497fd9d
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
Fernando Sahmkow
08cdcc2871
Apply Position Y Direction
7 years ago