summaryrefslogtreecommitdiff
path: root/src/shader_recompiler
AgeCommit message (Collapse)Author
2022-01-29emit_glsl_atomic: Implement 32x2 fallback atomic opsameerj
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
2022-01-28Merge pull request #7786 from ameerj/vmnmx-selMorph
video_minimum_maximum: Implement src operand selectors
2022-01-28emit_spirv: Add Xfb execution mode when transform feedback is usedameerj
Fixes Transform Feedback on Vulkan AMD drivers.
2022-01-27video_minimum_maximum: Implement src operand selectorsameerj
Used by Pokemon Legends: Arceus
2022-01-25shader_recompiler: Remove unnecessary [[nodiscard]]Lioncash
Since ConvertLegacyToGeneric has a void return value, there's nothing that is actually returned by the function.
2022-01-17shader_recompiler: fix potential OOB accessv1993
Found by static analysis with PVS-Studio. Original check wasn't actually checking for OOB and would segfault in case of it.
2022-01-09logging/log.h: move enum class formatter to a separate file ...liushuyu
... to common/logging/formatter.h
2022-01-08logging: adapt to changes in fmt 8.1liushuyu
2022-01-04glsl: Remove unreachable returnNarr the Reg
2022-01-04ShaderDecompiler: Add a debug option to dump the game's shaders.Fernando Sahmkow
2022-01-03Merge pull request #7629 from ameerj/nv-driver-fixesFernando S
shaders: Add fixes for NVIDIA drivers 495+
2021-12-29glsl: Add boolean reference workaroundameerj
2021-12-29glsl_context_get_set: Add alternative cbuf type for broken driversameerj
some drivers have a bug bitwise converting floating point cbuf values to uint variables. This adds a workaround for these drivers to make all cbufs uint and convert to floating point as needed.
2021-12-29emit_glsl_integer: Use negation work aroundameerj
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-12-28Merge pull request #7618 from goldenx86/patch-4bunnei
Increase boost requirement to 1.78.0
2021-12-28Empty spacesMatías Locatti
2021-12-28Changes to avoid warnings in SSE4.2 optimized SPIR-VMatías Locatti
2021-12-24emit_glasm_context_get_set: Fix GetAttribute return value type.ameerj
GetAttribute expects an F32 result type at the IR level, this fixes the return value of attributes which were not returning an F32
2021-12-24emit_glsl_floating_point: Fix FPNeg on newer Nvidia driversameerj
2021-12-18Address format clangvonchenplus
2021-12-18Remove spirv handle legacy related codevonchenplus
2021-12-18Remove glsl handle legacy related codevonchenplus
2021-12-18Merge branch 'yuzu-emu:master' into convert_legacyFeng Chen
2021-12-07Merge pull request #7522 from ameerj/shader-recompiler-filenamesMai M
shader_recompiler/backend: Minor organization and refactoring to reduce compile time overhead
2021-12-05emit_spirv: Reduce emit_spirv.h include overheadameerj
emit_spirv.h is included in video_core, which was propagating further includes that video_core did not depend on.
2021-12-05glasm: Move implemented instructions from not_implemented.cppameerj
2021-12-05shader_recompiler: Adjust emit_context includesameerj
2021-12-05shader_recompiler: Rename backend emit_context filesameerj
2021-12-05general: Add missing copyright noticesameerj
2021-11-19Implement convert legacy to genericFeng Chen
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-16vulkan: Fix rescaling push constant usageameerj
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-16shader, video_core: Fix GCC build errorsameerj
2021-11-16emit_spirv: Fix RescalingLayout alignmentameerj
2021-11-16RescalingPass: Agregate pixels on texelFetch while on Fragment ShaderFernando Sahmkow
2021-11-16shader: Fix TextureSize check on rescaling.Fernando Sahmkow
2021-11-16emit_spirv: Fix RescalingLayout alignmentameerj
2021-11-16shader: Properly scale image reads and add GL SPIR-V supportReinUsesLisp
Thanks for everything!