aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
AgeCommit message (Collapse)Author
2023-12-20emit_glsl_image: Use inlined texelFetch offsetsAmeer J
2023-11-18shader_recompiler: Fix spelling of "derivate" (#12067)mainline-0-1625Ameer J
2023-09-01shader_recompiler: fix emulation of 3D textureGradLiam
2023-08-18Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagationFernando Sahmkow
2023-04-08shader_recompiler: Add subpixel offset for correct rounding at `ImageGather`Wollnashorn
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-01-29emit_glsl_image: Implement TXQ with MSAA texturesameerj
Also fixes for texture buffers, which do not have mips eithers.
2023-01-29Merge pull request #9694 from ameerj/txq-mipsliamwhite
shader_recompiler: TXQ: Skip QueryLevels when possible
2023-01-28shader_recompiler: TXQ: Skip QueryLevels when possibleameerj
2023-01-28emit_glsl_image: Fix ImageFetch for MSAA texturesameerj
2022-08-25video_code: support rectangle textureFengChen
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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.
2021-12-05shader_recompiler: Adjust emit_context includesameerj
2021-11-16shader: Properly scale image reads and add GL SPIR-V supportReinUsesLisp
Thanks for everything!
2021-11-16glsl/glasm: Pass and use scaling parameters in shadersReinUsesLisp
2021-11-16shader: Add IsTextureScaled opcodeReinUsesLisp
2021-07-22glsl: Add Shader_GLSL loggingameerj
2021-07-22glsl: Add stubs for sparse queries and variable aoffi when not supportedameerj
2021-07-22glsl: Minor cleanupameerj
2021-07-22glsl: Address more feedback. Implement indexed texture readsameerj
2021-07-22glsl: Reorganize backend code, remove unneeded [[maybe_unused]]ameerj
2021-07-22glsl: Implement image atomics and set layerameerj
along with some more cleanup/oversight fixes
2021-07-22glsl: Fix image gather logicameerj
2021-07-22glsl: Use textureGrad fallback when EXT_texture_shadow_lod is unsupportedameerj
2021-07-22emit_glsl_image: Use immediate offsets when possibleameerj
2021-07-22glsl: Cleanup and address feedbackameerj
2021-07-22glsl: Implement Load/WriteGlobalameerj
along with some other misc changes and fixes
2021-07-22glsl: Implement Imagesameerj
2021-07-22glsl: Implement ImageGradient and other texture function variantsameerj
2021-07-22glsl: Use NotImplemented macro with function name outputameerj
2021-07-22glsl: Implement gl_ViewportIndexameerj
SSBU now working
2021-07-22glsl: Rework variable allocator to allow for variable reuseameerj
2021-07-22glsl: Implement more instructions used by SMOameerj
2021-07-22glsl: minor cleanupameerj
2021-07-22glsl: Implement TXQ and other misc changesameerj
2021-07-22glsl: TLD4 implementationameerj
2021-07-22glsl: Implement TLD instructionameerj
2021-07-22glsl: Implement TEXSameerj
2021-07-22glsl: Cleanup texture functionsameerj
2021-07-22shader_recompiler: GCC fixeslat9nq
2021-07-22glsl: Implement TEX depth functionsameerj
2021-07-22glsl: Implement TEX ImageSample functionsameerj
2021-07-22glsl: SSBO access fixes and wip SampleExplicitLod implementation.ameerj
2021-07-22glsl: Fix bindings, add some CC opsameerj
2021-07-22glsl: remove unused headersameerj
2021-07-22glsl: Implement derivatives and YDirectionameerj
plus some other misc additions/changed
2021-07-22glsl: textures wipameerj
2021-07-22glsl: Implement some attribute getters and settersameerj
2021-07-22glsl: Initial backendameerj