summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/ir_opt (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-07Fix "Propietary" typo elsewhereGravatar Viktor Szépe1-1/+1
2023-12-21shader_recompiler: ensure derivatives for textureGrad are f32Gravatar Liam1-1/+11
2023-12-21shader_recompiler: use float image operations on load/store when requiredGravatar Liam1-1/+24
2023-12-18shader_recompiler: use minimal clip distance arrayGravatar Liam1-1/+5
2023-11-18shader_recompiler: Fix spelling of "derivate" (#12067)Gravatar Ameer J1-5/+5
2023-11-17shader_recompiler: add byteswap pattern workaround for NvidiaGravatar Ameer J2-0/+80
2023-10-31shader_recompiler: Align SSBO offsets to meet host requirementsGravatar Ameer J2-5/+10
Co-Authored-By: Billy Laws <blaws05@gmail.com>
2023-08-18Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagationGravatar Fernando Sahmkow1-1/+226
2023-07-23ssa_rewrite_pass: use proper mapsGravatar Liam1-6/+5
2023-06-25shaders: Track local memory usageGravatar ameerj1-0/+4
2023-06-10shader_recompiler: translate f64 to f32 when unsupported on hostGravatar Liam2-0/+186
2023-06-10shader_recompiler: remove barriers in conditional control flow when device ↵Gravatar Liam2-0/+45
lacks support
2023-02-25buffer_cache: Add logic for non-NVN storage buffer trackingGravatar ameerj1-1/+7
2023-01-28texture_pass: Fix texture descriptors comparisonsGravatar ameerj1-2/+9
2023-01-28texture_pass: Refactor texture handle retrievalGravatar ameerj1-7/+7
2023-01-28shader_recompiler: TXQ: Skip QueryLevels when possibleGravatar ameerj1-1/+2
2023-01-25shader_recompiler: Remove S32 IR typeGravatar ameerj1-4/+4
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 Liam1-0/+8
2023-01-07Revert "shader_recompiler: Align SSBO offsets to meet host requirements"Gravatar Liam2-10/+5
This reverts commit 8804a4eb23e0c4f3e4bab03dee7c204bd38bf21e.
2023-01-05Run clang-formatGravatar Billy Laws1-1/+2
2023-01-05shader_recompiler: Align SSBO offsets to meet host requirementsGravatar Billy Laws2-5/+9
We can take advantage of SSBO addresses being passed in a constant bufer to account for the extra alignment requirements in the shader itself.
2023-01-04Video_core: Address feedbackGravatar Fernando Sahmkow1-0/+3
2023-01-03ShaderCompiler: Inline driver specific constants.Gravatar Fernando Sahmkow1-1/+29
2023-01-01MacroHLE: Add HLE replacement for base vertex and base instance.Gravatar Fernando Sahmkow2-4/+43
2022-12-01shader_recompiler: add gl_Layer translation GS for older hardwareGravatar Liam2-0/+69
2022-11-11ir/texture_pass: Use host_info instead of querying Settings::values (#9176)Gravatar Morph2-7/+11
2022-11-07video_core: Fix few issues in Tess stageGravatar FengChen1-0/+3
2022-11-04video_core: Fix SNORM texture buffer emulating error (#9001)Gravatar Feng Chen1-0/+49
2022-10-25Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"Gravatar Feng Chen1-89/+9
2022-10-06General: Fix compilation for GCCGravatar Liam White1-1/+1
2022-10-06Shader Decompiler: implement better tracking for Vulkan samplers.Gravatar Fernando Sahmkow1-9/+59
2022-10-06Shader Decompiler: Check for shift when deriving composite samplers.Gravatar Fernando Sahmkow1-3/+31
2022-09-20video_core: Generate mipmap texture by drawingGravatar FengChen2-0/+78
2022-08-31style: General style changes to match with the rest of the codebaseGravatar Morph1-5/+5
2022-08-25video_code: support rectangle textureGravatar FengChen2-1/+29
2022-04-28GCC 12 fixesGravatar Liam1-1/+1
2022-04-23general: Convert source file copyright comments over to SPDXGravatar Morph13-39/+26
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.
2022-04-01shader_recompiler: support const buffer indirect addressing on OpenGL SPIR-VGravatar Liam1-7/+2
2022-03-23dead_code_elimination_pass: Remove unreachable Phi argumentsGravatar ameerj1-0/+27
2022-03-22shader_recompiler/dead_code_elimination: Add DeadBranchElimination passGravatar ameerj1-9/+62
This adds a pass to eliminate if(false) branches within the shader code
2022-03-20shader_recompiler: Reduce unused includesGravatar ameerj6-12/+0
2022-03-17Address review commentsGravatar Liam1-33/+28
2022-03-17shader_recompiler: Use functions for indirect const buffer accessesGravatar Liam1-0/+2
2022-03-14shader: add support for const buffer indirect addressingGravatar Liam1-8/+27
2022-03-13Shader decompiler: Fix storage tracking in deko3d.Gravatar Fernando Sahmkow1-1/+2
2022-03-12rescaling_pass: Fix rescaling Color2DArray ImageFetch offsetsGravatar ameerj1-2/+27
ImageFetch offsets for 2D array coordinates have a different composite size than the coordinates. The rescaling pass was not taking this into account. Fixes broken shaders when scaling is enabled in Astral Chain, and likely other titles.
2022-01-29lower_int64_to_int32: Add 64-bit atomic fallbacksGravatar ameerj2-2/+67
2022-01-29shaders: Add U64->U32x2 Atomic fallback functionsGravatar ameerj1-0/+18
2022-01-28spirv_atomic: Define U32x2 storage buffers for 64-bit storage atomicsGravatar ameerj1-1/+1
Some drivers do not support 64-bit atomics, and fallback to atomically modifying U32x2 vectors. This change ensures that U32x2 storage vectors are defined in the spir-v shader when 64-bit atomics are used. Fixes a hang on some devices, notably Intel GPUs, when booting Pokemon Legends Arceus
2021-12-29shader: Add integer attribute get optimization passGravatar ameerj2-0/+24
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.