summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-15Fix more typosGravatar Viktor Szépe1-2/+2
2023-12-20emit_glsl_image: Use inlined texelFetch offsetsGravatar Ameer J2-7/+7
2023-11-26GLSL: Prefer known used cbuf sizesGravatar Ameer J1-1/+4
2023-11-18shader_recompiler: Fix spelling of "derivate" (#12067)Gravatar Ameer J1-3/+3
2023-10-31shader_recompiler: Align SSBO offsets in GlobalMemory functionsGravatar Ameer J1-1/+4
2023-10-22emit_glsl_warp: Fix shfl_in_bounds conditionalGravatar Ameer J2-4/+9
2023-09-01shader_recompiler: fix emulation of 3D textureGradGravatar Liam1-1/+1
2023-08-18Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagationGravatar Fernando Sahmkow1-1/+7
2023-06-22Remove memory allocations in some hot pathsGravatar Kelebek11-1/+1
2023-04-08shader_recompiler: Add subpixel offset for correct rounding at `ImageGather`Gravatar Wollnashorn1-0/+29
On AMD a subpixel offset of 1/512 of the texel size is applied to the texture coordinates at a ImageGather call to ensure the rounding at the texel centers is done the same way as in Maxwell or other Nvidia architectures. See https://www.reedbeta.com/blog/texture-gathers-and-coordinate-precision/ for more details why this might be necessary. This should fix shadow artifacts at object edges in Zelda: Breath of the Wild (#9957, #6956).
2023-03-12general: fix spelling mistakesGravatar Liam2-41/+41
2023-02-14remove static from pointer sized or smaller types for aesthetics, change ↵Gravatar arades791-1/+1
constexpr static to static constexpr for consistency Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation ↵Gravatar arades791-1/+1
where possible Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-08glsl_emit_context: Remove redeclarations of gl_SampleID and gl_SampleMaskGravatar ameerj1-6/+0
These built-ins seem to be available without needing to be declared for fragment shaders, similar i.e. to gl_FragDepth
2023-01-29emit_glsl_image: Implement TXQ with MSAA texturesGravatar ameerj1-9/+23
Also fixes for texture buffers, which do not have mips eithers.
2023-01-28shader_recompiler: TXQ: Skip QueryLevels when possibleGravatar ameerj2-11/+11
2023-01-28emit_glsl_image: Fix ImageFetch for MSAA texturesGravatar ameerj1-6/+11
2023-01-27glsl: Add MS sampler typesGravatar ameerj1-22/+27
2023-01-25shader_recompiler: Remove S32 IR typeGravatar ameerj2-5/+0
The frontend IR opcodes do not distinguish between signed and unsigned integer types. Fixes broken shaders when IR validation/graphics debugging is enabled for shaders that used BitCastS32F32
2023-01-04Video_core: Address feedbackGravatar Fernando Sahmkow1-0/+6
2023-01-01MacroHLE: Add OpenGL SupportGravatar Fernando Sahmkow2-1/+13
2022-11-17shader: Implement miss attribute layerGravatar FengChen1-0/+3
2022-11-07video_core: Fix few issues in Tess stageGravatar FengChen2-0/+13
2022-11-04video_core: Fix SNORM texture buffer emulating error (#9001)Gravatar Feng Chen2-0/+5
2022-10-22CMakeLists: Disable C4100 and C4324Gravatar Morph1-4/+0
Disabling C4100 is similar to -Wno-unused-parameter
2022-09-23chore: fix some typosGravatar Andrea Pappacoda1-1/+1
Fix some typos reported by Lintian
2022-09-20video_core: Generate mipmap texture by drawingGravatar FengChen3-0/+8
2022-08-25video_code: support rectangle textureGravatar FengChen2-0/+2
2022-04-23general: Convert source file copyright comments over to SPDXGravatar Morph25-75/+50
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.
2022-04-01shader_compiler: support const buffer indirect addressing in GLSLGravatar Liam3-8/+37
2022-03-20shader_recompiler: Reduce unused includesGravatar ameerj7-13/+0
2022-01-29emit_glsl_atomic: Implement 32x2 fallback atomic opsGravatar ameerj1-9/+55
2022-01-29shaders: Add U64->U32x2 Atomic fallback functionsGravatar ameerj2-0/+127
2022-01-17shader_recompiler: fix potential OOB accessGravatar v19931-3/+4
Found by static analysis with PVS-Studio. Original check wasn't actually checking for OOB and would segfault in case of it.
2022-01-04glsl: Remove unreachable returnGravatar Narr the Reg1-1/+0
2021-12-29glsl: Add boolean reference workaroundGravatar ameerj2-2/+6
2021-12-29glsl_context_get_set: Add alternative cbuf type for broken driversGravatar ameerj2-17/+25
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.
2021-12-29emit_glsl_integer: Use negation work aroundGravatar ameerj1-2/+2
2021-12-29shader: Add integer attribute get optimization passGravatar ameerj2-0/+18
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
2021-12-24emit_glsl_floating_point: Fix FPNeg on newer Nvidia driversGravatar ameerj1-2/+2
2021-12-18Remove glsl handle legacy related codeGravatar vonchenplus3-103/+1
2021-12-05shader_recompiler: Adjust emit_context includesGravatar ameerj20-20/+20
2021-12-05shader_recompiler: Rename backend emit_context filesGravatar ameerj2-0/+0
2021-11-16shader: Properly scale image reads and add GL SPIR-V supportGravatar ReinUsesLisp2-1/+9
Thanks for everything!
2021-11-16glsl/glasm: Pass and use scaling parameters in shadersGravatar ReinUsesLisp3-4/+4
2021-11-16gl_graphics_pipeline: Add downscale factor to shader uniformsGravatar ameerj2-2/+4
2021-11-16shader: Add IsTextureScaled opcodeGravatar ReinUsesLisp2-0/+10
2021-11-16shader: Add integer division opcodesGravatar ReinUsesLisp2-0/+10
2021-11-16shader: Add resolution down factor opcodeGravatar ReinUsesLisp2-0/+6
2021-11-01ShaderCache: Fix Phi Nodes Type on OGL.Gravatar Fernando Sahmkow1-2/+2