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
bunnei
a0571bcccd
Merge pull request #2687 from lioncash/tls-process
kernel/process: Allocate the process' TLS region during initialization
7 years ago
bunnei
e49fae981f
Merge pull request #2738 from lioncash/shader-ir
shader-ir: Minor cleanup-related changes
7 years ago
David
7d38c526fe
Merge pull request #2741 from FernandoS27/trace-log
Kernel: Downgrade WaitForAddress and SignalToAddress messages to Trace.
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
a1abc0fd31
Merge pull request #2740 from lioncash/bra
shader/decode/other: Correct branch indirect argument within BRA handling
7 years ago
Rodrigo Locatti
d877208914
Merge pull request #2726 from lioncash/access
core: Remove CurrentArmInterface() global accessor
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
52f9840512
Merge pull request #2565 from ReinUsesLisp/track-indirect
shader/track: Track indirect buffers
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
Fernando Sahmkow
e221290cb7
Merge pull request #2695 from ReinUsesLisp/layer-viewport
gl_shader_decompiler: Implement gl_ViewportIndex and gl_Layer in vertex shaders
7 years ago
bunnei
9009501845
Merge pull request #2705 from FernandoS27/tex-cache-fixes
GPU: Fixes to Texture Cache and Include Microprofiles for GL State/BufferCopy/Macro Interpreter
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
bunnei
8298de49b0
Merge pull request #2675 from ReinUsesLisp/opengl-buffer-cache
buffer_cache: Implement a generic buffer cache and its OpenGL backend
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
Fernando Sahmkow
474c698422
Merge pull request #2690 from SciresM/physmem_fixes
Implement MapPhysicalMemory/UnmapPhysicalMemory
7 years ago
Fernando Sahmkow
43662e376e
Merge pull request #2692 from ReinUsesLisp/tlds-f16
shader/texture: Add F16 support for TLDS
7 years ago
Flame Sage
78689886ae
Merge pull request #2730 from DarkLordZach/master
Finalize Azure Pipelines Definitions
7 years ago
Zach Hilman
6ddb4a1c1f
Finalize Azure Pipelines Definitions
d
7 years ago
Lioncash
102801e196
core: Remove CurrentArmInterface() global accessor
Replaces the final usage of the global accessor function and removes it.
Removes one more enabler of global state.
7 years ago
Zach Hilman
33f3632da6
Merge pull request #2725 from ogniK5377/mult-audbuffer
"AudioRenderer" thread should have a unique name
7 years ago
David Marcec
88565f46b6
Clang format
7 years ago
David Marcec
a5e5b9e9c7
Addressed issues
7 years ago
David Marcec
00c7dc08de
"AudioRenderer" thread should have a unique name
Creating multiple "AudioRenderer" threads cause the previous thread to be overwritten. The thread will name be renamed to AudioRenderer-InstanceX, where X is the current instance number.
7 years ago
Michael Scire
5ff046b9c6
Remove unicorn mappings/unmappings
7 years ago
bunnei
41d14bcdc5
Merge pull request #2609 from FernandoS27/new-scan
Implement a New Shader Scanner, Decompile Flow Stack and implement BRX BRA.CC
7 years ago
ReinUsesLisp
9f111492cb
gl_shader_decompiler: Fix gl_PointSize redeclaration
7 years ago
bunnei
4679f23b21
Merge pull request #2717 from SciresM/unmirror_memory
Restore memory perms on svcUnmapMemory/UnloadNro
7 years ago
bunnei
60108f87a3
Merge pull request #2723 from lioncash/mem
core/arm: Remove obsolete Unicorn memory mapping
7 years ago
bunnei
b6230259d7
Merge pull request #2724 from lioncash/sleep
service/am: Implement SetAutoSleepDisabled/IsAutoSleepDisabled
7 years ago
Lioncash
96e1a55219
service/am: Implement IsAutoSleepDisabled
This simply queries whether or not auto-sleep facilities are disabled
and has no special handling. It's a basic getter function.
7 years ago
Lioncash
89e1a5848a
service/am: Implement SetAutoSleepDisabled
Provides a basic implementation of SetAutoSleepDisabled. Until idle
handling is implemented, this is about the best we can do.
In the meantime, provide a rough documenting of specifics that occur
when this function is called on actual hardware.
7 years ago
Lioncash
66cfba50ed
yuzu: Remove setting for using Unicorn
The JIT is mature enough that this setting can be removed, falling back
to Unicorn only on unsupported architectures. Any missing features from
Unicorn (of which there are extremely few), are mostly
developer-oriented, which most users don't care about.
Features should be coordinated with the JIT, not the interpreter,
anyhow.
7 years ago