gdkchan
18814d44b2
Address PR feedback
...
Add TODO comment for GL_EXT_polygon_offset_clamp
2020-01-09 02:13:00 +01:00
gdkchan
383452f5cf
Fix some shader disposal issues
2020-01-09 02:13:00 +01:00
gdkchan
a11f6f5235
Fix some spelling mistakes
...
Thanks to LDj3SNuD for spotting these
2020-01-09 02:13:00 +01:00
gdkchan
92703af555
Address PR feedback
2020-01-09 02:13:00 +01:00
gdkchan
0dbfe3c23e
Re-add NVDEC project (not integrated)
2020-01-09 02:13:00 +01:00
gdkchan
6e092c0558
More code cleanup
2020-01-09 02:13:00 +01:00
gdkchan
9bfb373bdf
Remove more unused code
2020-01-09 02:13:00 +01:00
gdkchan
59fdaa744b
GPU resource disposal
2020-01-09 02:13:00 +01:00
gdkchan
f7bcc884e4
Add XML documentation to Ryujinx.Graphics.Gpu
2020-01-09 02:13:00 +01:00
gdkchan
4a4e2f7c72
Add XML documentation to Ryujinx.Graphics.Gpu.Engine
2020-01-09 02:13:00 +01:00
gdkchan
d1c0a64e6a
Add XML documentation to Ryujinx.Graphics.Gpu.State
2020-01-09 02:13:00 +01:00
gdkchan
430faeb8ef
Add XML documentation to Ryujinx.Graphics.Gpu.Shader
2020-01-09 02:13:00 +01:00
gdkchan
e58b540c4e
Add XML documentation to Ryujinx.Graphics.Gpu.Memory
2020-01-09 02:13:00 +01:00
gdkchan
80ff2eab29
Change GPU errors to debug and reduce log messages
2020-01-09 02:13:00 +01:00
gdkchan
bacb278dc1
Fix typos pointed out by LDj3SNuD
2020-01-09 02:13:00 +01:00
gdkchan
ffaad0eaac
Fix missing S8 format on texture compatibility check
2020-01-09 02:13:00 +01:00
gdkchan
32764f9560
Add XML documentation to Ryujinx.Graphics.Gpu.Image
2020-01-09 02:13:00 +01:00
gdkchan
654e617fe7
Some code cleanup
2020-01-09 02:13:00 +01:00
gdkchan
af8498d679
Add basic error logging to the GPU
2020-01-09 02:13:00 +01:00
Alex Barney
d1ab9fb42c
ASTC optimizations ( #845 )
...
* ASTC optimizations
* Move code to Ryujinx.Common
* Support 3D textures
* Address feedback
* Remove ASTC logging
* Use stackalloc instead of a Buffer20 struct
* Code style and cleanup
* Respond to feedback
* Rearrange public/private property ordering
2020-01-09 02:13:00 +01:00
gdkchan
947e14d3be
Reimplement limited bindless textures support
2020-01-09 02:13:00 +01:00
gdkchan
647d0962df
Initialize GPU physical memory accessor from KProcess, to allow homebrew that never maps anything on the GPU to work
2020-01-09 02:13:00 +01:00
gdkchan
9d7a142a48
Support texture rectangle targets (non-normalized coords)
2020-01-09 02:13:00 +01:00
gdkchan
f2c85c5d58
Support non-constant texture offsets on non-NVIDIA gpus
2020-01-09 02:13:00 +01:00
gdkchan
3323a3a042
Use correct shared memory size (in words, not bytes)
2020-01-09 02:13:00 +01:00
gdkchan
ad3bc2531b
Ensure a valid shared memory size is used
2020-01-09 02:13:00 +01:00
gdkchan
66d91cbc6c
Use dispatch params shared memory size when available
2020-01-09 02:13:00 +01:00
gdkchan
0d9672f3ae
Use maximum shared memory size supported by hardware
2020-01-09 02:13:00 +01:00
gdkchan
375ee0ba96
Fix draw indexed flag not being cleared for instanced draws, also avoid state updates in the middle of a indexed draw
2020-01-09 02:13:00 +01:00
gdkchan
23b8a86d35
Support 3D ASTC textures (using 2D blocks)
2020-01-09 02:13:00 +01:00
gdkchan
7ce5584f9e
Support depth clip mode and disable shader fast math optimization on NVIDIA as a workaround for compiler bugs (?)
2020-01-09 02:13:00 +01:00
gdkchan
17fb11ddb9
Fix wrong maximum id on sampler pool in some cases
2020-01-09 02:13:00 +01:00
gdkchan
cb171f6ebf
Support shared color mask, implement more shader instructions
...
Support shared color masks (used by Nouveau and maybe the NVIDIA
driver).
Support draw buffers (also required by OpenGL).
Support viewport transform disable (disabled for now as it breaks some
games).
Fix instanced rendering draw being ignored for multi draw.
Fix IADD and IADD3 immediate shader encodings, that was not matching
some ops.
Implement FFMA32I shader instruction.
Implement IMAD shader instruction.
2020-01-09 02:13:00 +01:00
gdkchan
e25b7c9848
Initial support for the guest OpenGL driver (NVIDIA and Nouveau)
2020-01-09 02:13:00 +01:00
gdk
6a98c643ca
Add a pass to turn global memory access into storage access, and do all storage related transformations on IR
2020-01-09 02:13:00 +01:00
gdk
65428f5842
Fix shader code comparison method
2020-01-09 02:13:00 +01:00
gdk
d0c7732fe2
Optimize RangeList by not doing an allocation on every call to the Find methods
2020-01-09 02:13:00 +01:00
gdk
16d88c21fc
Improved and simplified window texture presentation
2020-01-09 02:13:00 +01:00
gdk
b2b2e04669
Small optimizations on texture and sampler pool invalidation
2020-01-09 02:13:00 +01:00
gdk
3ac023bb60
Correct ordering of compute buffer bind
2020-01-09 02:13:00 +01:00
gdk
79de8fd490
Share texture pool cache between graphics and compute
2020-01-09 02:13:00 +01:00
gdk
2437ccca0e
Separate sub-channel state
2020-01-09 02:13:00 +01:00
gdk
3ca675223a
Remove TranslatorConfig struct
2020-01-09 02:13:00 +01:00
gdk
6e399061ce
Invalidate shaders when they are modified
2020-01-09 02:13:00 +01:00
gdk
d274328c31
Fix image units bindings and shader dump in the presence of NOPs
2020-01-09 02:13:00 +01:00
gdk
fd196b3d19
Do not throw for invalid ASTC compressed textures
2020-01-09 02:13:00 +01:00
gdk
769c02235f
Add ATOMS, LDS, POPC, RED, STS and VOTE shader instructions, start changing the way how global memory is handled
2020-01-09 02:13:00 +01:00
gdk
1e8bc29f32
Use a more efficient range list on the buffer manager
2020-01-09 02:13:00 +01:00
gdk
3ab5c23f49
Add partial support for array of samplers, and add pass to identify them from bindless texture accesses
2020-01-09 02:13:00 +01:00
gdk
d786d8d2b9
Support copy of slices to 3D textures, remove old 3D render target layered render support, do not delete textures with existing views created from them
2020-01-09 02:13:00 +01:00