Commit Graph

38 Commits (94652e122dcf627b451fcd3d91156a663ae3dafe)

Author SHA1 Message Date
vonchenplus 94652e122d Remove glsl handle legacy related code 3 years ago
ameerj f32b2bcd20 shader_recompiler: Adjust emit_context includes 3 years ago
ReinUsesLisp bf2956d77a shader: Avoid usage of C++20 ranges to build in clang 4 years ago
ameerj 94af0a00f6 glsl: Clamp shared mem size to GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 4 years ago
ameerj 65daec8b75 glsl: Fix shared and local memory declarations
account for the fact that program.*memory_size is in units of bytes.
4 years ago
ameerj 00fa09dc45 glsl: Declare local memory in main 4 years ago
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.
4 years ago
ameerj 27ca8a0e13 glsl: Better IAdd Overflow CC fix
This ensures the original operand values are not overwritten when being used in the overflow detection.
4 years ago
ameerj bc6e399ae3 glsl: Fix IADD CC 4 years ago
ReinUsesLisp 808ef97a08 shader: Move loop safety tests to code emission 4 years ago
ameerj c5dfa0b630 glsl: Move gl_Position/generic attribute initialization to EmitProlgue 4 years ago
ameerj 6eea88d614 glsl: Cleanup/Address feedback 4 years ago
ameerj 5e7b2b9661 glsl: Add stubs for sparse queries and variable aoffi when not supported 4 years ago
ameerj 6aa1bf7b6f glsl: Implement legacy varyings 4 years ago
ameerj 4759db28d0 glsl: Address Rodrigo's feedback 4 years ago
ameerj 258106038e glsl: Allow dynamic tracking of variable allocation 4 years ago
ameerj 34fdb6471d glsl: Cleanup and address feedback 4 years ago
ameerj 59576b82a8 glsl: Fix precise variable declaration
and add some more separation in the shader for better debugability when dumped
4 years ago
ameerj 19247ba4fa glsl: Implement geometry shaders 4 years ago
ameerj 14bfb4719a HACK glsl: Write defaults to unused generic attributes 4 years ago
ameerj 8ec0028e68 glsl: implement set clip distance
and missed a diff in emit_glsl relating to var alloc ref counting
4 years ago
ameerj 1269a0cf8b glsl: Rework variable allocator to allow for variable reuse 4 years ago
ameerj 181a4ffdc4 glsl: Implement ST{LS} 4 years ago
ameerj 80eec85867 glsl: Fix GetAttribute return values
fixes font rendering issues as these were used to index into the ssbos
4 years ago
ameerj 3047eb6688 glsl: Implement TXQ and other misc changes 4 years ago
ameerj 8ba814efb2 glsl: Better Storage access and wip warps 4 years ago
ameerj 21797efa54 glsl: Implement IADD CC 4 years ago
ameerj f6bbc76336 glsl: WIP var forward declaration
to fix Loop control flow.
4 years ago
ameerj 6674637853 glsl: remove unused headers 4 years ago
ameerj ed14d31f66 glsl: Fix non-immediate buffer access
and many other misc implementations
4 years ago
ameerj d171083d53 glsl: textures wip 4 years ago
ameerj b95716e543 glsl: Update phi node management 4 years ago
ameerj e99d01ff53 glsl: implement phi nodes 4 years ago
ameerj cdde730219 glsl: Add a more robust fp formatter 4 years ago
ameerj fb75d122a2 glsl: Use std::string_view for Emit function args. 4 years ago
ameerj 115c162b9a glsl: Pass IR::Inst& to Emit functions 4 years ago
ameerj 64337f004d glsl: Fix "reg" allocing
based on glasm with some tweaks
4 years ago
ameerj eaff1030de glsl: Initial backend 4 years ago