summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-19shader_recompiler: throw on missing geometry streams in geometry shadersGravatar Liam2-3/+9
2024-02-15shader_recompiler: fix non-const offset for arrayed image typesGravatar Liam1-4/+10
2024-02-15Revert "shader_recompiler: use only ConstOffset for OpImageFetch"Gravatar Liam2-7/+38
This reverts commit f296a9ce9a1a144d322d54d4628dba6f8a800cb7.
2024-02-05shader_recompiler: use only ConstOffset for OpImageFetchGravatar Liam2-38/+7
2024-01-15Fix more typosGravatar Viktor Szépe1-2/+2
2024-01-11shader_recompiler: emulate 8-bit and 16-bit storage writes with cas loopGravatar Liam3-8/+86
2024-01-11shader_recompiler: fix Offset operand usage for non-OpImage*GatherGravatar Liam2-23/+55
2023-12-26shader_recompiler: use default value for clip distances arrayGravatar Liam1-7/+13
2023-12-26shader_recompiler: respect clip distance limits in indexed storeGravatar Liam1-18/+28
2023-12-21spirv_emit_context: Fix BaseInstance for OGL spirvGravatar Ameer J1-1/+1
2023-12-21shader_recompiler: use float image operations on load/store when requiredGravatar Liam3-15/+31
2023-12-20emit_glsl_image: Use inlined texelFetch offsetsGravatar Ameer J2-7/+7
2023-12-18shader_recompiler: use minimal clip distance arrayGravatar Liam1-1/+2
2023-12-18shader_recompiler: ignore clip distances beyond driver support levelGravatar Liam2-1/+6
2023-11-26GLSL: Prefer known used cbuf sizesGravatar Ameer J1-1/+4
2023-11-19renderer_vulkan: ignore viewport stores on non-supporting driversGravatar Liam2-1/+5
2023-11-18shader_recompiler: Fix spelling of "derivate" (#12067)Gravatar Ameer J4-35/+35
2023-10-31shader_recompiler: Align SSBO offsets in GlobalMemory functionsGravatar Ameer J3-5/+13
2023-10-22emit_glsl_warp: Fix shfl_in_bounds conditionalGravatar Ameer J2-4/+9
2023-10-19Manually robust on Maxwell and earlierGravatar Kelebek12-3/+56
2023-10-02ci: fix new codespell errorsGravatar Liam1-1/+1
2023-09-22emit_spirv: fix incorrect use of descriptor index in image atomicsGravatar Liam2-13/+9
2023-09-14shader_recompiler: skip sampler for buffer textures (#11435)Gravatar liamwhite3-6/+2
2023-09-02shader_recompiler: always declare image format for image buffersGravatar Liam1-1/+6
2023-09-01shader_recompiler: fix emulation of 3D textureGradGravatar Liam2-3/+34
2023-08-18Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagationGravatar Fernando Sahmkow2-5/+26
2023-06-25emit_glasm: Fix lmem size computationGravatar ameerj1-1/+1
2023-06-22Remove memory allocations in some hot pathsGravatar Kelebek13-3/+3
2023-06-03video_core: Enable support_descriptor_aliasing on Turnip, disable storage ↵Gravatar bunnei1-0/+10
atomic otherwise.
2023-06-03Avoid using VectorExtractDynamic for subgroup mask on Adreno GPUsGravatar Billy Laws1-1/+16
This crashes their shader compiler for some reason.
2023-06-03Implement scaled vertex buffer format emulationGravatar Billy Laws3-49/+72
These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
2023-05-11Fix Tears of the Kingdom flickering clouds and depths.Gravatar Kelebek11-6/+2
2023-04-30Define SampleMask as an arrayGravatar Kelebek12-2/+4
2023-04-08shader_recompiler: Use vector arithmetic rather than component-wise in ↵Gravatar Wollnashorn1-18/+9
ImageGatherSubpixelOffset Should be more efficient and better readable
2023-04-08shader_recompiler: Add subpixel offset for correct rounding at `ImageGather`Gravatar Wollnashorn2-0/+68
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 arades792-2/+2
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 arades792-2/+2
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-29spirv: Fix TXQ with MSAA texturesGravatar ameerj3-8/+19
2023-01-29emit_glasm_image: Fix TXQ with MSAA texturesGravatar ameerj1-1/+9
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 ameerj6-16/+19
2023-01-28emit_glsl_image: Fix ImageFetch for MSAA texturesGravatar ameerj1-6/+11
2023-01-27glasm: Add MS sampler typesGravatar ameerj2-5/+8
2023-01-27glsl: Add MS sampler typesGravatar ameerj1-22/+27
2023-01-25shader_recompiler: Remove S32 IR typeGravatar ameerj6-15/+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-23spirv: fix multisampled image fetchGravatar Liam2-2/+7
2023-01-05Run clang-formatGravatar Billy Laws2-7/+9
2023-01-05shader_recompiler: Fix shuffle partitioning for >64 invoc-per-subgroup GPUsGravatar Billy Laws1-30/+28
The existing implementation only supports 64 invoc-per-subgroup GPUs, and misbehaves on adreno when invocations need to be split into 4 emulated subgroups.