Lioncash
7c15a53048
yuzu/CMakeLists: Remove qt5_wrap_ui macro usage
We can simply enable CMAKE_AUTOUIC and let CMake take care of handling
the UI code generation for targets.
As part of letting CMake automatically handle the header file parsing,
we must not name includes with "ui_*" unless they're related to the
output of the Qt UIC compiler. Because of this, we need to rename
ui_settings, given it would conflict with this restriction.
7 years ago
Silent
70c839c55d
Qt: Fixed behaviour of buttons by connecting functors to correct signals
Following screens got fixes:
- Configure/Debug
- Configure/Input
7 years ago
Fernando Sahmkow
57e6c1fac3
Maxwell3D: Reorganize and address feedback
7 years ago
Fernando Sahmkow
9a4a346b3f
Shader_Ir: Change Debug Asserts for Log Warnings
7 years ago
ReinUsesLisp
2f76aafca9
shader/half_set_predicate: Fix HSETP2 implementation
7 years ago
ReinUsesLisp
edc43b2509
shader/half_set_predicate: Implement missing HSETP2 variants
7 years ago
Lioncash
2f1921b8f4
video_core/control_flow: Provide operator!= for types with operator==
Provides operational symmetry for the respective structures.
7 years ago
Lioncash
e792178598
video_core/control_flow: Prevent sign conversion in TryGetBlock()
The return value is a u32, not an s32, so this would result in an
implicit signedness conversion.
7 years ago
Lioncash
c3dd5c7667
video_core/control_flow: Remove unnecessary BlockStack copy constructor
This is the default behavior of the copy constructor, so it doesn't need
to be specified.
While we're at it we can make the other non-default constructor
explicit.
7 years ago
Lioncash
095259a135
video_core/control_flow: Use std::move where applicable
Results in less work being done where avoidable.
7 years ago
Lioncash
0d287d3551
video_core/control_flow: Use the prefix variant of operator++ for iterators
Same thing, but potentially allows a standard library implementation to
pick a more efficient codepath.
7 years ago
Lioncash
da307b1c61
video_core/control_flow: Use empty() member function for checking emptiness
It's what it's there for.
7 years ago
Lioncash
f6250ef163
video_core: Resolve -Wreorder warnings
Ensures that the constructor members are always initialized in the order
that they're declared in.
7 years ago
Lioncash
fcc59b55f7
video_core/control_flow: Make program_size for ScanFlow() a std::size_t
Prevents a truncation warning from occurring with MSVC. Also the
internal data structures already treat it as a size_t, so this is just a
discrepancy in the interface.
7 years ago
Lioncash
1bad7650ec
video_core/control_flow: Place all internally linked types/functions within an anonymous namespace
Previously, quite a few functions were being linked with external
linkage.
7 years ago
Lioncash
78f54de493
video_core/shader/decode: Prevent sign-conversion warnings
Makes it explicit that the conversions here are intentional.
7 years ago
Fernando Sahmkow
3e0f5631c3
Shader_Ir: correct clang format
7 years ago
Fernando Sahmkow
d6e1af6f23
GPU: Add missing puller methods.
This adds some missing puller methods. We don't assert them as these are
nop operations for us.
7 years ago
Fernando Sahmkow
62486dfb4f
MaxwellDMA/KeplerCopy: Downgrade DMA log message to Trace.
This log was just to know which games used DMA. It's no longer
important.
7 years ago
Fernando Sahmkow
57a372439d
Gl_Texture_Cache: Remove assert on component type in GetFormatTuple
Textures can have different components types in different orders. This
assert was completely inprecise and the effectiveness of such is better
handled by case and within the texture cache.
7 years ago
Fernando Sahmkow
a13b47f080
Shader_Ir: Downgrade precision and rounding asserts to debug asserts.
This commit reduces the sevirity of asserts for FP precision and
rounding as this are well known and have little to no consequences in
gpu's accuracy.
7 years ago
Fernando Sahmkow
27caf7f25f
Kernel: Downgrade WaitForAddress and SignalToAddress messages to Trace.
This messages were originally set as warnning since few games used these
svcs and it was needed for debugging. This is no longer the case.
7 years ago
Fernando Sahmkow
c9690e912e
GL_State: Feedback and fixes
7 years ago
Fernando Sahmkow
527a77ec0a
Maxwell3D: Address Feedback
7 years ago
Fernando Sahmkow
ca50a64db8
Texture_Cache: Rebase Fixes
7 years ago
Fernando Sahmkow
2f716f52d9
GL_Rasterizer: Corrections to Clearing.
7 years ago
Fernando Sahmkow
8dd4797e00
Maxwell3D: Correct marking dirtiness on CB upload
7 years ago
Fernando Sahmkow
0d34a53c44
GL_Rasterizer: Rework RenderTarget/DepthBuffer clearing
7 years ago
Fernando Sahmkow
89cc60554a
Maxwell3D: Implement State Dirty Flags.
7 years ago
Fernando Sahmkow
24bf7e4de0
Maxwell3D: Rework CBData Upload
7 years ago
Fernando Sahmkow
7c50842226
Maxwell3D: Rework the dirty system to be more consistant and scaleable
7 years ago
Fernando Sahmkow
67d869b53a
maxwell3d: Implement Conditional Rendering
Conditional Rendering takes care of conditionaly clearing or drawing
depending on a set of queries. This PR implements the query checks to
stablish if things can be rendered or not.
7 years ago
Lioncash
41e2ad0f26
shader_ir: std::move Node instance where applicable
These are std::shared_ptr instances underneath the hood, which means
copying them isn't as cheap as a regular pointer. Particularly so on
weakly-ordered systems.
This avoids atomic reference count increments and decrements where they
aren't necessary for the core set of operations.
7 years ago
Lioncash
4d02d971de
shader_ir: Rename Get/SetTemporal to Get/SetTemporary
This is more accurate in terms of describing what the functions are
actually doing. Temporal relates to time, not the setting of a temporary
itself.
7 years ago
Lioncash
40a74b1546
shader_ir: Remove unused includes
Removes unnecessary header dependencies.
7 years ago
Fernando Sahmkow
88fddaca00
Shader_Ir: Correct tracking to track from right to left
7 years ago
Lioncash
778d8fedfa
shader/decode/other: Correct branch indirect argument within BRA handling
This appears to have been a copy/paste error introduced within
d5d4cc30ec
7 years ago
ReinUsesLisp
1498ef807d
gl_shader_cache: Fix clang-format issues
7 years ago
ReinUsesLisp
1a98408a9e
gl_shader_decompiler: Stub local memory size
7 years ago
ReinUsesLisp
eb8f2307e1
gl_shader_cache: Address review commentaries
7 years ago
ReinUsesLisp
4ee96c8498
gl_shader_cache: Address CI issues
7 years ago
ReinUsesLisp
37a3fdc6c6
gl_rasterizer: Implement compute shaders
7 years ago
ReinUsesLisp
a54be6ef96
shader: Allow tracking of indirect buffers without variable offset
While changing this code, simplify tracking code to allow returning
the base address node, this way callers don't have to manually rebuild
it on each invocation.
7 years ago
Fernando Sahmkow
03e55c48d6
Texture_Cache: Address Feedback
7 years ago
Fernando Sahmkow
3cf8851567
Texture_Cache: Remove some unprecise fallback case and clang format
7 years ago
Fernando Sahmkow
5e7b10ec49
Texture_Cache: Force Framebuffer reset if an active render target is unregistered.
7 years ago
Fernando Sahmkow
09d818732f
GPU: Add a microprofile for macro interpreter
7 years ago
Fernando Sahmkow
ec05f185a3
GL_State: Add a microprofile timer to OpenGL state.
7 years ago
Fernando Sahmkow
9109a3f925
Gl_Texture_Cache: Measure Buffer Copy Times
7 years ago
Fernando Sahmkow
c9c7b13f76
Texture_Cache: Correct Linear Structural Match.
7 years ago