aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/ir_opt
AgeCommit message (Collapse)Author
2022-12-01shader_recompiler: add gl_Layer translation GS for older hardwareLiam
2022-11-11Merge pull request #9167 from vonchenplus/tessliamwhite
video_core: Fix few issues in Tess stage
2022-11-11ir/texture_pass: Use host_info instead of querying Settings::values (#9176)Morph
2022-11-07video_core: Fix few issues in Tess stageFengChen
2022-11-04video_core: Fix SNORM texture buffer emulating error (#9001)Feng Chen
2022-11-03Merge pull request #8858 from vonchenplus/mipmapbunnei
video_core: Generate mipmap texture by drawing
2022-10-25Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"Feng Chen
2022-10-06General: Fix compilation for GCCLiam White
2022-10-06Shader Decompiler: implement better tracking for Vulkan samplers.Fernando Sahmkow
2022-10-06Shader Decompiler: Check for shift when deriving composite samplers.Fernando Sahmkow
2022-09-20Merge branch 'master' into mipmapFeng Chen
2022-09-20video_core: Generate mipmap texture by drawingFengChen
2022-08-31style: General style changes to match with the rest of the codebaseMorph
2022-08-25video_code: support rectangle textureFengChen
2022-04-28GCC 12 fixesLiam
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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-VLiam
2022-03-23dead_code_elimination_pass: Remove unreachable Phi argumentsameerj
2022-03-22shader_recompiler/dead_code_elimination: Add DeadBranchElimination passameerj
This adds a pass to eliminate if(false) branches within the shader code
2022-03-20shader_recompiler: Reduce unused includesameerj
2022-03-17Address review commentsLiam
2022-03-17shader_recompiler: Use functions for indirect const buffer accessesLiam
2022-03-14shader: add support for const buffer indirect addressingLiam
2022-03-15Merge pull request #8008 from ameerj/rescale-offsets-arrayFernando S
rescaling_pass: Fix rescaling Color2DArray ImageFetch offsets
2022-03-13Shader decompiler: Fix storage tracking in deko3d.Fernando Sahmkow
2022-03-12rescaling_pass: Fix rescaling Color2DArray ImageFetch offsetsameerj
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 fallbacksameerj
2022-01-29shaders: Add U64->U32x2 Atomic fallback functionsameerj
2022-01-28spirv_atomic: Define U32x2 storage buffers for 64-bit storage atomicsameerj
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 passameerj
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
2021-11-16ShaderCache: Better fix for Shuffling gl_FragCoordFernando Sahmkow
2021-11-16Texture Cahe/Shader decompiler: Resize PointSize on rescaling, refactor and ↵FernandoS27
make reaper more agressive on 4Gb GPUs.
2021-11-16rescaling_pass: Fix IR errors when unscalable texture types are encounteredameerj
2021-11-16rescaling_pass: Logic simplification and minor style cleanupameerj
2021-11-16rescaling_pass: Scale ImageFetch offset if it existsameerj
Plus some code deduplication
2021-11-16rescaling_pass: Enable PatchImageQueryDimensions on fragment stagesameerj
2021-11-16gl_texture_cache/rescaling_pass: minor cleanupameerj
2021-11-16rescaling_pass: Fix and simplify shuffle/fragcoord passameerj
2021-11-16Shader: Don't rescale FragCoord if used by ShuffleFernando Sahmkow
2021-11-16RescalingPass: Agregate pixels on texelFetch while on Fragment ShaderFernando Sahmkow
2021-11-16shader: Fix TextureSize check on rescaling.Fernando Sahmkow
2021-11-16shader: Properly scale image reads and add GL SPIR-V supportReinUsesLisp
Thanks for everything!
2021-11-16shader: Properly blacklist and scale image loadsReinUsesLisp
2021-11-16shader/rescaling_pass: Patch more instructionsReinUsesLisp
2021-11-16shader: Add IsTextureScaled opcodeReinUsesLisp
2021-11-16shader: Fix rescaling passReinUsesLisp
2021-11-16shader: Fix resolution scaling passReinUsesLisp
2021-11-16ShaderDecompiler: Add initial support for rescaling.Fernando Sahmkow
2021-11-01ShaderCache: Fix Phi Nodes Type on OGL.Fernando Sahmkow
2021-10-31ShaderCache: Order Phi Arguments from farthest away to nearest.Fernando Sahmkow