Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Clamp shared mem size to GL_MAX_COMPUTE_SHARED_MEMORY_SIZE | ameerj | 2021-07-23 | 1 | -2/+9 |
| | |||||
* | glsl: Fix shared and local memory declarations | ameerj | 2021-07-23 | 1 | -3/+3 |
| | | | | account for the fact that program.*memory_size is in units of bytes. | ||||
* | glsl: Declare local memory in main | ameerj | 2021-07-23 | 1 | -3/+3 |
| | |||||
* | shader: Rework varyings and implement passthrough geometry shaders | ReinUsesLisp | 2021-07-23 | 1 | -1/+1 |
| | | | | | | Put all varyings into a single std::bitset with helpers to access it. Implement passthrough geometry shaders using host's. | ||||
* | glsl: Better IAdd Overflow CC fix | ameerj | 2021-07-23 | 1 | -1/+1 |
| | | | | This ensures the original operand values are not overwritten when being used in the overflow detection. | ||||
* | glsl: Fix IADD CC | ameerj | 2021-07-23 | 1 | -1/+1 |
| | |||||
* | shader: Move loop safety tests to code emission | ReinUsesLisp | 2021-07-23 | 1 | -1/+10 |
| | |||||
* | glsl: Move gl_Position/generic attribute initialization to EmitProlgue | ameerj | 2021-07-23 | 1 | -9/+0 |
| | |||||
* | glsl: Cleanup/Address feedback | ameerj | 2021-07-23 | 1 | -4/+4 |
| | |||||
* | glsl: Add stubs for sparse queries and variable aoffi when not supported | ameerj | 2021-07-23 | 1 | -1/+1 |
| | |||||
* | glsl: Implement legacy varyings | ameerj | 2021-07-23 | 1 | -1/+1 |
| | |||||
* | glsl: Address Rodrigo's feedback | ameerj | 2021-07-23 | 1 | -4/+5 |
| | |||||
* | glsl: Allow dynamic tracking of variable allocation | ameerj | 2021-07-23 | 1 | -4/+13 |
| | |||||
* | glsl: Cleanup and address feedback | ameerj | 2021-07-23 | 1 | -10/+5 |
| | |||||
* | glsl: Fix precise variable declaration | ameerj | 2021-07-23 | 1 | -5/+7 |
| | | | | and add some more separation in the shader for better debugability when dumped | ||||
* | glsl: Implement geometry shaders | ameerj | 2021-07-23 | 1 | -1/+1 |
| | |||||
* | HACK glsl: Write defaults to unused generic attributes | ameerj | 2021-07-23 | 1 | -0/+6 |
| | |||||
* | glsl: implement set clip distance | ameerj | 2021-07-23 | 1 | -0/+3 |
| | | | | and missed a diff in emit_glsl relating to var alloc ref counting | ||||
* | glsl: Rework variable allocator to allow for variable reuse | ameerj | 2021-07-23 | 1 | -7/+22 |
| | |||||
* | glsl: Implement ST{LS} | ameerj | 2021-07-23 | 1 | -0/+10 |
| | |||||
* | glsl: Fix GetAttribute return values | ameerj | 2021-07-23 | 1 | -4/+6 |
| | | | | fixes font rendering issues as these were used to index into the ssbos | ||||
* | glsl: Implement TXQ and other misc changes | ameerj | 2021-07-23 | 1 | -1/+1 |
| | |||||
* | glsl: Better Storage access and wip warps | ameerj | 2021-07-23 | 1 | -1/+4 |
| | |||||
* | glsl: Implement IADD CC | ameerj | 2021-07-23 | 1 | -0/+2 |
| | |||||
* | glsl: WIP var forward declaration | ameerj | 2021-07-23 | 1 | -11/+12 |
| | | | | to fix Loop control flow. | ||||
* | glsl: remove unused headers | ameerj | 2021-07-23 | 1 | -7/+10 |
| | |||||
* | glsl: Fix non-immediate buffer access | ameerj | 2021-07-23 | 1 | -0/+5 |
| | | | | and many other misc implementations | ||||
* | glsl: textures wip | ameerj | 2021-07-23 | 1 | -2/+4 |
| | |||||
* | glsl: Update phi node management | ameerj | 2021-07-23 | 1 | -11/+26 |
| | |||||
* | glsl: implement phi nodes | ameerj | 2021-07-23 | 1 | -18/+30 |
| | |||||
* | glsl: Add a more robust fp formatter | ameerj | 2021-07-23 | 1 | -1/+0 |
| | |||||
* | glsl: Use std::string_view for Emit function args. | ameerj | 2021-07-23 | 1 | -3/+4 |
| | |||||
* | glsl: Pass IR::Inst& to Emit functions | ameerj | 2021-07-23 | 1 | -5/+3 |
| | |||||
* | glsl: Fix "reg" allocing | ameerj | 2021-07-23 | 1 | -1/+1 |
| | | | | based on glasm with some tweaks | ||||
* | glsl: Initial backend | ameerj | 2021-07-23 | 1 | -0/+156 |