0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-23 18:35:47 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services
Thomas Guillemard 884b4e5fd3 Initial non 2D textures support (#525)
* Initial non 2D textures support

- Shaders still need to be changed
- Some types aren't yet implemented

* Start implementing texture instructions suffixes

Fix wrong texture type with cube and TEXS

Also support array textures in TEX and TEX.B

Clean up TEX and TEXS coords managment

Fix TEXS.LL with non-2d textures

Implement TEX.AOFFI

Get the right arguments for TEX, TEXS and TLDS

Also, store suffix operands in appropriate values to support multiple
suffix combinaisons

* Support depth in read/writeTexture

Also support WrapR and detect mipmap

* Proper cube map textures support + fix TEXS.LZ

* Implement depth compare

* some code clean up

* Implement CubeMap textures in OGLTexture.Create

* Implement TLD4 and TLD4S

* Add Texture 1D support

* updates comments

* fix some code style issues

* Fix some nits + rename some things to be less confusing

* Remove GetSuffix local functions

* AOFFI => AOffI

* TextureType => GalTextureTarget

* finish renaming TextureType to TextureTarget

* Disable LL, LZ and LB support in the decompiler

This needs more work at the GL level (GLSL implementation should be
right)

* Revert "Disable LL, LZ and LB support in the decompiler"

This reverts commit 64536c3d9f673645faff3152838d1413c3203395.

* Fix TEXS ARRAY_2D index

* ImageFormat depth should be 1 for all image format

* Fix shader build issues with sampler1DShadow and texture

* Fix DC & AOFFI combinaison with TEX/TEXS

* Support AOFFI with TLD4 and TLD4S

* Fix shader compilation error for TLD4.AOFFI with no DC

* Fix binding isuses on the 2d copy engine

TODO: support 2d array copy

* Support 2D array copy operation in the 2D engine

This make every copy right in the GPU side.
Thie CPU copy probably needs to be updated

* Implement GetGpuSize + fix somes issues with 2d engine copies

TODO: mipmap level in it

* Don't throw an exception in the layer handling

* Fix because of rebase

* Reject 2d layers of non textures in 2d copy engine

* Add 3D textures and mipmap support on BlockLinearSwizzle

* Fix naming on new BitUtils methods

* gpu cache: Make sure to invalidate textures that doesn't have the same target

* Add the concept of layer count for array instead of using depth

Also cleanup GetGpuSize as Swizzle can compute the size with mipmap

* Support multi layer with mip map in ReadTexture

* Add more check for cache invalidation & remove cubemap and cubemap array code for now

Also fix compressed 2d array

* Fix texelFetchOffset shader build error

* Start looking into cube map again

Also add some way to log write in register in engines

* fix write register log levles

* Remove debug logs in WriteRegister

* Disable AOFFI support on non NVIDIA drivers

* Fix code align
2019-02-28 12:12:24 +11:00
..
Acc Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Am Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Apm Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Aud Do not increment played wave buffers count for empty wave buffers (#568) 2019-02-12 14:05:05 -03:00
Bcat Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Bsd Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Caps Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Es Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Friend Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
FspSrv Implement IStorage GetSize (#585) 2019-02-15 16:44:25 +01:00
Hid Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Irs Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Ldr Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
Lm Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Lr Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Mm Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Ncm Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Nfp Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Nifm Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Ns Support HomeBrew Loader (#577) 2019-02-14 11:44:39 +11:00
Nv Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Pctl Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Pl Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
Pm Support HomeBrew Loader (#577) 2019-02-14 11:44:39 +11:00
Prepo Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Psm Improve kernel IPC implementation (#550) 2019-01-18 20:26:39 -02:00
Set Update to LibHac 0.2.0 (#549) 2019-01-05 01:41:49 +01:00
Sfdnsres Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Sm Support HomeBrew Loader (#577) 2019-02-14 11:44:39 +11:00
Spl Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Ssl Refactor Ryujinx.Common and HLE Stub Logging (#537) 2019-01-11 01:11:46 +01:00
Time Adjust naming conventions and general refactoring in HLE Project (#527) 2018-12-06 09:16:24 -02:00
Vi Initial non 2D textures support (#525) 2019-02-28 12:12:24 +11:00
IIpcService.cs Code style fixes and nits on the HLE project (#355) 2018-08-16 20:47:36 -03:00
IpcService.cs Improve kernel IPC implementation (#550) 2019-01-18 20:26:39 -02:00
ServiceFactory.cs Support HomeBrew Loader (#577) 2019-02-14 11:44:39 +11:00