947e14d3be
Reimplement limited bindless textures support
gdkchanandThog2019-12-27 22:16:14 -03:00
647d0962df
Initialize GPU physical memory accessor from KProcess, to allow homebrew that never maps anything on the GPU to work
gdkchanandThog2019-12-25 20:28:17 -03:00
6cf9a04d98
Stop memory modification check when a invalid address is found
gdkchanandThog2019-12-24 22:43:47 -03:00
a718b60d06
Fix exception on shader translator when adding goto temp variable
gdkchanandThog2019-12-24 17:52:16 -03:00
82957fa96b
Support CC on FSET shader instruction, fix CC on ISET.BF shader instruction
gdkchanandThog2019-12-16 02:42:01 -03:00
9d7a142a48
Support texture rectangle targets (non-normalized coords)
gdkchanandThog2019-12-16 01:59:46 -03:00
2eccc7023a
Partial support for shader memory barriers
gdkchanandThog2019-12-14 14:51:00 -03:00
1a550e810c
Copy 16 bytes at a time for layout conversion, if possible
gdkchanandThog2019-12-11 16:43:28 -03:00
cfe5fec0cf
Remove some usings that are not needed
gdkchanandThog2019-12-11 14:48:08 -03:00
171c3d54c6
Correct non-constant offset rewrite for texelFetch
gdkchanandThog2019-12-11 14:41:07 -03:00
f2c85c5d58
Support non-constant texture offsets on non-NVIDIA gpus
gdkchanandThog2019-12-11 03:54:18 -03:00
3323a3a042
Use correct shared memory size (in words, not bytes)
gdkchanandThog2019-12-09 19:23:44 -03:00
ad3bc2531b
Ensure a valid shared memory size is used
gdkchanandThog2019-12-09 18:57:49 -03:00
66d91cbc6c
Use dispatch params shared memory size when available
gdkchanandThog2019-12-09 01:00:56 -03:00
0d9672f3ae
Use maximum shared memory size supported by hardware
gdkchanandThog2019-12-08 23:55:22 -03:00
375ee0ba96
Fix draw indexed flag not being cleared for instanced draws, also avoid state updates in the middle of a indexed draw
gdkchanandThog2019-12-08 18:08:00 -03:00
23b8a86d35
Support 3D ASTC textures (using 2D blocks)
gdkchanandThog2019-12-08 01:30:48 -03:00
6b13c5b439
Support bindless texture gather shader instruction
gdkchanandThog2019-12-07 18:31:17 -03:00
7ce5584f9e
Support depth clip mode and disable shader fast math optimization on NVIDIA as a workaround for compiler bugs (?)
gdkchanandThog2019-12-07 01:54:28 -03:00
17fb11ddb9
Fix wrong maximum id on sampler pool in some cases
gdkchanandThog2019-12-06 20:19:12 -03:00
cb171f6ebf
Support shared color mask, implement more shader instructions
gdkchanandThog2019-12-06 19:37:00 -03:00
e25b7c9848
Initial support for the guest OpenGL driver (NVIDIA and Nouveau)
gdkchanandThog2019-12-05 17:34:47 -03:00
6a98c643ca
Add a pass to turn global memory access into storage access, and do all storage related transformations on IR
gdkandThog2019-11-30 23:53:09 -03:00
396768f3b4
Fix texture 0 not being bound for compute
gdkandThog2019-11-27 00:41:22 -03:00
442485adb3
Partial support for branch with CC, and fix a edge case of branch out of loop on shaders
gdkandThog2019-11-27 00:38:56 -03:00
8eb773d81f
Make the shader translator more error resilient (part 2)
gdkandThog2019-11-15 20:41:06 -03:00
04102e5c9d
Make the shader translator more error resilient
gdkandThog2019-11-15 00:01:54 -03:00
eea73bc421
Add missing check for BRX, do not add a out of bounds block to the queue
gdkandThog2019-11-14 15:29:32 -03:00
6e399061ce
Invalidate shaders when they are modified
gdkandThog2019-11-14 15:26:40 -03:00
f0a59f345c
Add partial support for the BRX shader instruction
gdkandThog2019-11-14 14:20:30 -03:00
d274328c31
Fix image units bindings and shader dump in the presence of NOPs
gdkandThog2019-11-10 11:03:38 -03:00
d620aa7d1b
Revert "Check for ASTC support on the list of supported compressed formats"
gdkandThog2019-11-09 22:55:30 -03:00
cd47600e57
Check for ASTC support on the list of supported compressed formats
gdkandThog2019-11-09 21:26:29 -03:00
f6e96551bf
Fix regression on load/store local (wrong type)
gdkandThog2019-11-09 12:24:24 -03:00
fd196b3d19
Do not throw for invalid ASTC compressed textures
gdkandThog2019-11-08 21:55:53 -03:00
769c02235f
Add ATOMS, LDS, POPC, RED, STS and VOTE shader instructions, start changing the way how global memory is handled
gdkandThog2019-11-08 17:29:41 -03:00
1e8bc29f32
Use a more efficient range list on the buffer manager
gdkandThog2019-11-08 16:39:12 -03:00
a31fced221
Remove some unused constants and other code
gdkandThog2019-11-03 22:28:44 -03:00
3ab5c23f49
Add partial support for array of samplers, and add pass to identify them from bindless texture accesses
gdkandThog2019-11-02 23:07:21 -03:00
63345a3098
Support window resizing
gdkandThog2019-10-31 21:32:43 -03:00
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
gdkandThog2019-10-30 20:45:01 -03:00
3bcc395253
Add shader support for the round mode on the F2F instruction, support mipmaps on ASTC compressed textures
gdkandThog2019-10-27 17:51:33 -03:00