Commit Graph

6931 Commits (5410b4659d7572e71b3824ab39a18a865d5d803f)
 

Author SHA1 Message Date
Subv 9cd87a6352 Kernel/Threads: A thread waking up by timeout from a WaitProcessWideKey may already have an assigned lock owner.
This situation may happen like so:
Thread 1 with low priority calls WaitProcessWideKey with timeout.
Thread 2 with high priority calls WaitProcessWideKey without timeout.
Thread 3 calls SignalProcessWideKey
- Thread 2 acquires the lock and awakens.
- Thread 1 can't acquire the lock and is put to sleep with the lock owner being Thread 2.
Thread 1's timeout expires, with the lock owner still being set to Thread 2.
7 years ago
Subv 99f9d47d16 GPU: Implemented the DXN1 (BC4) texture format. 7 years ago
bunnei bbbe34429e
Merge pull request #492 from mailwl/time
Service/time: implement posix time to calendar conversion
7 years ago
mailwl 11568c2ea3 Service/time: implement posix time to calendar conversion 7 years ago
bunnei 888eb345c0 gl_shader_decompiler: Implement TEX instruction. 7 years ago
bunnei 4c727d0ba8 gl_shader_decompiler: Support multi-destination for TEXS. 7 years ago
bunnei bdd68fc210
Merge pull request #488 from Subv/thread_masks
Kernel/SVC: Corrected the behavior of svcSetThreadCoreMask for core values -2 and -3.
7 years ago
bunnei f1bded1270
Merge pull request #491 from bunnei/rgba16f
gl_rasterizer_cache: Implement PixelFormat RGBA16F.
7 years ago
bunnei 49309b5848 gl_rasterizer_cache: Assert that component type is UNorm or format is RGBA16F. 7 years ago
Subv c02d7c8ce7 Kernel/Thread: Corrected a typo that caused the affinity mask to never be changed. 7 years ago
Subv 3957b0c34e Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.
Also added some proper error handling.
7 years ago
bunnei ca5a4a704b gl_rasterizer_cache: Implement PixelFormat RGBA16F. 7 years ago
bunnei 15086a22be
Merge pull request #489 from Subv/vertexid
Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader.
7 years ago
greggameplayer 94fecef137 add IPC CommandType & Some HID FunctionInfo (#487)
* add some CommandType

* add some hid FunctionInfo

* add some other HID FunctionInfo

* delete non useful comments
7 years ago
Subv d1f9c750a6 Kernel/Thread: Corrected a typo in an assert about the processor id. 7 years ago
Subv 99f12b05fa Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader. 7 years ago
Sebastian Valle 8df011a57f
Merge pull request #483 from bunnei/sonic
Several GPU fixes to boot Sonic Mania
7 years ago
mailwl 9a273bb23b Services/nvdrv: add '/dev/nvhost-nvdec' device 7 years ago
bunnei 6fcc7e9c36 gl_shader_decompiler: F2F_R instruction: Implement abs. 7 years ago
bunnei c8e1383fa9
Merge pull request #482 from Subv/r8
GPU: Implemented the R8 texture format (0x1D)
7 years ago
bunnei 68937a662d gl_shader_decompiler: Partially implement F2F_R instruction. 7 years ago
Subv 734106dcb9 GPU: Implemented the R8 texture format (0x1D) 7 years ago
bunnei 6306655665 nvhost_ctrl: Stub out IocCtrlEventRegister. 7 years ago
bunnei 0658973a4e nvhost_ctrl: Stub out IocCtrlEventWaitAsyncCommand. 7 years ago
bunnei 0d843eaba6 gl_rasterize_cache: Invert order of tex format RGB565. 7 years ago
bunnei 5a763e8a5a
Merge pull request #480 from mailwl/bcat
Service/BCAT: add module and services
7 years ago
greggameplayer 220d4672df add all the known TextureFormat (#474) 7 years ago
mailwl 7757cc1a7f Service/BCAT: add module and services 7 years ago
Michał Janiszewski 2abf39ea4a
Use Ninja for Travis builds 7 years ago
bunnei d809f65827
Merge pull request #472 from bunnei/greater-equal
gl_shader_decompiler: Implement GetPredicateComparison GreaterEqual.
7 years ago
bunnei 7f155ba713
Merge pull request #476 from Subv/a1bgr5
GPU: Implemented the A1B5G5R5 texture format (0x14)
7 years ago
bunnei 7029daa32e
Merge pull request #475 from ogniK5377/nvos-getconfig
NvOsGetConfigU32 should return null instead of 0 for default output value
7 years ago
bunnei 15c388e0d6
Merge pull request #473 from bunnei/get-display-version
am: Stub IApplicationFunctions GetDisplayVersion.
7 years ago
Sebastian Valle 9e30f5574f
Merge pull request #471 from bunnei/fmnmx
shader_bytecode: Implement other variants of FMNMX.
7 years ago
Subv 7ddc872b52 GPU: Implemented the A1B5G5R5 texture format (0x14) 7 years ago
David Marcec 6138075df0 NvOsGetConfigU32 should return null instead of 0 for default output 7 years ago
bunnei 0d681f7a7a am: Stub IApplicationFunctions GetDisplayVersion. 7 years ago
bunnei c23ce3365d gl_shader_decompiler: Implement GetPredicateComparison GreaterEqual. 7 years ago
bunnei ee53688ca7 shader_bytecode: Implement other variants of FMNMX. 7 years ago
greggameplayer b16e5c6a81 Add & correct miscellaneous things (#470)
* add some InfoType

* correct OpenApplicationProxy cmd number

* add IDisplayController functions

* fix clang-format

* add more system languages
7 years ago
bunnei 87f21657f8
Merge pull request #466 from mailwl/nv-timeout
Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT
7 years ago
David e6df4b37db GetAudioRendererWorkBufferSize impl (#465)
* GetAudioRendererWorkBufferSize impl

Impl of GetAudioRendererWorkBufferSize based on RE, if this can be cleaned up, please contribute!

* Naming conventions

* Removed unneeded placeholder

* lioncache changes

* fixed const

* switched to Common::AlignUp
7 years ago
bunnei aee356bd10
Merge pull request #468 from Subv/compound_preds
Shader: Implemented compound predicates in the fset and fsetp instructions
7 years ago
bunnei cd7665218d
Merge pull request #469 from Subv/channel_rebind
GPU: Allow command lists to rebind a channel to another engine in the middle of the command list.
7 years ago
Subv e2cdf54177 Shader: Implemented compound predicates in fset.
You can specify a predicate in the fset instruction:

Result = ((Value1 Comp Value2) OP P0) ? 1.0 : 0.0;
7 years ago
David e3a92b09ba Stubbed NVGPU_GPU_IOCTL_ZBC_SET_TABLE (#463)
We have no clue on what this actually does yet so stubbing it since it's just input only should be fine for now
7 years ago
Subv e2db7a83f6 GPU: Allow command lists to rebind a channel to another engine in the middle of the command list. 7 years ago
Subv 126270d963 Shader: Implemented compound predicates in fsetp.
You can specify three predicates in an fsetp instruction:

P1 = (Value1 Comp Value2) OP P0;
P2 = !(Value1 Comp Value2) OP P0;
7 years ago
mailwl e6a87428ae Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT
Used in Nintendo Labo ToyCon 1&2
7 years ago
bunnei 55e6296e71
Merge pull request #464 from bunnei/fix-msvc
yuzu_cmd: Fix project for latest msvc.
7 years ago