Andrea Pappacoda
b1585fed5a
chore: fix some typos
Fix some typos reported by Lintian
3 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
vonchenplus
ac51211ce4
Remove glsl handle legacy related code
4 years ago
ameerj
efd428c747
shader_recompiler: Adjust emit_context includes
4 years ago
ReinUsesLisp
2321666580
shader: Avoid usage of C++20 ranges to build in clang
5 years ago
ameerj
a23f05c215
glsl: Clamp shared mem size to GL_MAX_COMPUTE_SHARED_MEMORY_SIZE
5 years ago
ameerj
d77dc5919c
glsl: Fix shared and local memory declarations
account for the fact that program.*memory_size is in units of bytes.
5 years ago
ameerj
c446ada33e
glsl: Declare local memory in main
5 years ago
ReinUsesLisp
b1df436cef
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.
5 years ago
ameerj
99e8164b43
glsl: Better IAdd Overflow CC fix
This ensures the original operand values are not overwritten when being used in the overflow detection.
5 years ago
ameerj
516c17d4d3
glsl: Fix IADD CC
5 years ago
ReinUsesLisp
04c1dca457
shader: Move loop safety tests to code emission
5 years ago
ameerj
52bd1d7788
glsl: Move gl_Position/generic attribute initialization to EmitProlgue
5 years ago
ameerj
4e73fdbd0f
glsl: Cleanup/Address feedback
5 years ago
ameerj
b33af69513
glsl: Add stubs for sparse queries and variable aoffi when not supported
5 years ago
ameerj
3e6f89f964
glsl: Implement legacy varyings
5 years ago
ameerj
5d2cd1551f
glsl: Address Rodrigo's feedback
5 years ago
ameerj
3319879b23
glsl: Allow dynamic tracking of variable allocation
5 years ago
ameerj
4534294b7b
glsl: Cleanup and address feedback
5 years ago
ameerj
363e228778
glsl: Fix precise variable declaration
and add some more separation in the shader for better debugability when dumped
5 years ago
ameerj
7374a8bf1d
glsl: Implement geometry shaders
5 years ago
ameerj
1cc3be2135
HACK glsl: Write defaults to unused generic attributes
5 years ago
ameerj
c6615e9d05
glsl: implement set clip distance
and missed a diff in emit_glsl relating to var alloc ref counting
5 years ago
ameerj
8185a5ab34
glsl: Rework variable allocator to allow for variable reuse
5 years ago
ameerj
1e59e72a48
glsl: Implement ST{LS}
5 years ago
ameerj
26649eb889
glsl: Fix GetAttribute return values
fixes font rendering issues as these were used to index into the ssbos
5 years ago
ameerj
0b8e65125a
glsl: Implement TXQ and other misc changes
5 years ago
ameerj
a68609b4f8
glsl: Better Storage access and wip warps
5 years ago
ameerj
fa06331601
glsl: Implement IADD CC
5 years ago
ameerj
72974388fb
glsl: WIP var forward declaration
to fix Loop control flow.
5 years ago
ameerj
e6a0f0f384
glsl: remove unused headers
5 years ago
ameerj
ac6135774f
glsl: Fix non-immediate buffer access
and many other misc implementations
5 years ago
ameerj
2328b0b2a8
glsl: textures wip
5 years ago
ameerj
ee45d46f9e
glsl: Update phi node management
5 years ago
ameerj
3d950a8d18
glsl: implement phi nodes
5 years ago
ameerj
7febd59ce1
glsl: Add a more robust fp formatter
5 years ago
ameerj
0c315dae67
glsl: Use std::string_view for Emit function args.
5 years ago
ameerj
b2cd8e4588
glsl: Pass IR::Inst& to Emit functions
5 years ago
ameerj
3355c467e0
glsl: Fix "reg" allocing
based on glasm with some tweaks
5 years ago
ameerj
fda83fe3c5
glsl: Initial backend
5 years ago