Lioncash
022fc59dcd
ns: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
47054327c2
nifm: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
28b92db7fd
nfp: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
dabfd90dfe
lm: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
9cd7485cd7
hid: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
8fc4003dab
friend: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
b5b613ea29
filesystem: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
c6a740d7c2
fatal: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
8d32bf9a96
audio: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
d652e41365
apm: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
e74dbfc572
aoc: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
5483c08b44
am: Move logging macros over to new fmt-compatible ones
8 years ago
Lioncash
f85d880ac6
acc: Move logging macros over to new fmt-compatible ones
8 years ago
bunnei
7495142688
Merge pull request #389 from mailwl/fs-renamefile
Service/FS: implement IFileSystem::RenameFile
8 years ago
mailwl
a0179e5ca5
Service/FS: implement IFileSystem::RenameFile
8 years ago
bunnei
07dc0bbf3e
Merge pull request #379 from Subv/multi_buffers
GPU: Support multiple enabled vertex arrays.
8 years ago
bunnei
0214351f4f
Merge pull request #370 from Subv/sync_primitives
Kernel: Reworked the new kernel synchronization primitives.
8 years ago
bunnei
bf25299272
Merge pull request #384 from Subv/nvhost-remap
Nvdrv/nvhost-as-gpu: Implemented the ioctl REMAP command.
8 years ago
bunnei
d4f87e9af4
Merge pull request #385 from Subv/unimpl_ioctls
Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers.
8 years ago
bunnei
3967f9c6ef
Merge pull request #383 from Subv/gpu_mmu
GPU: Make the GPU virtual memory manager use 16 page bits and 10 pagetable bits.
8 years ago
bunnei
55d0b0609d
Merge pull request #382 from Subv/a2rgb10_rt
GPU: Implement the RGB10_A2 RenderTarget format
8 years ago
Subv
9531a29283
GPU: Support multiple enabled vertex arrays.
The vertex arrays will be copied to the stream buffer one after the other, and the attributes will be set using the ARB_vertex_attrib_binding extension.
yuzu now thus requires OpenGL 4.3 or the ARB_vertex_attrib_binding extension.
8 years ago
Subv
46572d027d
Kernel: Implemented mutex priority inheritance.
Verified with a hwtest and implemented based on reverse engineering.
Thread A's priority will get bumped to the highest priority among all the threads that are waiting for a mutex that A holds.
Once A releases the mutex and ownership is transferred to B, A's priority will return to normal and B's priority will be bumped.
8 years ago
Subv
0d6eafe11a
NvDrv/nvhost-as-gpu: Ensure that the object passed to MapBufferEx has already been allocated.
Also added a consistency check and a comment for the case when the object id is different than its handle. The real nvservices doesn't make a distinction between ids and handles, each object gets an unique handle which doubles as its id.
8 years ago
Subv
e4bd0bddea
Nvdrv/nvhost-as-gpu: Implemented the ioctl REMAP command.
It takes a previously-reserved (AllocateSpace) GPU memory address and maps it to the address of the nvmap object passed to Remap.
8 years ago
Subv
e862c50a70
Nvdrv: Assert when receiving an unimplemented ioctl in the nv* handlers.
8 years ago
Subv
f823c1d599
GPU: Make the GPU virtual memory manager use 16 page bits and 10 page table bits.
Also removed some dead code and added memory map consistency asserts.
8 years ago
Subv
010227e149
GPU: Implement the RGB10_A2 RenderTarget format, it will use the same format as the A2BGR10 texture format.
8 years ago
bunnei
ebb8e06df0
Merge pull request #378 from Subv/a2bgr10
GPU: Implement the A2BGR10 texture format.
8 years ago
Subv
c079cf4eec
GPU: Implement the A2BGR10 texture format.
8 years ago
bunnei
62937798a0
Merge pull request #377 from adityaruplaha/sdl2-fullscreen
SDL2: Implement fullscreen. (Original PR: citra-emu/citra#3607 )
8 years ago
adityaruplaha
f48d5e4c4c
SDL2: Implement fullscreen. (Original PR: citra-emu/citra#3607 )
8 years ago
bunnei
f8764bb5d3
Merge pull request #376 from bunnei/shader-decoder
Shader opcode decoding
8 years ago
bunnei
f8a037ead4
Merge pull request #375 from lioncash/header
opengl: Remove unnecessary header inclusions
8 years ago
bunnei
d08fd7e86d
gl_shader_decompiler: Skip RRO instruction.
8 years ago
bunnei
8b28dc55e6
gl_shader_decompiler: Cleanup error logging.
8 years ago
bunnei
e1630c4d43
shader_bytecode: Add several more instruction decodings.
8 years ago
bunnei
9f6d305eab
shader_bytecode: Decode instructions based on bit strings.
8 years ago
bunnei
8ac3a3f45e
Merge pull request #369 from Subv/shader_instr2
ShaderGen: Implemented fsetp/kil and predicated instruction execution.
8 years ago
bunnei
634d9ee18b
Merge pull request #374 from lioncash/noexcept
gl_resource_manager: Add missing noexcept specifiers to move constructors and assignment operators
8 years ago
bunnei
ba6f3e8f9f
Merge pull request #373 from lioncash/enum2
gl_rasterizer_cache: Make MatchFlags an enum class
8 years ago
Subv
17a0ef1e1e
ShaderGen: Implemented the KIL instruction, which is equivalent to 'discard'.
8 years ago
Subv
c3a8ea76f1
ShaderGen: Implemented predicated instruction execution.
Each predicated instruction will be wrapped in an `if (predicate) { instruction_body; }` in the GLSL, where `predicate` is one of the predicate boolean variables previously set by fsetp.
8 years ago
Subv
0a5e01b710
ShaderGen: Implemented the fsetp instruction.
Predicate variables are now added to the generated shader code in the form of 'pX' where X is the predicate id.
These predicate variables are initialized to false on shader startup and are set via the fsetp instructions.
TODO:
* Not all the comparison types are implemented.
* Only the single-predicate version is implemented.
8 years ago
Subv
a70ed9c8ae
Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOs
8 years ago
Subv
013778aa21
Qt: Update the WaitTree widget to show info about the current mutex of each thread.
8 years ago
Subv
be155f4d9d
Kernel: Remove unused ConditionVariable class.
8 years ago
Subv
5fdfbfe25a
Kernel: Remove old and unused Mutex code.
8 years ago
Subv
b18ccf9399
Kernel: Properly implemented svcWaitProcessWideKey and svcSignalProcessWideKey
They work in tandem with guest code to provide synchronization primitives along with svcArbitrateLock/Unlock
8 years ago
Subv
e81a2080eb
Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock.
Switch mutexes are no longer kernel objects, they are managed in userland and only use the kernel to handle the contention case.
Mutex addresses store a special flag value (0x40000000) to notify the guest code that there are still some threads waiting for the mutex to be released. This flag is updated when a thread calls ArbitrateUnlock.
TODO:
* Fix svcWaitProcessWideKey
* Fix svcSignalProcessWideKey
* Remove the Mutex class.
8 years ago