ReinUsesLisp
2557c78675
Implement some shader instructions ( #252 )
...
* Add IADDI32, IADD and SEL shader instructions
* Add LOP shader instruction and fix LOP32I pass_b
* Add ISET shader instruction
* Add IADD3 shader instruction
* Address feedback
* Fixup OperA in Iadd_I32
2024-02-22 19:13:47 -05:00
gdkchan
c703a20c23
Add support for Vertex Program A and other small shader improvements ( #192 )
...
* Add WIP support for Vertex Program A, add the FADD_I32 shader instruction, small fix on FFMA_I encoding, nits
* Add separate subroutines for program A/B, and copy attributes to a temp
* Move finalization code to main
* Add new line after flip uniform on the shader
* Handle possible case where VPB uses an output attribute written by VPA but not available on the vbo
* Address PR feedback
2024-02-22 19:13:43 -05:00
gdkchan
30bb60a874
Some small gpu improvements and shader improvements, add support for ASTC 4x4 textures (slow!)
2024-02-22 19:13:37 -05:00
gdkchan
9f22e38f25
Added support for more shader instructions and texture formats, fix swapped channels in RGB565 and RGBA5551? texture formats, allow zero values on blending registers, initial work to build CFG on the shader decoder, update the BRA instruction to work with it (WIP)
2024-02-22 19:13:37 -05:00
gdkchan
ba5e369087
Added more shader instructions, including BFE, BRA (partial), FMNMX, ISCADD, SHL, LD_C, some shader related fixes, added support for texture component selection
2024-02-22 19:13:37 -05:00
gdkchan
f1f43b0c4b
Some small sync primitive fixes, logging fixes, started to implement the 2D engine on the GPU, fixed DrawArrays, implemented a few more shader instructions, made a start on nvdrv refactor, etc...
2024-02-22 19:13:35 -05:00
gdkchan
b140bea87b
Add SvcSetThreadActivity, tweak SignalProcessWideKey, add fmul32i shader instructions and other small fixes
2024-02-22 19:13:33 -05:00
gdkchan
03ca51e5cf
[GPU] Add more shader instructions, add support for rgb565 textures
2024-02-22 19:13:31 -05:00
gdkchan
c6eca2bdc8
Merge shader branch, adding support for GLSL decompilation, a macro
...
interpreter, and a rewrite of the GPU code.
2024-02-22 19:13:30 -05:00