bunnei
96b4c99a7a
am: Stub out ILibraryAppletAccessor Start and GetResult methods.
8 years ago
bunnei
129f945c77
am: Implement ILibraryAppletAccessor::PushInData.
8 years ago
bunnei
43ce8b93f0
am: Implement IStorageAccessor::Write.
8 years ago
bunnei
d29b7b48eb
am: Cleanup IStorageAccessor::Read.
8 years ago
bunnei
1597b12861
am: Implement ILibraryAppletCreator::CreateStorage.
8 years ago
Subv
315e5e6cf3
GPU: Partial implementation of long GPU queries.
Long queries write a 128-bit result value to memory, which consists of a 64 bit query value and a 64 bit timestamp.
In this implementation, only select=Zero of the Crop unit is implemented, this writes the query sequence as a 64 bit value, and a 0u64 value for the timestamp, since we emulate an infinitely fast GPU.
This specific type was hwtested, but more rigorous tests should be performed in the future for the other types.
8 years ago
bunnei
94b620a89e
gl_shader_decompiler: Implement TEXS component mask.
8 years ago
bunnei
76da1f526a
gl_shader_decompiler: Implement RRO as a register move.
8 years ago
Subv
dd9a1fd943
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.
8 years ago
Subv
c00fc04a65
GPU: Implemented the DXN1 (BC4) texture format.
8 years ago
mailwl
caf7d55de4
Service/time: implement posix time to calendar conversion
8 years ago
bunnei
20fa6379f6
gl_shader_decompiler: Implement TEX instruction.
8 years ago
bunnei
fc2f5b93c3
gl_shader_decompiler: Support multi-destination for TEXS.
8 years ago
bunnei
a8c1e58d23
gl_rasterizer_cache: Assert that component type is UNorm or format is RGBA16F.
8 years ago
Subv
2a690458b5
Kernel/Thread: Corrected a typo that caused the affinity mask to never be changed.
8 years ago
Subv
40c82fc9c5
Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.
Also added some proper error handling.
8 years ago
bunnei
995f57bbc1
gl_rasterizer_cache: Implement PixelFormat RGBA16F.
8 years ago
greggameplayer
339fd812b3
add IPC CommandType & Some HID FunctionInfo ( #487 )
* add some CommandType
* add some hid FunctionInfo
* add some other HID FunctionInfo
* delete non useful comments
8 years ago
Subv
bcae826522
Kernel/Thread: Corrected a typo in an assert about the processor id.
8 years ago
Subv
455e14b8e3
Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader.
8 years ago
mailwl
c333f12eae
Services/nvdrv: add '/dev/nvhost-nvdec' device
8 years ago
bunnei
c99c03fe38
gl_shader_decompiler: F2F_R instruction: Implement abs.
8 years ago
bunnei
ed61b578d9
gl_shader_decompiler: Partially implement F2F_R instruction.
8 years ago
Subv
9631ae2fa4
GPU: Implemented the R8 texture format (0x1D)
8 years ago
bunnei
16a06abf97
nvhost_ctrl: Stub out IocCtrlEventRegister.
8 years ago
bunnei
fb8aa21fa5
nvhost_ctrl: Stub out IocCtrlEventWaitAsyncCommand.
8 years ago
bunnei
29c345982a
gl_rasterize_cache: Invert order of tex format RGB565.
8 years ago
greggameplayer
4786f69570
add all the known TextureFormat ( #474 )
8 years ago
mailwl
3c612dea08
Service/BCAT: add module and services
8 years ago
Subv
110515404c
GPU: Implemented the A1B5G5R5 texture format (0x14)
8 years ago
David Marcec
003023a669
NvOsGetConfigU32 should return null instead of 0 for default output
8 years ago
bunnei
678ff27162
am: Stub IApplicationFunctions GetDisplayVersion.
8 years ago
bunnei
7bbda2a975
gl_shader_decompiler: Implement GetPredicateComparison GreaterEqual.
8 years ago
bunnei
502fc1c4b3
shader_bytecode: Implement other variants of FMNMX.
8 years ago
greggameplayer
4201782cea
Add & correct miscellaneous things ( #470 )
* add some InfoType
* correct OpenApplicationProxy cmd number
* add IDisplayController functions
* fix clang-format
* add more system languages
8 years ago
David
a89f219336
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
8 years ago
Subv
8131e8cc3a
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;
8 years ago
David
7787653dad
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
8 years ago
Subv
91f05992e4
GPU: Allow command lists to rebind a channel to another engine in the middle of the command list.
8 years ago
Subv
216d47b066
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;
8 years ago
mailwl
2fd168729a
Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT
Used in Nintendo Labo ToyCon 1&2
8 years ago
bunnei
cd93d74b16
yuzu_cmd: Fix project for latest msvc.
8 years ago
David Marcec
8ba0ecb303
Fix deadlocks caused from HID having too many layouts
Games such as SMO deadlock if we have more than 2 layouts
8 years ago
greggameplayer
90fa34e30c
Add & correct some error modules
8 years ago
greggameplayer
bace166b2b
change some functions
according to the changes made previously
8 years ago
greggameplayer
7f5e8a533a
correct placement and add size check
8 years ago
greggameplayer
c4f1216df1
Add ioctl commands with their params and size check
8 years ago
David
ccfff97269
Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE ( #440 )
* Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE
struct + 4 seems to be hard coded at 0 and struct + 0 seems to be ignored?
* IocGetWaitbase -> IocChannelGetWaitbaseCommand
* Added super late fixes
8 years ago
greggameplayer
f79c96c560
Correct audio command numbers & add or rename some functions ( #455 )
* Add unknown function at the number command 2
* correct audout:u commands numbers
* correct audrec:u cmd number & add Unknown function
* correct IAudioDevice command numbers
* correct codecctl cmd numbers & rename the 8 function
* correct place of unknown function & fix clang-format
8 years ago
Subv
12d6b53e60
Shaders: Implemented the FMNMX shader instruction.
8 years ago