Subv
2933521a08
GPU: Use the bf bit in FSET to determine whether to write 0xFFFFFFFF or 1.0f.
8 years ago
Subv
f6679ce422
GPU: Corrected the I2F_R implementation.
8 years ago
Subv
5d55403f94
GPU: Calculate the correct viewport dimensions based on the scale and translate registers.
This is how nouveau calculates the viewport width and height. For some reason some games set 0xFFFF in the VIEWPORT_HORIZ and VIEWPORT_VERT registers, maybe those are a misnomer and actually refer to something else?
8 years ago
greggameplayer
4fad069870
Nvdrv/devices/nvhost_gpu : Add some IoctlCommands with their params ( #511 )
* Add some IoctlCommand with their params to nvhost_gpu
* fix clang-format
* delete trailing whitespace
* fix some clang-format
* delete one other trailing whitespace
* last clang-format fix
8 years ago
Subv
cb47abecc6
GLCache: Corrected a mismatch between storing compressed sizes and verifying the uncompressed alignment in GetSurface.
8 years ago
BreadFish64
fbef849c04
sdl: add check for GL extension support
8 years ago
BreadFish64
0641950f9a
qt: add check for GL extension support
8 years ago
bunnei
afdd2f4cad
am: Implement ILibraryAppletAccessor::PopOutData.
8 years ago
bunnei
df4336a85e
am: ISelfController:LaunchableEvent should be sticky.
8 years ago
bunnei
51d8a2c322
am: Stub out ILibraryAppletAccessor Start and GetResult methods.
8 years ago
Subv
b481d8a00d
GPU: Partially implemented the shader BRA instruction.
8 years ago
Subv
06c72b4fcf
GPU: Added decoding for the BRA instruction.
8 years ago
bunnei
876b805e50
am: Implement ILibraryAppletAccessor::PushInData.
8 years ago
bunnei
2dcb98226b
am: Implement IStorageAccessor::Write.
8 years ago
bunnei
9fedfbe141
am: Cleanup IStorageAccessor::Read.
8 years ago
bunnei
d73c22bf4d
am: Implement ILibraryAppletCreator::CreateStorage.
8 years ago
Subv
d57333406d
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
1efcba346a
gl_shader_decompiler: Implement TEXS component mask.
8 years ago
bunnei
e54ea773fc
gl_shader_decompiler: Implement RRO as a register move.
8 years ago
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.
8 years ago
Subv
99f9d47d16
GPU: Implemented the DXN1 (BC4) texture format.
8 years ago
mailwl
11568c2ea3
Service/time: implement posix time to calendar conversion
8 years ago
bunnei
888eb345c0
gl_shader_decompiler: Implement TEX instruction.
8 years ago
bunnei
4c727d0ba8
gl_shader_decompiler: Support multi-destination for TEXS.
8 years ago
bunnei
49309b5848
gl_rasterizer_cache: Assert that component type is UNorm or format is RGBA16F.
8 years ago
Subv
c02d7c8ce7
Kernel/Thread: Corrected a typo that caused the affinity mask to never be changed.
8 years ago
Subv
3957b0c34e
Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.
Also added some proper error handling.
8 years ago
bunnei
ca5a4a704b
gl_rasterizer_cache: Implement PixelFormat RGBA16F.
8 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
8 years ago
Subv
d1f9c750a6
Kernel/Thread: Corrected a typo in an assert about the processor id.
8 years ago
Subv
99f12b05fa
Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader.
8 years ago
mailwl
9a273bb23b
Services/nvdrv: add '/dev/nvhost-nvdec' device
8 years ago
bunnei
6fcc7e9c36
gl_shader_decompiler: F2F_R instruction: Implement abs.
8 years ago
bunnei
68937a662d
gl_shader_decompiler: Partially implement F2F_R instruction.
8 years ago
Subv
734106dcb9
GPU: Implemented the R8 texture format (0x1D)
8 years ago
bunnei
6306655665
nvhost_ctrl: Stub out IocCtrlEventRegister.
8 years ago
bunnei
0658973a4e
nvhost_ctrl: Stub out IocCtrlEventWaitAsyncCommand.
8 years ago
bunnei
0d843eaba6
gl_rasterize_cache: Invert order of tex format RGB565.
8 years ago
greggameplayer
220d4672df
add all the known TextureFormat ( #474 )
8 years ago
mailwl
7757cc1a7f
Service/BCAT: add module and services
8 years ago
Subv
7ddc872b52
GPU: Implemented the A1B5G5R5 texture format (0x14)
8 years ago
David Marcec
6138075df0
NvOsGetConfigU32 should return null instead of 0 for default output
8 years ago
bunnei
0d681f7a7a
am: Stub IApplicationFunctions GetDisplayVersion.
8 years ago
bunnei
c23ce3365d
gl_shader_decompiler: Implement GetPredicateComparison GreaterEqual.
8 years ago
bunnei
ee53688ca7
shader_bytecode: Implement other variants of FMNMX.
8 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
8 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
8 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;
8 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
8 years ago
Subv
e2db7a83f6
GPU: Allow command lists to rebind a channel to another engine in the middle of the command list.
8 years ago