gdkchan
24a72b2fcc
Add runtime identifiers to new projects
2020-01-09 02:13:00 +01:00
gdkchan
4bf59cc7bd
Address PR feedback
...
Removes a useless null check
Aligns some values to improve readability
2020-01-09 02:13:00 +01:00
gdkchan
2849e1dc05
Remove some unused args on the shader translator
2020-01-09 02:13:00 +01:00
gdkchan
d951b214a6
Fix FADD32I check for Ra negation
2020-01-09 02:13:00 +01:00
gdkchan
46530360e3
Address PR feedback
...
Add TODO comment for GL_EXT_polygon_offset_clamp
2020-01-09 02:13:00 +01:00
gdkchan
bc38064351
Address PR feedback
2020-01-09 02:13:00 +01:00
gdkchan
af0003eb44
Remove more unused code
2020-01-09 02:13:00 +01:00
gdkchan
d42edddefd
Some code cleanup
2020-01-09 02:13:00 +01:00
gdkchan
f7277e76e3
Reimplement limited bindless textures support
2020-01-09 02:13:00 +01:00
gdkchan
d125c0ebfe
Fix exception on shader translator when adding goto temp variable
2020-01-09 02:13:00 +01:00
gdkchan
c009bcc9e5
Support CC on FSET shader instruction, fix CC on ISET.BF shader instruction
2020-01-09 02:13:00 +01:00
gdkchan
0dedc2bf7e
Support texture rectangle targets (non-normalized coords)
2020-01-09 02:13:00 +01:00
gdkchan
7bfde41ea4
Partial support for shader memory barriers
2020-01-09 02:13:00 +01:00
gdkchan
cd111a82aa
Remove some usings that are not needed
2020-01-09 02:13:00 +01:00
gdkchan
49959e3cd0
Correct non-constant offset rewrite for texelFetch
2020-01-09 02:13:00 +01:00
gdkchan
84e5a32fd3
Support non-constant texture offsets on non-NVIDIA gpus
2020-01-09 02:13:00 +01:00
gdkchan
8cd2823869
Use dispatch params shared memory size when available
2020-01-09 02:13:00 +01:00
gdkchan
46a6580c8b
Use maximum shared memory size supported by hardware
2020-01-09 02:13:00 +01:00
gdkchan
745814f94c
Support bindless texture gather shader instruction
2020-01-09 02:13:00 +01:00
gdkchan
ab20360779
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
12f573e342
Fix wrong maximum id on sampler pool in some cases
2020-01-09 02:13:00 +01:00
gdkchan
d5e8fc5c08
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
gdk
85a00d4d76
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
f4582f9ff0
Partial support for branch with CC, and fix a edge case of branch out of loop on shaders
2020-01-09 02:13:00 +01:00
gdk
77e2ab39cf
Simplified F2I shader instruction codegen
2020-01-09 02:13:00 +01:00
gdk
4b9867daae
Implement HSET2 shader instruction and fix errors uncovered by Rodrigo tests
2020-01-09 02:13:00 +01:00
gdk
4dc7e8eecd
Add PSET shader instruction
2020-01-09 02:13:00 +01:00
gdk
5acd231ba9
Revert "Simplify shader uniform buffer access codegen"
...
This reverts commit 2fe9ebaf118d690be8d0cb302529dd359d7c402b.
2020-01-09 02:13:00 +01:00
gdk
c558897292
Simplify shader uniform buffer access codegen
2020-01-09 02:13:00 +01:00
gdk
dfb16f19d8
Remove TranslatorConfig struct
2020-01-09 02:13:00 +01:00
gdk
d59bcf8f22
Add R2P shader instruction
2020-01-09 02:13:00 +01:00
gdk
bda4d677d0
Make the shader translator more error resilient (part 2)
2020-01-09 02:13:00 +01:00
gdk
d6cf87194c
Make the shader translator more error resilient
2020-01-09 02:13:00 +01:00
gdk
2dcb452a09
Add missing check for BRX, do not add a out of bounds block to the queue
2020-01-09 02:13:00 +01:00
gdk
c8398482ef
Add partial support for the BRX shader instruction
2020-01-09 02:13:00 +01:00
gdk
9311e8dfe9
Fix regression on load/store local (wrong type)
2020-01-09 02:13:00 +01:00
gdk
f7cec66ce0
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
a11f411c87
Remove some unused constants and other code
2020-01-09 02:13:00 +01:00
gdk
bd0a16ecbf
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
dd8a838a81
Implement BFI, BRK, FLO, FSWZADD, PBK, SHFL and TXD shader instructions, misc. fixes
2020-01-09 02:13:00 +01:00
gdk
ce10d3c6ff
Add shader support for the round mode on the F2F instruction, support mipmaps on ASTC compressed textures
2020-01-09 02:13:00 +01:00
gdk
034ac4ed92
Fix shader FMUL32I instruction saturation
2020-01-09 02:13:00 +01:00
gdk
0c7c38df0f
Add per-source type memory change tracking, simplified state change tracking, other fixes
2020-01-09 02:13:00 +01:00
gdk
c9abf08686
Initial support for image stores, support texture sample on compute
2020-01-09 02:13:00 +01:00
gdk
398ee33a16
Fix incorrect saturation on HADD2 and HMUL2 shader instructions
2020-01-09 02:13:00 +01:00
gdk
fb2200c09b
Initial work
2020-01-09 02:13:00 +01:00