summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/spirv (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-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-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-19renderer_vulkan: ignore viewport stores on non-supporting driversGravatar Liam2-1/+5
2023-11-18shader_recompiler: Fix spelling of "derivate" (#12067)Gravatar Ameer J2-29/+29
2023-10-31shader_recompiler: Align SSBO offsets in GlobalMemory functionsGravatar Ameer J1-1/+3
2023-10-19Manually robust on Maxwell and earlierGravatar Kelebek12-3/+56
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 Liam1-2/+33
2023-06-22Remove memory allocations in some hot pathsGravatar Kelebek12-2/+2
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 Wollnashorn1-0/+39
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-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-01-29spirv: Fix TXQ with MSAA texturesGravatar ameerj3-8/+19
2023-01-28shader_recompiler: TXQ: Skip QueryLevels when possibleGravatar ameerj2-3/+6
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-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.
2023-01-05shader_recompiler: SPIRV: Only enable int64 feature when supportedGravatar Billy Laws1-1/+1
2023-01-05Vulkan: Add a workaround for input_position on Adreno driversGravatar Billy Laws3-11/+39
Adreno drivers will crash compiling geometry shaders if the input position is not wrapped in a gl_in struct.
2023-01-04Video_core: Address feedbackGravatar Fernando Sahmkow3-0/+8
2023-01-01MacroHLE: Add HLE replacement for base vertex and base instance.Gravatar Fernando Sahmkow2-0/+18
2022-12-13Vulkan: Add support for VK_EXT_depth_clip_control.Gravatar FernandoS272-3/+4
2022-12-13spirv_emit_context: declare GroupNonUniform capability for ↵Gravatar Liam1-0/+2
SubgroupLocalInvocationId
2022-11-27Vulkan: update initializationGravatar Liam3-19/+31
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
2022-11-18spirv_emit_context: add missing flat decorationGravatar Liam1-0/+1
2022-11-17shader: Implement miss attribute layerGravatar FengChen2-0/+6
2022-11-07video_core: Fix few issues in Tess stageGravatar FengChen4-0/+18
2022-11-04video_core: Fix SNORM texture buffer emulating error (#9001)Gravatar Feng Chen2-1/+6
2022-09-20video_core: Generate mipmap texture by drawingGravatar FengChen5-1/+51
2022-08-25video_code: support rectangle textureGravatar FengChen2-0/+2
2022-07-29Add missed shader defines. Fixes Xenoblade Chronicles 3 booting with Vulkan.Gravatar Kelebek11-2/+3