Yuri Kunde Schlesner
5b046f49c9
shader_jit_x64: Don't read program from global state
9 years ago
Yuri Kunde Schlesner
46fc50931f
VideoCore/Shader: Move ProduceDebugInfo to InterpreterEngine
9 years ago
Yuri Kunde Schlesner
2c14dbdb64
Debugger: Always use interpreter for shader debugging
9 years ago
Yuri Kunde Schlesner
931a2b0ca4
VideoCore/Shader: Split interpreter and JIT into separate ShaderEngines
9 years ago
Yuri Kunde Schlesner
88b533871e
VideoCore/Shader: Rename shader_jit_x64{ => _compiler}.{cpp,h}
9 years ago
Yuri Kunde Schlesner
73e7bc2592
VideoCore/Shader: Split shader uniform state and shader engine
Currently there's only a single dummy implementation, which will be
split in a following commit.
9 years ago
Yuri Kunde Schlesner
f887eccd74
VideoCore/Shader: Add constness to methods
9 years ago
Yuri Kunde Schlesner
03d2b6aa89
VideoCore/Shader: Use only entry_point as ShaderSetup param
This removes all implicit dependency of ShaderState on global PICA
state.
9 years ago
Yuri Kunde Schlesner
d6533112fe
VideoCore/Shader: Use self instead of g_state.vs in ShaderSetup
9 years ago
Yuri Kunde Schlesner
2771bde17a
VideoCore/Shader: Extract input vertex loading code into function
9 years ago
Kloen
55c137a3ab
video_core: fix shader.cpp signed / unsigned warning
9 years ago
Kloen
efb168a1ce
video_core: gl_rasterizer float to int warning
9 years ago
Kloen
b969f82292
video_core: fix gl_rasterizer warning on MSVC
9 years ago
Kloen
b377b96ca0
core: fix mic_u warnings on MSVC
9 years ago
Kloen
9578e123ec
Removed unused and outdated external qhexedit
9 years ago
Kloen
e0e1b347a4
citra-qt: Removed unused and unimplemented ramview files.
9 years ago
wwylele
d678c306b8
HID: reset acceleroeter and gyroscope index in Init
9 years ago
wwylele
fc7fb21731
CFG: override language setting on boot
9 years ago
Thomas Farr
c1d05a2df5
loader: Add support for 3DSX special relocation types, fixes citra-emu/citra#2449
As per devkitPro/3dstools@47bea18
9 years ago
wwylele
34440c54a9
CoreTiming: use named constant for ARM11 clock rate
9 years ago
wwylele
8f807fc8ef
HID: manages updating itself using correct ticks
9 years ago
mailwl
b777c9ae81
Service/NFC: stub some functions
Tested on: Mini-Mario & Friends - amiibo Challenge
9 years ago
mailwl
ecf76c326c
GSP::WriteHWRegsWithMask: fix register mask
9 years ago
Subv
a81290ffb4
Threads: Check the process' resource limit for the max allowed priority when creating a thread and remove the priority clamping code.
9 years ago
Subv
fbe090645c
Thread: Added priority range checking to svcSetThreadPriority and removed priority clamping code from Thread::SetPriority.
9 years ago
Subv
c77cafb0a7
Y2R: Use the proper error code when GetStandardCoefficient receives an invalid value.
9 years ago
Kloen
93c2abb5d8
QT: Fix ui file format
9 years ago
Kloen
225cfcf539
QT: Fix some UI related warnings
9 years ago
Kloen
b9a0167e86
SDL2: Config.cpp fix double to float warning
9 years ago
wwylele
caee572f78
CAM: implement basic camera functions with a blank camera
9 years ago
bunnei
d2a2789dda
config: Add option for specifying screen resolution scale factor.
9 years ago
Hyper
82ed89eec2
Kernel: Fix SharedMemory objects always returning error when addr = 0 ( #2404 )
Closes #2400
9 years ago
Subv
6c6117868a
Kernel: Don't attempt to yield execution in SleepThread(0) if there are no available threads to run.
With this we avoid an useless temporary deschedule of the current thread.
9 years ago
Subv
975f3e0853
Kernel: Remove some unused functions.
9 years ago
Subv
d27ef4a5d3
Kernel: Removed the priority boost code for starved threads.
After hwtesting and reverse engineering the kernel, it was found that the CTROS scheduler performs no priority boosting for threads like this, although some other forms of scheduling priority-starved threads might take place.
For example, it was found that hardware interrupts might cause low-priority threads to run if the CPU is preempted in the middle of an SVC handler that deschedules the current (high priority) thread before scheduling it again.
9 years ago
Subv
c6ccb7c6f2
Kernel: Implemented Pulse event and timers.
Closes #1904
9 years ago
Subv
f8d98e241d
Kernel/Semaphore: Fixed a regression in semaphore waits.
The regression was caused by a missing check in #2260 .
The new behavior is consistent with the real kernel.
9 years ago
Subv
a0ae8f7c26
Kernel: Add some asserts to enforce the invariants in the scheduler.
9 years ago
Subv
1ba3dd032e
Kernel: Remove a thread from all of its waiting objects' waiting_threads list when it is awoken.
This fixes a potential bug where threads would not get removed from said list if they awoke after waiting with WaitSynchronizationN with wait_all = false
9 years ago
Subv
3ce2c24665
Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all the objects that a thread is waiting on.
9 years ago
Subv
bcad1d6f12
Kernel: Use different thread statuses when a thread calls WaitSynchronization1 and WaitSynchronizationN with wait_all = true.
This commit removes the overly general THREADSTATUS_WAIT_SYNCH and replaces it with two more granular statuses:
THREADSTATUS_WAIT_SYNCH_ANY when a thread waits on objects via WaitSynchronization1 or WaitSynchronizationN with wait_all = false.
THREADSTATUS_WAIT_SYNCH_ALL when a thread waits on objects via WaitSynchronizationN with wait_all = true.
9 years ago
Subv
8503e56689
Kernel/Mutex: Propagate thread priority changes to other threads inheriting the priority via mutexes
9 years ago
Subv
d33885b60b
Kernel/Mutex: Update a mutex priority when a thread stops waiting on it.
9 years ago
Subv
4e6369d41d
Kernel/Mutex: Implemented priority inheritance.
The implementation is based on reverse engineering of the 3DS's kernel.
A mutex holder's priority will be temporarily boosted to the best priority among any threads that want to acquire any of its held mutexes.
When the holder releases the mutex, it's priority will be boosted to the best priority among the threads that want to acquire any of its remaining held mutexes.
9 years ago
Subv
90570c153b
Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.
This will be useful when implementing mutex priority inheritance.
9 years ago
Subv
a1718862e3
Kernel/Synch: Do not attempt a reschedule on every syscall.
Not all syscalls should cause reschedules, this commit attempts to remedy that, however, it still does not cover all cases.
9 years ago
Jonathan Hao
1df720ed08
Fix some warnings ( #2399 )
9 years ago
Lectem
aff0ef44d2
fix comments alignment
9 years ago
mailwl
45b03ee367
Service/NFC: stub GetTagInRangeEvent
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
9 years ago
mailwl
d5ca5dd75e
Service/AC: add ac:i service
9 years ago