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
tkeph616
ff82aaf571
Launch directly in Mac without terminal
7 years ago
bunnei
7fc67a06bb
Merge pull request #2407 from FernandoS27/f2f
Do some corrections in conversion shader instructions.
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
bunnei
6c1418fc8a
Merge pull request #2409 from ReinUsesLisp/half-floats
shader_ir/decode: Miscellaneous fixes to half-float decompilation
7 years ago
Fernando Sahmkow
02be88825a
Apply Position Y Direction
7 years ago
Fernando Sahmkow
5f431ebec9
RasterizerCache Redesign: Flush
flushing is now responsability of children caches instead of the cache
object. This change will allow the specific cache to pass extra
parameters on flushing and will allow more flexibility.
7 years ago
Fernando Sahmkow
54ede7cc0a
make ReadBlockunsafe and WriteBlockunsafe, ignore invalid pages.
7 years ago
bunnei
df2b3d224e
Merge pull request #2415 from lioncash/const
kernel/wait_object: Make GetHighestPriorityReadyThread() a const member function
7 years ago
bunnei
ff3f5e6e26
Merge pull request #2414 from lioncash/reorder
yuzu/bootmanager: Resolve constructor initializer list warnings
7 years ago
bunnei
0e5bbfcfb3
Merge pull request #2421 from lioncash/svc-call
kernel/svc: Name supervisor call 0x36
7 years ago
bunnei
986bff9c74
Merge pull request #2374 from lioncash/pagetable
core: Reorganize boot order
7 years ago
ReinUsesLisp
42b61daeba
gl_state: Fix samplers memory corruption
It was possible for "samplers" to be read without being written. This
addresses that.
7 years ago
Lioncash
154995bbe6
kernel/svc: Name supervisor call 0x36
This call was added to the SVC handlers in the 8.0.0 kernel, so we can
finally give it a name.
7 years ago
Lioncash
f408606b79
service/audctl: Implement GetTargetVolumeMin() and GetTargetVolumeMax()
These two service functions are literally hardcoded to always return
these values without any other error checking.
7 years ago
ReinUsesLisp
7a56d07632
video_core: Silent -Wswitch warnings
7 years ago
bunnei
26cbd2fc3d
Merge pull request #2397 from lioncash/thread-unused
kernel/thread: Remove unused guest_handle member variable
7 years ago
bunnei
d1aafb0834
Merge pull request #2318 from ReinUsesLisp/sampler-cache
gl_sampler_cache: Port sampler cache to OpenGL
7 years ago
bunnei
c1c43bde80
Merge pull request #2348 from FernandoS27/guest-bindless
Implement Bindless Textures on Shader Decompiler and GL backend
7 years ago
Zach Hilman
107d725af8
web_browser: Make OpenPage non-const
7 years ago
Zach Hilman
25f33928fc
main: Add GMainWindow hooks for Error display
7 years ago
Zach Hilman
a8e185742b
main: Switch to AppletManager for frontend
7 years ago
Zach Hilman
b508e60fe4
qt: Add dialog implementation of Error applet
7 years ago
Zach Hilman
44eb5c65e8
general_backend: Move StubApplet and add backend PhotoViewer
7 years ago
Zach Hilman
a8dbc0e299
general_frontend: Add frontend scaffold for PhotoViewer applet
7 years ago
Zach Hilman
93cbd91f56
frontend: Add frontend receiver for Error applet
7 years ago
Zach Hilman
252ac62306
applets: Add Error applet
Responsible for displaying error codes and messages
7 years ago
Zach Hilman
fdd0152436
applets: Port current applets to take frontend in constructor
As opposed to using Core::System::GetInstance()
7 years ago
Zach Hilman
663b24e0d2
web_browser: Make OpenPage const
7 years ago
Zach Hilman
4399df50e3
core: Remove specific applets in favor of AppletManager
7 years ago
Zach Hilman
a9a140d583
am: Delegate applet creation to AppletManager
7 years ago
Zach Hilman
4803c64bab
applets: Add AppletManager class to control lifetime
7 years ago
Lioncash
b12ed4aba9
kernel/thread: Unify wait synchronization types
This is a holdover from Citra, where the 3DS has both
WaitSynchronization1 and WaitSynchronizationN. The switch only has one
form of wait synchronizing (literally WaitSynchonization). This allows
us to throw out code that doesn't apply at all to the Switch kernel.
Because of this unnecessary dichotomy within the wait synchronization
utilities, we were also neglecting to properly handle waiting on
multiple objects.
While we're at it, we can also scrub out any lingering references to
WaitSynchronization1/WaitSynchronizationN in comments, and change them
to WaitSynchronization (or remove them if the mention no longer
applies).
7 years ago
Lioncash
4be897daa0
kernel/svc: Migrate svcCancelSynchronization behavior to a thread function
The actual behavior of this function is slightly more complex than what
we're currently doing within the supervisor call. To avoid dumping most
of this behavior in the supervisor call itself, we can migrate this to
another function.
7 years ago
Lioncash
4be40a434b
kernel/wait_object: Make GetHighestPriorityReadyThread() a const member function
This doesn't actually modify internal state of a wait object, so it can
be const qualified.
7 years ago
Lioncash
69fdfc5296
yuzu/bootmanager: Replace unnnecessary constructor initializer list member of GGLContext
The default constructor will always run, even when not specified, so
this is redundant.
However, the context member can indeed be initialized in the constructor
initializer list.
7 years ago
Lioncash
4abe8bb7ee
yuzu/bootmanager: Remove unnecessary includes
This include isn't used anymore so it can be removed.
7 years ago
Lioncash
3318e97f29
yuzu/bootmanager: Resolve constructor initializer list warnings
Resolves -Wreorder warnings. These will automatically be initialized to
nullptr anyways, so these were redundant.
7 years ago
bunnei
d4b42f6bc6
Merge pull request #2315 from ReinUsesLisp/severity-decompiler
shader_ir/decode: Reduce the severity of common assertions
7 years ago
bunnei
1599234a39
Merge pull request #2384 from ReinUsesLisp/gl-state-clear
gl_rasterizer: Apply just the needed state on Clear
7 years ago
bunnei
0c107e46a6
Merge pull request #2405 from lioncash/qt
CMakeLists: Define QT_USE_QSTRINGBUILDER for the Qt target
7 years ago
bunnei
1614c97d78
Merge pull request #2092 from ReinUsesLisp/stg
shader/memory: Implement STG and global memory flushing
7 years ago
bunnei
3f45cebfca
Merge pull request #2376 from lioncash/const
yuzu/configure_hotkey: Minor changes
7 years ago
bunnei
f76e8ff1e7
Merge pull request #2401 from lioncash/guard
common/{lz4_compression, zstd_compression}: Add missing header guards
7 years ago
Lioncash
12cf6b5c64
CMakeLists: Ensure we specify Unicode as the codepage on Windows
Previously we were building with MBCS, which is pretty undesirable. We
want the application to be Unicode-aware in general.
Currently, we make the command line variant of yuzu use ANSI variants of
the non-standard getopt functions that we link in for Windows, given we
only have an ANSI option-set.
We should really replace getopt with a library that we make all build
types of yuzu link in, but this will have to do for the time being.
7 years ago
Lioncash
6a42862a16
kernel/vm_manager: Remove usages of global system accessors
Makes the dependency on the system instance explicit within VMManager's
interface.
7 years ago
Fernando Sahmkow
ad686a3c0d
Implement IsBlockContinous
This detects when a GPU Memory Block is not continous within host cpu
memory.
7 years ago
Fernando Sahmkow
56c2b0ea86
Apply Const correctness to SwizzleKepler and replace u32 for size_t on iterators.
7 years ago
Fernando Sahmkow
994393bd02
Use ReadBlockUnsafe for fetyching DMA CommandLists
7 years ago