ameerj
|
00fa09dc45
|
glsl: Declare local memory in main
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
7dafa96ab5
|
shader: Rework varyings and implement passthrough geometry shaders
Put all varyings into a single std::bitset with helpers to access it.
Implement passthrough geometry shaders using host's.
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
27ca8a0e13
|
glsl: Better IAdd Overflow CC fix
This ensures the original operand values are not overwritten when being used in the overflow detection.
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
bc6e399ae3
|
glsl: Fix IADD CC
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
808ef97a08
|
shader: Move loop safety tests to code emission
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
c5dfa0b630
|
glsl: Move gl_Position/generic attribute initialization to EmitProlgue
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
6eea88d614
|
glsl: Cleanup/Address feedback
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
5e7b2b9661
|
glsl: Add stubs for sparse queries and variable aoffi when not supported
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
6aa1bf7b6f
|
glsl: Implement legacy varyings
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
4759db28d0
|
glsl: Address Rodrigo's feedback
|
2021-07-22 21:51:38 -04:00 |
|
ameerj
|
258106038e
|
glsl: Allow dynamic tracking of variable allocation
|
2021-07-22 21:51:37 -04:00 |
|
ameerj
|
34fdb6471d
|
glsl: Cleanup and address feedback
|
2021-07-22 21:51:37 -04:00 |
|
ameerj
|
59576b82a8
|
glsl: Fix precise variable declaration
and add some more separation in the shader for better debugability when dumped
|
2021-07-22 21:51:37 -04:00 |
|
ameerj
|
19247ba4fa
|
glsl: Implement geometry shaders
|
2021-07-22 21:51:37 -04:00 |
|
ameerj
|
14bfb4719a
|
HACK glsl: Write defaults to unused generic attributes
|
2021-07-22 21:51:37 -04:00 |
|
ameerj
|
8ec0028e68
|
glsl: implement set clip distance
and missed a diff in emit_glsl relating to var alloc ref counting
|
2021-07-22 21:51:37 -04:00 |
|
ameerj
|
1269a0cf8b
|
glsl: Rework variable allocator to allow for variable reuse
|
2021-07-22 21:51:37 -04:00 |
|
ameerj
|
181a4ffdc4
|
glsl: Implement ST{LS}
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
80eec85867
|
glsl: Fix GetAttribute return values
fixes font rendering issues as these were used to index into the ssbos
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
3047eb6688
|
glsl: Implement TXQ and other misc changes
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
8ba814efb2
|
glsl: Better Storage access and wip warps
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
21797efa54
|
glsl: Implement IADD CC
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
f6bbc76336
|
glsl: WIP var forward declaration
to fix Loop control flow.
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
6674637853
|
glsl: remove unused headers
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
ed14d31f66
|
glsl: Fix non-immediate buffer access
and many other misc implementations
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
d171083d53
|
glsl: textures wip
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
b95716e543
|
glsl: Update phi node management
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
e99d01ff53
|
glsl: implement phi nodes
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
cdde730219
|
glsl: Add a more robust fp formatter
|
2021-07-22 21:51:36 -04:00 |
|
ameerj
|
fb75d122a2
|
glsl: Use std::string_view for Emit function args.
|
2021-07-22 21:51:35 -04:00 |
|
ameerj
|
115c162b9a
|
glsl: Pass IR::Inst& to Emit functions
|
2021-07-22 21:51:35 -04:00 |
|
ameerj
|
64337f004d
|
glsl: Fix "reg" allocing
based on glasm with some tweaks
|
2021-07-22 21:51:35 -04:00 |
|
ameerj
|
eaff1030de
|
glsl: Initial backend
|
2021-07-22 21:51:35 -04:00 |
|