Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl_context_get_set: Add alternative cbuf type for broken drivers | ameerj | 2021-12-30 | 1 | -14/+21 |
| | | | | some drivers have a bug bitwise converting floating point cbuf values to uint variables. This adds a workaround for these drivers to make all cbufs uint and convert to floating point as needed. | ||||
* | shader: Add integer attribute get optimization pass | ameerj | 2021-12-30 | 1 | -0/+16 |
| | | | | Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0. | ||||
* | Remove glsl handle legacy related code | vonchenplus | 2021-12-18 | 1 | -64/+0 |
| | |||||
* | shader_recompiler: Adjust emit_context includes | ameerj | 2021-12-06 | 1 | -1/+1 |
| | |||||
* | shader: Properly scale image reads and add GL SPIR-V support | ReinUsesLisp | 2021-11-16 | 1 | -1/+1 |
| | | | | Thanks for everything! | ||||
* | glsl/glasm: Pass and use scaling parameters in shaders | ReinUsesLisp | 2021-11-16 | 1 | -1/+1 |
| | |||||
* | gl_graphics_pipeline: Add downscale factor to shader uniforms | ameerj | 2021-11-16 | 1 | -2/+1 |
| | |||||
* | shader: Add resolution down factor opcode | ReinUsesLisp | 2021-11-16 | 1 | -0/+5 |
| | |||||
* | style: Remove extra space preceding the :: operator | Morph | 2021-09-29 | 1 | -2/+2 |
| | |||||
* | shader: GCC fmt 8.0.0 fixes | lat9nq | 2021-07-23 | 1 | -2/+2 |
| | |||||
* | shader: Fix disabled and unwritten attributes and varyings | ReinUsesLisp | 2021-07-23 | 1 | -2/+6 |
| | |||||
* | 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: Add missing ; in EmitSetSampleMask | Morph | 2021-07-23 | 1 | -1/+1 |
| | | | | Fixes shader compilation in Okami HD | ||||
* | glsl: Fix cbuf component indexing bug falback | ameerj | 2021-07-23 | 1 | -7/+6 |
| | |||||
* | shader: Properly manage attributes not written from previous stages | ReinUsesLisp | 2021-07-23 | 1 | -0/+5 |
| | |||||
* | glsl: Address rest of feedback | ameerj | 2021-07-23 | 1 | -1/+1 |
| | |||||
* | glsl: Cleanup/Address feedback | ameerj | 2021-07-23 | 1 | -13/+5 |
| | |||||
* | glsl: Add Shader_GLSL logging | ameerj | 2021-07-23 | 1 | -10/+13 |
| | |||||
* | glsl: Implement legacy varyings | ameerj | 2021-07-23 | 1 | -3/+28 |
| | |||||
* | glsl: Fix Cbuf getters for F32 type | ameerj | 2021-07-23 | 1 | -12/+15 |
| | |||||
* | glsl: Add immediate index oob checking for Cbuf getters | ameerj | 2021-07-23 | 1 | -0/+16 |
| | |||||
* | glsl: Refactor GetCbuf functions to reduce code duplication | ameerj | 2021-07-23 | 1 | -104/+66 |
| | |||||
* | glsl: Address Rodrigo's feedback | ameerj | 2021-07-23 | 1 | -12/+19 |
| | |||||
* | glsl: Implement SampleId and SetSampleMask | ameerj | 2021-07-23 | 1 | -1/+29 |
| | | | | plus some minor refactoring of implementations | ||||
* | glsl: Implement more attribute getters and setters | ameerj | 2021-07-23 | 1 | -12/+56 |
| | |||||
* | glsl: Implement indexed attribute loads | ameerj | 2021-07-23 | 1 | -19/+19 |
| | |||||
* | glsl: Remove output generic indexing for geometry stage | ameerj | 2021-07-23 | 1 | -5/+3 |
| | |||||
* | glsl: Implement image atomics and set layer | ameerj | 2021-07-23 | 1 | -1/+11 |
| | | | | along with some more cleanup/oversight fixes | ||||
* | glsl: Add cbuf access workaround for devices with component indexing bug | ameerj | 2021-07-23 | 1 | -51/+110 |
| | |||||
* | glsl: Fix <32-bit SSBO writes | ameerj | 2021-07-23 | 1 | -1/+1 |
| | | | | and more cleanup | ||||
* | glsl: Cleanup and address feedback | ameerj | 2021-07-23 | 1 | -17/+13 |
| | |||||
* | glsl: Implement Load/WriteGlobal | ameerj | 2021-07-23 | 1 | -30/+27 |
| | | | | along with some other misc changes and fixes | ||||
* | glsl: skip gl_ViewportIndex write if device does not support it | ameerj | 2021-07-23 | 1 | -0/+5 |
| | |||||
* | glsl: Implement transform feedback | ameerj | 2021-07-23 | 1 | -4/+11 |
| | |||||
* | emit_glsl_context_get_set: Remove unused function | lat9nq | 2021-07-23 | 1 | -4/+0 |
| | |||||
* | glsl: Implement tessellation shaders | ameerj | 2021-07-23 | 1 | -4/+65 |
| | |||||
* | glsl: Implement geometry shaders | ameerj | 2021-07-23 | 1 | -2/+13 |
| | |||||
* | glsl: Use NotImplemented macro with function name output | ameerj | 2021-07-23 | 1 | -0/+1 |
| | |||||
* | glsl: Implement gl_ViewportIndex | ameerj | 2021-07-23 | 1 | -0/+3 |
| | | | | SSBU now working | ||||
* | glsl: SHFL fix and prefer shift operations over divide in glsl shader | ameerj | 2021-07-23 | 1 | -10/+10 |
| | |||||
* | glsl: implement set clip distance | ameerj | 2021-07-23 | 1 | -0/+12 |
| | | | | 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/+7 |
| | |||||
* | glsl: Implement ST{LS} | ameerj | 2021-07-23 | 1 | -0/+8 |
| | |||||
* | glsl: Implement more instructions used by SMO | ameerj | 2021-07-23 | 1 | -1/+5 |
| | |||||
* | glsl: Fix GetAttribute return values | ameerj | 2021-07-23 | 1 | -3/+3 |
| | | | | fixes font rendering issues as these were used to index into the ssbos | ||||
* | glsl: Fix and implement rest of cbuf access | ameerj | 2021-07-23 | 1 | -7/+43 |
| | |||||
* | glsl: Implement TXQ and other misc changes | ameerj | 2021-07-23 | 1 | -0/+3 |
| | |||||
* | shader_recompiler: GCC fixes | lat9nq | 2021-07-23 | 1 | -2/+1 |
| | |||||
* | glsl: Better Storage access and wip warps | ameerj | 2021-07-23 | 1 | -4/+12 |
| | |||||
* | glsl: Fix bindings, add some CC ops | ameerj | 2021-07-23 | 1 | -15/+18 |
| | |||||
* | glsl: remove unused headers | ameerj | 2021-07-23 | 1 | -2/+0 |
| | |||||
* | glsl: Fix non-immediate buffer access | ameerj | 2021-07-23 | 1 | -11/+57 |
| | | | | and many other misc implementations | ||||
* | glsl: Implement some attribute getters and setters | ameerj | 2021-07-23 | 1 | -0/+53 |
| | |||||
* | glsl: FP function fixes | ameerj | 2021-07-23 | 1 | -3/+7 |
| | |||||
* | glsl: Add many FP32/64 instructions | ameerj | 2021-07-23 | 1 | -3/+4 |
| | |||||
* | glsl: Pass IR::Inst& to Emit functions | ameerj | 2021-07-23 | 1 | -2/+2 |
| | |||||
* | glsl: Reusable typed variables. IADD32 | ameerj | 2021-07-23 | 1 | -2/+2 |
| | |||||
* | glsl: Fix program linking and cbuf | ameerj | 2021-07-23 | 1 | -1/+3 |
| | |||||
* | glsl: Fix "reg" allocing | ameerj | 2021-07-23 | 1 | -4/+3 |
| | | | | based on glasm with some tweaks | ||||
* | glsl: Initial backend | ameerj | 2021-07-23 | 1 | -0/+48 |