summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/spirv (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13075 from liamwhite/mali-having-a-bad-timeGravatar Narr the Reg2024-02-222-3/+9
|\ | | | | shader_recompiler: throw on missing geometry streams in geometry shaders
| * shader_recompiler: throw on missing geometry streams in geometry shadersGravatar Liam2024-02-192-3/+9
| |
* | shader_recompiler: fix non-const offset for arrayed image typesGravatar Liam2024-02-151-4/+10
| |
* | Revert "shader_recompiler: use only ConstOffset for OpImageFetch"Gravatar Liam2024-02-152-7/+38
|/ | | | This reverts commit f296a9ce9a1a144d322d54d4628dba6f8a800cb7.
* shader_recompiler: use only ConstOffset for OpImageFetchGravatar Liam2024-02-052-38/+7
|
* Merge pull request #12644 from liamwhite/vkspec-image-offsetGravatar liamwhite2024-01-182-23/+55
|\ | | | | shader_recompiler: fix Offset operand usage for non-OpImage*Gather
| * shader_recompiler: fix Offset operand usage for non-OpImage*GatherGravatar Liam2024-01-112-23/+55
| |
* | shader_recompiler: emulate 8-bit and 16-bit storage writes with cas loopGravatar Liam2024-01-113-8/+86
|/
* Merge pull request #12437 from ameerj/gl-amd-fixesGravatar liamwhite2024-01-041-1/+1
|\ | | | | OpenGL: Fixes and workaround updates for AMD
| * spirv_emit_context: Fix BaseInstance for OGL spirvGravatar Ameer J2023-12-211-1/+1
| |
* | shader_recompiler: use default value for clip distances arrayGravatar Liam2023-12-261-7/+13
| |
* | shader_recompiler: respect clip distance limits in indexed storeGravatar Liam2023-12-261-18/+28
| |
* | shader_recompiler: use float image operations on load/store when requiredGravatar Liam2023-12-213-15/+31
| |
* | shader_recompiler: use minimal clip distance arrayGravatar Liam2023-12-181-1/+2
| |
* | shader_recompiler: ignore clip distances beyond driver support levelGravatar Liam2023-12-182-1/+6
|/
* Merge branch 'master' into ssbo-alignGravatar Ameer J2023-11-264-30/+34
|\
| * renderer_vulkan: ignore viewport stores on non-supporting driversGravatar Liam2023-11-192-1/+5
| |
| * shader_recompiler: Fix spelling of "derivate" (#12067)Gravatar Ameer J2023-11-182-29/+29
| |
* | shader_recompiler: Align SSBO offsets in GlobalMemory functionsGravatar Ameer J2023-10-311-1/+3
|/
* Manually robust on Maxwell and earlierGravatar Kelebek12023-10-192-3/+56
|
* emit_spirv: fix incorrect use of descriptor index in image atomicsGravatar Liam2023-09-222-13/+9
|
* shader_recompiler: skip sampler for buffer textures (#11435)Gravatar liamwhite2023-09-143-6/+2
|
* shader_recompiler: always declare image format for image buffersGravatar Liam2023-09-021-1/+6
|
* shader_recompiler: fix emulation of 3D textureGradGravatar Liam2023-09-011-2/+33
|
* Remove memory allocations in some hot pathsGravatar Kelebek12023-06-222-2/+2
|
* video_core: Enable support_descriptor_aliasing on Turnip, disable storage ↵Gravatar bunnei2023-06-031-0/+10
| | | | atomic otherwise.
* Avoid using VectorExtractDynamic for subgroup mask on Adreno GPUsGravatar Billy Laws2023-06-031-1/+16
| | | | This crashes their shader compiler for some reason.
* Implement scaled vertex buffer format emulationGravatar Billy Laws2023-06-033-49/+72
| | | | These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
* Fix Tears of the Kingdom flickering clouds and depths.Gravatar Kelebek12023-05-111-6/+2
|
* Define SampleMask as an arrayGravatar Kelebek12023-04-302-2/+4
|
* shader_recompiler: Use vector arithmetic rather than component-wise in ↵Gravatar Wollnashorn2023-04-081-18/+9
| | | | | | ImageGatherSubpixelOffset Should be more efficient and better readable
* shader_recompiler: Add subpixel offset for correct rounding at `ImageGather`Gravatar Wollnashorn2023-04-081-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).
* spirv: Fix TXQ with MSAA texturesGravatar ameerj2023-01-293-8/+19
|
* Merge pull request #9694 from ameerj/txq-mipsGravatar liamwhite2023-01-292-3/+6
|\ | | | | shader_recompiler: TXQ: Skip QueryLevels when possible
| * shader_recompiler: TXQ: Skip QueryLevels when possibleGravatar ameerj2023-01-282-3/+6
| |
* | Merge pull request #9682 from ameerj/shader-s32Gravatar bunnei2023-01-282-5/+0
|\ \ | |/ |/| shader_recompiler: Remove S32 IR type
| * shader_recompiler: Remove S32 IR typeGravatar ameerj2023-01-252-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
* | spirv: fix multisampled image fetchGravatar Liam2023-01-232-2/+7
|/
* Run clang-formatGravatar Billy Laws2023-01-052-7/+9
|
* shader_recompiler: Fix shuffle partitioning for >64 invoc-per-subgroup GPUsGravatar Billy Laws2023-01-051-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.
* shader_recompiler: SPIRV: Only enable int64 feature when supportedGravatar Billy Laws2023-01-051-1/+1
|
* Vulkan: Add a workaround for input_position on Adreno driversGravatar Billy Laws2023-01-053-11/+39
| | | | Adreno drivers will crash compiling geometry shaders if the input position is not wrapped in a gl_in struct.
* Video_core: Address feedbackGravatar Fernando Sahmkow2023-01-043-0/+8
|
* MacroHLE: Add HLE replacement for base vertex and base instance.Gravatar Fernando Sahmkow2023-01-012-0/+18
|
* Merge pull request #7450 from FernandoS27/ndc-vulkanGravatar liamwhite2022-12-172-3/+4
|\ | | | | Vulkan: Add support for VK_EXT_depth_clip_control.
| * Vulkan: Add support for VK_EXT_depth_clip_control.Gravatar FernandoS272022-12-132-3/+4
| |
* | spirv_emit_context: declare GroupNonUniform capability for ↵Gravatar Liam2022-12-131-0/+2
|/ | | | SubgroupLocalInvocationId
* Vulkan: update initializationGravatar Liam2022-11-273-19/+31
| | | | Co-authored-by: bylaws <bylaws@users.noreply.github.com>
* spirv_emit_context: add missing flat decorationGravatar Liam2022-11-181-0/+1
|
* Merge pull request #9253 from vonchenplus/attr_layerGravatar liamwhite2022-11-182-0/+6
|\ | | | | shader: Implement miss attribute layer