Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-02-19 | shader_recompiler: throw on missing geometry streams in geometry shaders | Liam | 2 | -3/+9 | |
2024-02-16 | shader_recompiler: fix non-const offset for arrayed image types | Liam | 1 | -4/+10 | |
2024-02-16 | Revert "shader_recompiler: use only ConstOffset for OpImageFetch" | Liam | 2 | -7/+38 | |
This reverts commit f296a9ce9a1a144d322d54d4628dba6f8a800cb7. | |||||
2024-02-05 | shader_recompiler: use only ConstOffset for OpImageFetch | Liam | 2 | -38/+7 | |
2024-01-11 | shader_recompiler: emulate 8-bit and 16-bit storage writes with cas loop | Liam | 3 | -8/+86 | |
2024-01-11 | shader_recompiler: fix Offset operand usage for non-OpImage*Gather | Liam | 2 | -23/+55 | |
2023-12-27 | shader_recompiler: use default value for clip distances array | Liam | 1 | -7/+13 | |
2023-12-27 | shader_recompiler: respect clip distance limits in indexed store | Liam | 1 | -18/+28 | |
2023-12-22 | spirv_emit_context: Fix BaseInstance for OGL spirv | Ameer J | 1 | -1/+1 | |
2023-12-21 | shader_recompiler: use float image operations on load/store when required | Liam | 3 | -15/+31 | |
2023-12-19 | shader_recompiler: use minimal clip distance array | Liam | 1 | -1/+2 | |
2023-12-19 | shader_recompiler: ignore clip distances beyond driver support level | Liam | 2 | -1/+6 | |
2023-11-19 | renderer_vulkan: ignore viewport stores on non-supporting drivers | Liam | 2 | -1/+5 | |
2023-11-18 | shader_recompiler: Fix spelling of "derivate" (#12067) | Ameer J | 2 | -29/+29 | |
2023-11-01 | shader_recompiler: Align SSBO offsets in GlobalMemory functions | Ameer J | 1 | -1/+3 | |
2023-10-19 | Manually robust on Maxwell and earlier | Kelebek1 | 2 | -3/+56 | |
2023-09-22 | emit_spirv: fix incorrect use of descriptor index in image atomics | Liam | 2 | -13/+9 | |
2023-09-14 | shader_recompiler: skip sampler for buffer textures (#11435) | liamwhite | 3 | -6/+2 | |
2023-09-02 | shader_recompiler: always declare image format for image buffers | Liam | 1 | -1/+6 | |
2023-09-02 | shader_recompiler: fix emulation of 3D textureGrad | Liam | 1 | -2/+33 | |
2023-06-22 | Remove memory allocations in some hot paths | Kelebek1 | 2 | -2/+2 | |
2023-06-03 | video_core: Enable support_descriptor_aliasing on Turnip, disable storage atomic otherwise. | bunnei | 1 | -0/+10 | |
2023-06-03 | Avoid using VectorExtractDynamic for subgroup mask on Adreno GPUs | Billy Laws | 1 | -1/+16 | |
This crashes their shader compiler for some reason. | |||||
2023-06-03 | Implement scaled vertex buffer format emulation | Billy Laws | 3 | -49/+72 | |
These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead. | |||||
2023-05-11 | Fix Tears of the Kingdom flickering clouds and depths. | Kelebek1 | 1 | -6/+2 | |
2023-04-30 | Define SampleMask as an array | Kelebek1 | 2 | -2/+4 | |
2023-04-08 | shader_recompiler: Use vector arithmetic rather than component-wise in ImageGatherSubpixelOffset | Wollnashorn | 1 | -18/+9 | |
Should be more efficient and better readable | |||||
2023-04-08 | shader_recompiler: Add subpixel offset for correct rounding at `ImageGather` | Wollnashorn | 1 | -0/+39 | |
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). | |||||
2023-02-14 | remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency | arades79 | 1 | -1/+1 | |
Signed-off-by: arades79 <scravers@protonmail.com> | |||||
2023-02-14 | add static lifetime to constexpr values to force compile time evaluation where possible | arades79 | 1 | -1/+1 | |
Signed-off-by: arades79 <scravers@protonmail.com> | |||||
2023-01-29 | spirv: Fix TXQ with MSAA textures | ameerj | 3 | -8/+19 | |
2023-01-28 | shader_recompiler: TXQ: Skip QueryLevels when possible | ameerj | 2 | -3/+6 | |
2023-01-26 | shader_recompiler: Remove S32 IR type | ameerj | 2 | -5/+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 | |||||
2023-01-23 | spirv: fix multisampled image fetch | Liam | 2 | -2/+7 | |
2023-01-05 | Run clang-format | Billy Laws | 2 | -7/+9 | |
2023-01-05 | shader_recompiler: Fix shuffle partitioning for >64 invoc-per-subgroup GPUs | Billy Laws | 1 | -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. | |||||
2023-01-05 | shader_recompiler: SPIRV: Only enable int64 feature when supported | Billy Laws | 1 | -1/+1 | |
2023-01-05 | Vulkan: Add a workaround for input_position on Adreno drivers | Billy Laws | 3 | -11/+39 | |
Adreno drivers will crash compiling geometry shaders if the input position is not wrapped in a gl_in struct. | |||||
2023-01-04 | Video_core: Address feedback | Fernando Sahmkow | 3 | -0/+8 | |
2023-01-01 | MacroHLE: Add HLE replacement for base vertex and base instance. | Fernando Sahmkow | 2 | -0/+18 | |
2022-12-14 | Vulkan: Add support for VK_EXT_depth_clip_control. | FernandoS27 | 2 | -3/+4 | |
2022-12-14 | spirv_emit_context: declare GroupNonUniform capability for SubgroupLocalInvocationId | Liam | 1 | -0/+2 | |
2022-11-27 | Vulkan: update initialization | Liam | 3 | -19/+31 | |
Co-authored-by: bylaws <bylaws@users.noreply.github.com> | |||||
2022-11-19 | spirv_emit_context: add missing flat decoration | Liam | 1 | -0/+1 | |
2022-11-17 | shader: Implement miss attribute layer | FengChen | 2 | -0/+6 | |
2022-11-07 | video_core: Fix few issues in Tess stage | FengChen | 4 | -0/+18 | |
2022-11-04 | video_core: Fix SNORM texture buffer emulating error (#9001) | Feng Chen | 2 | -1/+6 | |
2022-09-20 | video_core: Generate mipmap texture by drawing | FengChen | 5 | -1/+51 | |
2022-08-25 | video_code: support rectangle texture | FengChen | 2 | -0/+2 | |
2022-07-29 | Add missed shader defines. Fixes Xenoblade Chronicles 3 booting with Vulkan. | Kelebek1 | 1 | -2/+3 | |
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 23 | -69/+46 | |
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-01 | shader_recompiler: support const buffer indirect addressing on OpenGL SPIR-V | Liam | 1 | -10/+11 | |
2022-03-22 | Include <bit> header when std::count{r,l}_zero is used | Billy Laws | 3 | -0/+4 | |
Needed for compilation with older libc++ releases | |||||
2022-03-20 | shader_recompiler: Reduce unused includes | ameerj | 16 | -18/+0 | |
2022-03-17 | Address review comments | Liam | 2 | -19/+7 | |
2022-03-17 | shader_recompiler: Use functions for indirect const buffer accesses | Liam | 3 | -39/+91 | |
2022-03-17 | Address review comments | Liam | 1 | -16/+15 | |
2022-03-15 | shader: add support for const buffer indirect addressing | Liam | 1 | -10/+41 | |
2022-03-12 | emit_spirv, vk_compute_pass: Resolve VS2022 compiler errors | ameerj | 1 | -1/+1 | |
2022-01-30 | shaders: Add U64->U32x2 Atomic fallback functions | ameerj | 2 | -1/+148 | |
2022-01-29 | spirv_atomic: Define U32x2 storage buffers for 64-bit storage atomics | ameerj | 1 | -2/+2 | |
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-28 | emit_spirv: Add Xfb execution mode when transform feedback is used | ameerj | 1 | -3/+9 | |
Fixes Transform Feedback on Vulkan AMD drivers. | |||||
2022-01-17 | shader_recompiler: fix potential OOB access | v1993 | 1 | -3/+4 | |
Found by static analysis with PVS-Studio. Original check wasn't actually checking for OOB and would segfault in case of it. | |||||
2021-12-30 | shader: Add integer attribute get optimization pass | ameerj | 2 | -0/+26 | |
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0. | |||||
2021-12-28 | Empty spaces | Matías Locatti | 1 | -1/+1 | |
2021-12-28 | Changes to avoid warnings in SSE4.2 optimized SPIR-V | Matías Locatti | 1 | -0/+9 | |
2021-12-18 | Remove spirv handle legacy related code | vonchenplus | 3 | -189/+0 | |
2021-12-06 | emit_spirv: Reduce emit_spirv.h include overhead | ameerj | 20 | -3/+20 | |
emit_spirv.h is included in video_core, which was propagating further includes that video_core did not depend on. | |||||
2021-12-06 | shader_recompiler: Adjust emit_context includes | ameerj | 2 | -2/+2 | |
2021-12-05 | shader_recompiler: Rename backend emit_context files | ameerj | 2 | -0/+0 | |
2021-11-16 | vulkan: Fix rescaling push constant usage | ameerj | 4 | -34/+36 | |
2021-11-16 | shader, video_core: Fix GCC build errors | ameerj | 1 | -4/+0 | |
2021-11-16 | emit_spirv: Fix RescalingLayout alignment | ameerj | 1 | -0/+1 | |
2021-11-16 | emit_spirv: Fix RescalingLayout alignment | ameerj | 1 | -2/+2 | |
2021-11-16 | shader: Properly scale image reads and add GL SPIR-V support | ReinUsesLisp | 6 | -44/+136 | |
Thanks for everything! | |||||
2021-11-16 | spirv: Implement rescaling patching | ReinUsesLisp | 5 | -5/+72 | |
2021-11-16 | shader: Add IsTextureScaled opcode | ReinUsesLisp | 2 | -0/+5 | |
2021-11-16 | shader: Add integer division opcodes | ReinUsesLisp | 2 | -0/+10 | |
2021-11-16 | shader: Add resolution down factor opcode | ReinUsesLisp | 2 | -0/+6 | |
2021-11-04 | Simply legacy attribute implement | Feng Chen | 3 | -152/+125 | |
2021-10-31 | Support gl_FogFragCoord attribute | vonchenplus | 3 | -48/+58 | |
2021-10-26 | Support gl_BackSecondaryColor attribute | vonchenplus | 3 | -0/+33 | |
2021-10-26 | Support gl_FrontSecondaryColor attribute | vonchenplus | 3 | -0/+33 | |
2021-10-26 | Support gl_BackColor attribute | vonchenplus | 3 | -0/+33 | |
2021-10-17 | emit_spirv_image: Fix depth image implicit lod sample in compute | ameerj | 1 | -5/+16 | |
Ensures all drivers behave the same way in this case. | |||||
2021-09-15 | Spir-V: Rescale the frag depth to 0,1 mode when -1,1 mode is used in Vulkan. | Fernando Sahmkow | 1 | -1/+7 | |
2021-09-08 | Detail adjustment | Feng Chen | 1 | -13/+14 | |
2021-09-08 | Detail adjustment | Feng Chen | 2 | -28/+35 | |
2021-09-07 | Re-implement get unused location | Feng Chen | 1 | -30/+30 | |
2021-09-07 | Move attribute related definitions to spirv anonymous namespace | Feng Chen | 2 | -5/+26 | |
2021-09-06 | Dynamic get unused location | Feng Chen | 1 | -27/+49 | |
2021-09-06 | Implement intput and output fixed fnc textures | Feng Chen | 3 | -19/+23 | |
2021-09-03 | Rename parameters | Feng Chen | 3 | -9/+9 | |
2021-09-03 | Fix create GraphicsPipelines crash | Feng Chen | 1 | -5/+5 | |
2021-09-02 | Add input/output location | Feng Chen | 1 | -5/+13 | |
2021-08-31 | emit_spirv_warp: Fix shuffle ops for 64-thread warp sizes | ameerj | 1 | -1/+29 | |
2021-08-31 | emit_spirv_warp: Fix ballot related ops for 64-thread warp sizes | ameerj | 1 | -10/+11 | |
2021-08-31 | Add colorfront and txtcoord support | Feng Chen | 3 | -0/+44 | |
2021-08-27 | emit_spirv_context_get_set: Fix Get FrontFace return value | ameerj | 1 | -2/+3 | |
The IR expects GetAttribute to return an F32 value. This case was returning a U32 instead. | |||||
2021-08-19 | SPIR-V: Merge two ifs in EmitGetAttribute | Valeri | 1 | -6/+2 | |
2021-07-26 | emit_spirv_instructions: Add missing header guard | Lioncash | 1 | -0/+2 | |
2021-07-23 | shader: Fix disabled attribute default values | ameerj | 1 | -1/+1 | |
2021-07-23 | shader_recompiler, video_core: Resolve clang errors | lat9nq | 1 | -5/+10 | |
Silences the following warnings-turned-errors: -Wsign-conversion -Wunused-private-field -Wbraced-scalar-init -Wunused-variable And some other errors | |||||
2021-07-23 | shader: Ignore global memory ops on devices lacking int64 support | ameerj | 2 | -7/+31 | |
2021-07-23 | emit_spirv: Workaround VK_KHR_shader_float_controls on fp16 Nvidia | ReinUsesLisp | 1 | -5/+8 | |
Fix regression on Fire Emblem: Three Houses when using native fp16. | |||||
2021-07-23 | shader: GCC fmt 8.0.0 fixes | lat9nq | 1 | -2/+3 | |
2021-07-23 | shader: Fix disabled and unwritten attributes and varyings | ReinUsesLisp | 1 | -1/+5 | |
2021-07-23 | spirv: Fix code emission when descriptor aliasing is unsupported | ReinUsesLisp | 1 | -1/+2 | |
Fixes OpenGL. | |||||
2021-07-23 | shader: Rework varyings and implement passthrough geometry shaders | ReinUsesLisp | 4 | -50/+70 | |
Put all varyings into a single std::bitset with helpers to access it. Implement passthrough geometry shaders using host's. | |||||
2021-07-23 | shader: Remove IAbs64 | ReinUsesLisp | 2 | -5/+0 | |
2021-07-23 | shader: Move loop safety tests to code emission | ReinUsesLisp | 3 | -11/+18 | |
2021-07-23 | spirv: Properly handle devices without int8 and int16 | ReinUsesLisp | 2 | -39/+67 | |
2021-07-23 | spirv: Handle small storage buffer loads on devices with no support | ReinUsesLisp | 2 | -6/+6 | |
2021-07-23 | shader: Properly manage attributes not written from previous stages | ReinUsesLisp | 2 | -1/+4 | |
2021-07-23 | shader: Split profile and runtime info headers | ReinUsesLisp | 1 | -0/+1 | |
2021-07-23 | spirv: Reduce log severity of mismatching denorm rules | ReinUsesLisp | 1 | -2/+2 | |
2021-07-23 | shader: Add logging | ReinUsesLisp | 4 | -11/+11 | |
2021-07-23 | shader: Add shader loop safety check settings | lat9nq | 2 | -8/+18 | |
Also add a setting for enable Nsight Aftermath. | |||||
2021-07-23 | spirv/convert: Catch more signed operations oversights | ameerj | 1 | -5/+5 | |
The sign bit on integers of size < 32 was not properly preserved in casts | |||||
2021-07-23 | spirv/convert: Catch more broken signed operations on Nvidia OpenGL | ReinUsesLisp | 1 | -0/+6 | |
BitCast U32 to S32 before converting to float on drivers with broken signed operations. | |||||
2021-07-23 | shader: Add support for "negative" and unaligned offsets | ReinUsesLisp | 1 | -6/+3 | |
"Negative" offsets don't exist. They are shown as such due to a bug in nvdisasm. Unaligned offsets have been proved to read the aligned offset. For example, when reading an U32, if the offset is 6, the offset read will be 4. | |||||
2021-07-23 | spirv: Fix output generics with components | ReinUsesLisp | 1 | -1/+1 | |
2021-07-23 | opengl: Declare fragment outputs even if they are not used | ReinUsesLisp | 1 | -1/+1 | |
Fixes Ori and the Blind Forest's menu on GLASM. For some reason (probably high level optimizations) it is not sanitized on SPIR-V for OpenGL. Vulkan is unaffected by this change. | |||||
2021-07-23 | spirv: Fix image and image buffer descriptor index usage | ReinUsesLisp | 1 | -5/+7 | |
2021-07-23 | shader: Split profile and runtime information in separate structs | ReinUsesLisp | 6 | -33/+42 | |
2021-07-23 | shader: Read branch conditions from an instruction | ReinUsesLisp | 2 | -2/+11 | |
Fixes the identity removal pass. | |||||
2021-07-23 | glasm: Implement TEX and TEXS instructions | ReinUsesLisp | 2 | -6/+6 | |
Remove lod clamp from texture instructions with lod, as this is not needed (nor supported). | |||||
2021-07-23 | shader_recompiler: GCC fixes | lat9nq | 1 | -16/+16 | |
Fixes members of unnamed union not being accessible, and one function without a declaration. | |||||
2021-07-23 | emit_spirv: Jump to loop body with local variable | ReinUsesLisp | 1 | -1/+1 | |
Silence unused variable warning | |||||
2021-07-23 | emit_spirv: Add missing block in case | ReinUsesLisp | 1 | -1/+2 | |
2021-07-23 | glasm: Initial implementation of phi nodes on GLASM | ReinUsesLisp | 2 | -2/+7 | |
2021-07-23 | glasm: Rework control flow introducing a syntax list | ReinUsesLisp | 5 | -49/+74 | |
This commit regresses VertexA shaders, their transformation pass has to be adapted to the new control flow. | |||||
2021-07-23 | glasm: Implement shuffle and vote instructions on GLASM | ReinUsesLisp | 2 | -2/+4 | |
2021-07-23 | shader: Fixup SPIR-V emit header namespaces | ReinUsesLisp | 1 | -2/+2 | |
2021-07-23 | Move SPIR-V emission functions to their own header | ReinUsesLisp | 22 | -572/+610 | |
2021-07-23 | shader: Optimize NVN Fallthrough | FernandoS27 | 1 | -0/+3 | |
2021-07-23 | shader: Implement Int32 SUATOM/SURED | ameerj | 5 | -0/+233 | |
2021-07-23 | spirv: Be aware of NAN unaware drivers | ReinUsesLisp | 1 | -18/+40 | |
2021-07-23 | spirv: Add SSBO read fallbacks when no aliasing is available | ReinUsesLisp | 1 | -37/+99 | |
2021-07-23 | spirv: Add OpKill fallback to demote | ReinUsesLisp | 1 | -2/+6 | |
2021-07-23 | spirv: Do not enable ShaderLayer | ReinUsesLisp | 1 | -3/+0 | |
This is enabled by an extension instead of the capability. | |||||
2021-07-23 | spirv: Enable DemoteToHelperInvocationEXT only when supported | ReinUsesLisp | 1 | -1/+1 | |
2021-07-23 | spirv: Use OriginLowerLeft when requested | ReinUsesLisp | 1 | -1/+5 | |
2021-07-23 | spirv: Only add image operands mask when needed | ReinUsesLisp | 1 | -5/+9 | |
2021-07-23 | spirv: Workaround image unsigned offset bug | ReinUsesLisp | 2 | -9/+26 | |
Workaround bug on Nvidia's OpenGL SPIR-V compiler when using unsigned texture offsets. | |||||
2021-07-23 | spirv: Add int8 and int16 capabilities only when supported | ReinUsesLisp | 1 | -2/+2 | |
2021-07-23 | spirv: Add integer clamping workarounds | ReinUsesLisp | 1 | -4/+34 | |
Workaround more bugs on Nvidia's OpenGL SPIR-V compiler. | |||||
2021-07-23 | spirv: Implement int8 and int16 conversion fallbacks | ReinUsesLisp | 1 | -19/+80 | |
2021-07-23 | spirv: Support OpenGL uniform buffers and change bindings | ReinUsesLisp | 5 | -56/+163 | |
2021-07-23 | spirv: Desambiguate descriptor names | ReinUsesLisp | 1 | -9/+37 | |
Worksaround a bug on Nvidia's OpenGL SPIR-V compiler where names are used for name matching. | |||||
2021-07-23 | shader: Implement VertexA stage | FernandoS27 | 2 | -0/+5 | |
2021-07-23 | shader: Fix storage type when reading patches on tess control | ReinUsesLisp | 1 | -1/+2 | |
2021-07-23 | shader: Implement indexed textures | ReinUsesLisp | 3 | -56/+92 | |
2021-07-23 | shader: Move microinstruction header to the value header | ReinUsesLisp | 2 | -2/+0 | |
2021-07-23 | shader: Add NVN storage buffer fallbacks | ReinUsesLisp | 5 | -24/+109 | |
When we can't track the SSBO origin of a global memory instruction, leave it as a global memory operation and assume these pointers are in the NVN storage buffer slots, then apply a linear search in the shader's runtime. | |||||
2021-07-23 | spirv: Fix ViewportMask | ReinUsesLisp | 1 | -1/+2 | |
2021-07-23 | spirv: Replace Constant/ConstantComposite with Const helper | ameerj | 12 | -112/+101 | |
2021-07-23 | shader: Address feedback | FernandoS27 | 2 | -5/+2 | |
2021-07-23 | shader: Add coarse derivatives | FernandoS27 | 2 | -0/+12 | |
2021-07-23 | shader: Implement fine derivates constant propagation | FernandoS27 | 3 | -0/+15 | |
2021-07-23 | shader: Implement SR_Y_DIRECTION | FernandoS27 | 2 | -0/+8 | |
2021-07-23 | shader: Fix memory barriers | ReinUsesLisp | 2 | -12/+7 | |
2021-07-23 | spirv: Fix implicit lod type | ReinUsesLisp | 2 | -1/+5 | |
2021-07-23 | spirv: Use explicit lods outside of fragment shaders | ReinUsesLisp | 1 | -5/+16 | |
2021-07-23 | spirv: Use ConstOffset instead of Offset when possible | ReinUsesLisp | 3 | -21/+67 | |
2021-07-23 | shader: Implement BFE and BFI CC | ameerj | 1 | -2/+1 | |
Fix two bugs in BFI. | |||||
2021-07-23 | shader: Implement SampleMask | ReinUsesLisp | 4 | -1/+10 | |
2021-07-23 | shader: Implement PIXLD.MY_INDEX | ReinUsesLisp | 5 | -0/+12 | |
2021-07-23 | spirv: Bitcast non-F32 output attributes to their type before store | ReinUsesLisp | 1 | -13/+28 | |
2021-07-23 | spirv: Implement ViewportMask with NV_viewport_array2 | ReinUsesLisp | 4 | -0/+15 | |
2021-07-23 | spirv: Bitcast non-F32 attributes to F32 | ReinUsesLisp | 1 | -7/+9 | |
2021-07-23 | shader: Implement PrimitiveId | ReinUsesLisp | 3 | -0/+6 | |
2021-07-23 | shader: Implement tessellation shaders, polygon mode and invocation id | ReinUsesLisp | 5 | -55/+232 | |
2021-07-23 | spirv: Implement image buffers | ReinUsesLisp | 3 | -22/+58 | |
2021-07-23 | spirv: Implement Layer stores | ReinUsesLisp | 4 | -9/+26 | |
2021-07-23 | spirv: Fix alpha test | FernandoS27 | 1 | -0/+5 | |
2021-07-23 | spirv: Fix non-atomic 64-bit store | ameerj | 1 | -1/+1 | |
2021-07-23 | spirv: Implement alpha test | ameerj | 1 | -0/+45 | |
2021-07-23 | shader: Implement transform feedbacks and define file format | ReinUsesLisp | 5 | -16/+97 | |
2021-07-23 | shader: Implement early Z tests | ReinUsesLisp | 1 | -0/+3 | |
2021-07-23 | spirv: Rework storage buffers and shader memory | ReinUsesLisp | 6 | -492/+487 | |
2021-07-23 | shader: Fix fixed pipeline point size on geometry shaders | ReinUsesLisp | 1 | -10/+18 | |
2021-07-23 | shader: Implement geometry shaders | ReinUsesLisp | 5 | -65/+163 | |
2021-07-23 | shader: Implement OUT | ReinUsesLisp | 2 | -0/+10 | |
2021-07-23 | spirv: Define StorageImageWriteWithoutFormat capability when used | ReinUsesLisp | 1 | -0/+3 | |
2021-07-23 | shader: Implement LOP CC | ReinUsesLisp | 2 | -9/+18 | |
2021-07-23 | shader: Implement SR_THREAD_KILL | ReinUsesLisp | 4 | -0/+9 | |
2021-07-23 | shader: Implement ATOM/S and RED | ameerj | 5 | -4/+800 | |
2021-07-23 | spirv: Move phi node patching to a separate function | ReinUsesLisp | 1 | -13/+16 | |
2021-07-23 | spirv: Guard against typeless image reads on unsupported devices | ReinUsesLisp | 2 | -1/+7 | |
2021-07-23 | shader: Move LaneId to the warp emission file and fix AMD | ReinUsesLisp | 3 | -5/+9 | |
2021-07-23 | spirv: Fix forward declarations on phi nodes | ReinUsesLisp | 1 | -47/+25 | |
2021-07-23 | shader: Implement SULD and SUST | ReinUsesLisp | 5 | -29/+130 | |
2021-07-23 | shader: Address feedback + clang format | lat9nq | 2 | -5/+0 | |
2021-07-23 | shader_recompiler,video_core: Cleanup some GCC and Clang errors | lat9nq | 4 | -14/+22 | |
Mostly fixing unused *, implicit conversion, braced scalar init, fpermissive, and some others. Some Clang errors likely remain in video_core, and std::ranges is still a pertinent issue in shader_recompiler shader_recompiler: cmake: Force bracket depth to 1024 on Clang Increases the maximum fold expression depth thread_worker: Include condition_variable Don't use list initializers in control flow Co-authored-by: ReinUsesLisp <reinuseslisp@airmail.cc> | |||||
2021-07-23 | shader: Interact texture buffers with buffer cache | ReinUsesLisp | 2 | -28/+28 | |
2021-07-23 | shader: Fix TextureGrad | ReinUsesLisp | 1 | -1/+1 | |
2021-07-23 | shader: Implement texture buffers | ReinUsesLisp | 4 | -5/+54 | |
2021-07-23 | shader: Address feedback | FernandoS27 | 1 | -20/+20 | |
2021-07-23 | shader: Implement indexed Position and ClipDistances | FernandoS27 | 1 | -0/+40 | |
2021-07-23 | shader: Implement indexed attributes | FernandoS27 | 4 | -6/+134 | |
2021-07-23 | shader: Fix ShadowCube declaration type, set number of pipeline threads based on hardware | FernandoS27 | 1 | -1/+1 | |
2021-07-23 | shader: Add subgroup masks | ReinUsesLisp | 4 | -10/+56 | |
2021-07-23 | shader: Implement BAR and fix memory barriers | ReinUsesLisp | 2 | -3/+13 | |
2021-07-23 | shader: Reimplement GetCbufU64 as GetCbufU32x2 | ReinUsesLisp | 4 | -6/+6 | |
It may generate better code on some compilers and it's easier to handle. | |||||
2021-07-23 | shader: Address Feedback | FernandoS27 | 6 | -71/+26 | |
2021-07-23 | shader: Implement SR_LaneId | FernandoS27 | 2 | -0/+5 | |
2021-07-23 | shader: Fix shared memory on cool drivers | FernandoS27 | 1 | -0/+1 | |
2021-07-23 | shader: Implement MEMBAR | FernandoS27 | 2 | -0/+41 | |
2021-07-23 | shader: Improve VOTE.VTG stub | FernandoS27 | 2 | -0/+40 | |
2021-07-23 | shader: Implement ViewportIndex | FernandoS27 | 4 | -2/+27 | |
2021-07-23 | shader: Stub TLD4's PTP when it isn't constant | FernandoS27 | 1 | -1/+2 | |
2021-07-23 | shader: Fix branches to visited virtual blocks | ReinUsesLisp | 1 | -0/+2 | |
2021-07-23 | shader: Fix dependency on identity removal pass | ReinUsesLisp | 2 | -3/+8 | |
2021-07-23 | spirv: Remove unnecesary variable for clip distances | ReinUsesLisp | 2 | -6/+2 | |
2021-07-23 | shader: Implement ClipDistance | FernandoS27 | 3 | -0/+25 | |
2021-07-23 | shader: Fix TXD | FernandoS27 | 1 | -1/+1 | |
2021-07-23 | shader: Address feedback | FernandoS27 | 1 | -15/+15 | |
2021-07-23 | shader: Implement ImageGradient | FernandoS27 | 2 | -1/+54 | |
2021-07-23 | shader: Implement TMML partially | FernandoS27 | 1 | -2/+2 | |
2021-07-23 | shader,spirv: Implement ImageQueryLod. | FernandoS27 | 4 | -0/+20 | |
2021-07-23 | shader: Implement TLD | FernandoS27 | 1 | -1/+1 | |
2021-07-23 | spirv: Add fixed pipeline point size | ReinUsesLisp | 2 | -1/+5 | |
2021-07-23 | shader: Add PointCoord attribute | FernandoS27 | 3 | -0/+11 | |
2021-07-23 | shader: Add PointSize attribute | ameerj | 3 | -0/+9 | |
2021-07-23 | shader: Store type of phi nodes in flags | ReinUsesLisp | 1 | -1/+2 | |
This is needed because pseudo-instructions where invalidated. | |||||
2021-07-23 | spirv: Fix default output attribute initialization | ReinUsesLisp | 1 | -3/+3 | |
2021-07-23 | shader: Implement FSWZADD | ameerj | 4 | -0/+27 | |
2021-07-23 | shader: Implement BRX | FernandoS27 | 3 | -2/+15 | |
2021-07-23 | shader: Implement I2I CC | ameerj | 2 | -21/+41 | |
2021-07-23 | shader: Implement I2I SAT | ameerj | 2 | -0/+10 | |
2021-07-23 | shader: Implement LDS, STS, LDL, and STS and use SPIR-V 1.4 when available | ReinUsesLisp | 5 | -1/+334 | |
2021-07-23 | shader: Better interpolation and disabled attributes support | ReinUsesLisp | 2 | -12/+46 | |
2021-07-23 | spirv: Remove dependencies on Environment when generating SPIR-V | ReinUsesLisp | 2 | -9/+7 | |
2021-07-23 | shader: Implement front face | ReinUsesLisp | 3 | -0/+8 | |
2021-07-23 | shader: Implement TXQ and fix FragDepth | ReinUsesLisp | 5 | -8/+64 | |
2021-07-23 | shader: Refactor PTP and other minor changes | ReinUsesLisp | 5 | -56/+46 | |
2021-07-23 | shader: Add IR opcode for ImageFetch | FernandoS27 | 3 | -3/+35 | |
2021-07-23 | shader: Implement TLD4.PTP | FernandoS27 | 5 | -9/+40 | |
2021-07-23 | shader: Implement FragDepth | FernandoS27 | 1 | -0/+6 | |
2021-07-23 | shader: Implement TLD4 and TLD4_B | FernandoS27 | 2 | -0/+48 | |
2021-07-23 | shader: Implement SHFL | ameerj | 5 | -60/+151 | |
2021-07-23 | shader: Fix F2I | FernandoS27 | 2 | -4/+19 | |
2021-07-23 | shader: Implement NDC [-1, 1], attribute types and default varying initialization | ReinUsesLisp | 5 | -39/+112 | |
2021-07-23 | shader: Implement VOTE | ameerj | 5 | -1/+77 | |
2021-07-23 | shader: Implement DMNMX, DSET, DSETP | ameerj | 3 | -18/+26 | |
2021-07-23 | shader: Add support for fp16 comparisons and misc fixes | ReinUsesLisp | 2 | -0/+10 | |
2021-07-23 | spirv: Implement VertexId and InstanceId, refactor code | ReinUsesLisp | 6 | -144/+234 | |
2021-07-23 | shader: Implement I2F | ReinUsesLisp | 4 | -0/+67 | |
2021-07-23 | shader: Add partial rasterizer integration | ReinUsesLisp | 6 | -50/+172 | |
2021-07-23 | shader: Implement DADD | ameerj | 1 | -0/+2 | |
2021-07-23 | shader: Implement FSET and FSETP | ameerj | 1 | -2/+4 | |
Also fix oversight with adding SignedZeroInfNanPreserve execution mode. | |||||
2021-07-23 | shader: Implement TEXS | ReinUsesLisp | 1 | -1/+10 | |
2021-07-23 | shader: Implement CAL inlining function calls | ReinUsesLisp | 2 | -15/+8 | |
2021-07-23 | spirv: Add SignedZeroInfNanPreserve logic | ameerj | 1 | -0/+6 | |
2021-07-23 | shader: Implement FMNMX | ameerj | 2 | -12/+12 | |
And add a const in FCMP | |||||
2021-07-23 | shader: Implement FCMP | ameerj | 2 | -0/+5 | |
still need to configure some settings for NV denorm flush and intel NaN | |||||
2021-07-23 | shader: Partial implementation of LDC | ReinUsesLisp | 4 | -25/+124 | |
2021-07-23 | shader: Initial support for textures and TEX | ReinUsesLisp | 7 | -5/+327 | |
2021-07-23 | shader: Implement R2P | ameerj | 3 | -3/+13 | |
2021-07-23 | shader: Implement SHF | ameerj | 2 | -9/+19 | |
2021-07-23 | shader: Implement LEA | ameerj | 3 | -3/+13 | |
2021-07-23 | shader: Implement HADD2 | ReinUsesLisp | 3 | -18/+98 | |
2021-07-23 | shader: Implement FLO | ameerj | 2 | -3/+13 | |
2021-07-23 | shader: Implement IMNMX | ameerj | 2 | -0/+20 | |
2021-07-23 | shader: Implement POPC | ameerj | 2 | -0/+10 | |
2021-07-23 | shader: Implement SHR | ameerj | 2 | -6/+11 | |
2021-07-23 | spirv: Move phi arguments emit to a separate function | ReinUsesLisp | 1 | -27/+27 | |
2021-07-23 | spirv: Add support for self-referencing phi nodes | ReinUsesLisp | 1 | -3/+10 | |
2021-07-23 | shader: Implement more of XMAD and FFMA32I and fix XMAD.CBCC | ReinUsesLisp | 2 | -6/+6 | |
2021-07-23 | shader: FMUL, select, RRO, and MUFU fixes | ReinUsesLisp | 3 | -52/+228 | |
2021-07-23 | shader: Fix MOV(reg), add SHL variants and emit neg and abs instructions | ReinUsesLisp | 2 | -6/+6 | |
2021-07-23 | spirv: Fixes and Intel specific workarounds | ReinUsesLisp | 6 | -20/+31 | |
2021-07-23 | shader: Rename, implement FADD.SAT and P2R (imm) | ReinUsesLisp | 4 | -79/+98 | |
2021-07-23 | shader: Add denorm flush support | ReinUsesLisp | 3 | -9/+64 | |
2021-07-23 | spirv: Add lower fp16 to fp32 pass | ReinUsesLisp | 12 | -210/+255 | |
2021-07-23 | shader: Primitive Vulkan integration | ReinUsesLisp | 13 | -467/+461 | |
2021-07-23 | spirv: Implement EmitIdentity | ReinUsesLisp | 2 | -3/+3 | |
2021-07-23 | spirv: Initial bindings support | ReinUsesLisp | 12 | -218/+408 | |
2021-07-23 | shader: Add support for forward declarations | ReinUsesLisp | 2 | -52/+49 | |
2021-07-23 | shader: Support SSA loops on IR | ReinUsesLisp | 3 | -15/+15 | |
2021-07-23 | shader: Misc fixes | ReinUsesLisp | 2 | -0/+11 | |
2021-07-23 | shader: Initial implementation of an AST | ReinUsesLisp | 5 | -41/+67 | |
2021-07-23 | spirv: Initial SPIR-V support | ReinUsesLisp | 12 | -3/+1359 | |
2021-07-23 | shader: Add pools and rename files | ReinUsesLisp | 1 | -0/+21 | |