summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12196 from ameerj/glsl-cbuf-sizesGravatar liamwhite2023-12-031-1/+4
|\ | | | | GLSL: Use known cbuf sizes when possible
| * GLSL: Prefer known used cbuf sizesGravatar Ameer J2023-11-261-1/+4
| |
* | Merge branch 'master' into ssbo-alignGravatar Ameer J2023-11-266-36/+40
|\|
| * 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-184-35/+35
| |
* | shader_recompiler: Align SSBO offsets in GlobalMemory functionsGravatar Ameer J2023-10-313-5/+13
|/
* Merge pull request #11847 from ameerj/glsl-shfl-fixGravatar liamwhite2023-10-232-4/+9
|\ | | | | emit_glsl_warp: Fix shfl_in_bounds conditional
| * emit_glsl_warp: Fix shfl_in_bounds conditionalGravatar Ameer J2023-10-222-4/+9
| |
* | Manually robust on Maxwell and earlierGravatar Kelebek12023-10-192-3/+56
|/
* ci: fix new codespell errorsGravatar Liam2023-10-021-1/+1
|
* 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-012-3/+34
|
* Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagationGravatar Fernando Sahmkow2023-08-182-5/+26
|
* emit_glasm: Fix lmem size computationGravatar ameerj2023-06-251-1/+1
|
* Remove memory allocations in some hot pathsGravatar Kelebek12023-06-223-3/+3
|
* 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-082-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).
* general: fix spelling mistakesGravatar Liam2023-03-122-41/+41
|
* glsl_emit_context: Remove redeclarations of gl_SampleID and gl_SampleMaskGravatar ameerj2023-02-081-6/+0
| | | | These built-ins seem to be available without needing to be declared for fragment shaders, similar i.e. to gl_FragDepth
* spirv: Fix TXQ with MSAA texturesGravatar ameerj2023-01-293-8/+19
|
* emit_glasm_image: Fix TXQ with MSAA texturesGravatar ameerj2023-01-291-1/+9
|
* emit_glsl_image: Implement TXQ with MSAA texturesGravatar ameerj2023-01-291-9/+23
| | | | Also fixes for texture buffers, which do not have mips eithers.
* Merge pull request #9694 from ameerj/txq-mipsGravatar liamwhite2023-01-296-16/+19
|\ | | | | shader_recompiler: TXQ: Skip QueryLevels when possible
| * shader_recompiler: TXQ: Skip QueryLevels when possibleGravatar ameerj2023-01-286-16/+19
| |
* | Merge pull request #9687 from ameerj/ogl-shader-msGravatar bunnei2023-01-284-33/+46
|\ \ | | | | | | glasm, glsl: Implement multisampled Image Fetch
| * | emit_glsl_image: Fix ImageFetch for MSAA texturesGravatar ameerj2023-01-281-6/+11
| | |
| * | glasm: Add MS sampler typesGravatar ameerj2023-01-272-5/+8
| | |
| * | glsl: Add MS sampler typesGravatar ameerj2023-01-271-22/+27
| |/
* | Merge pull request #9682 from ameerj/shader-s32Gravatar bunnei2023-01-286-15/+0
|\ \ | |/ |/| shader_recompiler: Remove S32 IR type
| * shader_recompiler: Remove S32 IR typeGravatar ameerj2023-01-256-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
* | 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-045-0/+32
|
* MacroHLE: Add OpenGL SupportGravatar Fernando Sahmkow2023-01-012-1/+13
|
* 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
|