summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend
AgeCommit message (Collapse)Author
2022-04-01shader_compiler: support const buffer indirect addressing in GLSLLiam
2022-04-01shader_recompiler: support const buffer indirect addressing on OpenGL SPIR-VLiam
2022-03-22Include <bit> header when std::count{r,l}_zero is usedBilly Laws
Needed for compilation with older libc++ releases
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-17Address review commentsLiam
2022-03-14shader: add support for const buffer indirect addressingLiam
2022-03-12emit_spirv, vk_compute_pass: Resolve VS2022 compiler errorsameerj
2022-01-29emit_glsl_atomic: Implement 32x2 fallback atomic opsameerj
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-28emit_spirv: Add Xfb execution mode when transform feedback is usedameerj
Fixes Transform Feedback on Vulkan AMD drivers.
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-04glsl: Remove unreachable returnNarr the Reg
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-18Remove spirv handle legacy related codevonchenplus
2021-12-18Remove glsl handle legacy related codevonchenplus
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-11-16vulkan: Fix rescaling push constant usageameerj
2021-11-16shader, video_core: Fix GCC build errorsameerj
2021-11-16emit_spirv: Fix RescalingLayout alignmentameerj
2021-11-16emit_spirv: Fix RescalingLayout alignmentameerj
2021-11-16shader: Properly scale image reads and add GL SPIR-V supportReinUsesLisp
Thanks for everything!
2021-11-16glsl/glasm: Pass and use scaling parameters in shadersReinUsesLisp
2021-11-16gl_graphics_pipeline: Add downscale factor to shader uniformsameerj
2021-11-16spirv: Implement rescaling patchingReinUsesLisp
2021-11-16shader: Add IsTextureScaled opcodeReinUsesLisp
2021-11-16shader: Add integer division opcodesReinUsesLisp
2021-11-16shader: Add resolution down factor opcodeReinUsesLisp
2021-11-14Merge pull request #7260 from vonchenplus/spirv_support_legacy_attribute_v2bunnei
shader: Spirv support legacy attribute v2
2021-11-04Simply legacy attribute implementFeng Chen
2021-11-02Merge pull request #7262 from ↵bunnei
FernandoS27/Buffalo-buffalo-Buffalo-buffalo-buffalo ShaderCache: Order Phi Arguments from farthest away to nearest.
2021-11-02Shader Cahe: Fix Phi Nodes on GLASM.Fernando Sahmkow
2021-11-01ShaderCache: Fix Phi Nodes Type on OGL.Fernando Sahmkow
2021-10-31Support gl_FogFragCoord attributevonchenplus
2021-10-26Support gl_BackSecondaryColor attributevonchenplus
2021-10-26Support gl_FrontSecondaryColor attributevonchenplus