Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-07-26 | shader: Add TryInstRecursive utility to values | ReinUsesLisp | 1 | -0/+8 | |
2021-07-23 | shader_recompiler, video_core: Resolve clang errors | lat9nq | 1 | -1/+2 | |
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 | 1 | -14/+14 | |
2021-07-23 | shader: Rework varyings and implement passthrough geometry shaders | ReinUsesLisp | 2 | -0/+7 | |
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 | 3 | -11/+3 | |
2021-07-23 | shader: Move loop safety tests to code emission | ReinUsesLisp | 3 | -13/+0 | |
2021-07-23 | shader: Add logging | ReinUsesLisp | 1 | -1/+1 | |
2021-07-23 | shader: Add shader loop safety check settings | lat9nq | 3 | -2/+17 | |
Also add a setting for enable Nsight Aftermath. | |||||
2021-07-23 | Revert "glasm: Skip phi moves on undefined instructions" | ReinUsesLisp | 1 | -13/+0 | |
Causes regressions on Bowser's Fury. | |||||
2021-07-23 | glasm: Skip phi moves on undefined instructions | ReinUsesLisp | 1 | -0/+13 | |
2021-07-23 | video_core,shader: Clang-format fixes | ReinUsesLisp | 2 | -2/+2 | |
2021-07-23 | shader: Read branch conditions from an instruction | ReinUsesLisp | 4 | -5/+13 | |
Fixes the identity removal pass. | |||||
2021-07-23 | glasm: Implement TEX and TEXS instructions | ReinUsesLisp | 2 | -10/+6 | |
Remove lod clamp from texture instructions with lod, as this is not needed (nor supported). | |||||
2021-07-23 | shader_recompiler: GCC fixes | lat9nq | 2 | -8/+5 | |
Fixes members of unnamed union not being accessible, and one function without a declaration. | |||||
2021-07-23 | shader: Use a non-trivial dummy to construct ASL node union | ReinUsesLisp | 1 | -1/+6 | |
2021-07-23 | glasm: Initial implementation of phi nodes on GLASM | ReinUsesLisp | 5 | -7/+25 | |
2021-07-23 | glasm: Rework control flow introducing a syntax list | ReinUsesLisp | 14 | -225/+151 | |
This commit regresses VertexA shaders, their transformation pass has to be adapted to the new control flow. | |||||
2021-07-23 | shader: Add floating-point rounding to I2F | ReinUsesLisp | 2 | -34/+36 | |
2021-07-23 | glasm: Implement basic GLASM instructions | ReinUsesLisp | 1 | -0/+6 | |
2021-07-23 | glasm: Add GLASM backend infrastructure | ReinUsesLisp | 1 | -0/+6 | |
2021-07-23 | shader: Implement Int32 SUATOM/SURED | ameerj | 4 | -0/+186 | |
2021-07-23 | shader: Initial OpenGL implementation | ReinUsesLisp | 2 | -0/+5 | |
2021-07-23 | shader: Implement VertexA stage | FernandoS27 | 2 | -0/+2 | |
2021-07-23 | shader: Add missing UndoUse case for GetSparseFromOp | ReinUsesLisp | 1 | -0/+4 | |
2021-07-23 | shader: Simplify code in opcodes.h to fix Intellisense | ReinUsesLisp | 1 | -8/+6 | |
Avoid using std::array to fix Intellisense not properly compiling this code and disabling itself on all files that include it. While we are at it, change the code to use u8 instead of size_t for the number of instructions in an opcode. | |||||
2021-07-23 | shader: Implement indexed textures | ReinUsesLisp | 2 | -20/+21 | |
2021-07-23 | shader: Fix gcc warnings | ReinUsesLisp | 1 | -1/+1 | |
2021-07-23 | shader: Inline common Value getters | ReinUsesLisp | 2 | -109/+102 | |
2021-07-23 | shader: Intrusively store in a block if it's sealed or not | ReinUsesLisp | 1 | -0/+9 | |
2021-07-23 | shader: Use memset to reset instruction arguments | ReinUsesLisp | 2 | -4/+7 | |
2021-07-23 | shader: Inline common Value functions into the header | ReinUsesLisp | 2 | -19/+23 | |
2021-07-23 | shader: Move microinstruction header to the value header | ReinUsesLisp | 7 | -168/+152 | |
2021-07-23 | shader: Intrusively store register values in block for SSA pass | ReinUsesLisp | 1 | -0/+10 | |
2021-07-23 | shader: Inline common Opcode and Inst functions | ReinUsesLisp | 4 | -112/+83 | |
2021-07-23 | shader: Inline common IR::Block methods | ReinUsesLisp | 2 | -17/+12 | |
2021-07-23 | shader: Use a small_vector for phi blocks | ReinUsesLisp | 1 | -1/+2 | |
2021-07-23 | shader: Calculate number of arguments in an opcode at compile time | ReinUsesLisp | 1 | -3/+12 | |
2021-07-23 | shader: Add coarse derivatives | FernandoS27 | 3 | -0/+14 | |
2021-07-23 | shader: Implement fine derivates constant propagation | FernandoS27 | 3 | -0/+14 | |
2021-07-23 | shader: Implement SR_Y_DIRECTION | FernandoS27 | 3 | -0/+6 | |
2021-07-23 | shader: Fix Phi node types | ReinUsesLisp | 1 | -4/+0 | |
2021-07-23 | shader: Fix memory barriers | ReinUsesLisp | 5 | -30/+13 | |
2021-07-23 | shader: Implement SampleMask | ReinUsesLisp | 4 | -0/+7 | |
2021-07-23 | shader: Implement PIXLD.MY_INDEX | ReinUsesLisp | 3 | -0/+6 | |
2021-07-23 | shader: Implement tessellation shaders, polygon mode and invocation id | ReinUsesLisp | 10 | -20/+232 | |
2021-07-23 | shader: Implement transform feedbacks and define file format | ReinUsesLisp | 2 | -0/+9 | |
2021-07-23 | shader: Implement geometry shaders | ReinUsesLisp | 4 | -12/+26 | |
2021-07-23 | shader: Implement OUT | ReinUsesLisp | 4 | -0/+15 | |
2021-07-23 | shader: Implement SR_THREAD_KILL | ReinUsesLisp | 3 | -0/+7 | |
2021-07-23 | shader: Implement ATOM/S and RED | ameerj | 4 | -1/+374 | |
2021-07-23 | shader: Move LaneId to the warp emission file and fix AMD | ReinUsesLisp | 1 | -1/+1 | |
2021-07-23 | shader: Mark ImageWrite with side effects | ReinUsesLisp | 1 | -0/+3 | |
2021-07-23 | shader: Implement SULD and SUST | ReinUsesLisp | 4 | -9/+27 | |
2021-07-23 | shader: Address feedback + clang format | lat9nq | 1 | -1/+1 | |
2021-07-23 | shader_recompiler,video_core: Cleanup some GCC and Clang errors | lat9nq | 11 | -26/+24 | |
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: Address feedback | FernandoS27 | 2 | -4/+4 | |
2021-07-23 | shader: Implement indexed attributes | FernandoS27 | 2 | -0/+11 | |
2021-07-23 | shader: Add subgroup masks | ReinUsesLisp | 3 | -0/+30 | |
2021-07-23 | shader: Implement BAR and fix memory barriers | ReinUsesLisp | 4 | -0/+10 | |
2021-07-23 | shader: Abstract breadth searches and use the abstraction | ReinUsesLisp | 1 | -0/+57 | |
2021-07-23 | shader: Reimplement GetCbufU64 as GetCbufU32x2 | ReinUsesLisp | 3 | -6/+6 | |
It may generate better code on some compilers and it's easier to handle. | |||||
2021-07-23 | shader: Fix undetected bug from review | FernandoS27 | 1 | -0/+3 | |
2021-07-23 | shader: Address feedback | FernandoS27 | 1 | -1/+7 | |
2021-07-23 | shader: Address Feedback | FernandoS27 | 4 | -68/+18 | |
2021-07-23 | shader: Implement SR_LaneId | FernandoS27 | 3 | -0/+7 | |
2021-07-23 | shader: Implement MEMBAR | FernandoS27 | 4 | -0/+22 | |
2021-07-23 | shader: Improve VOTE.VTG stub | FernandoS27 | 3 | -2/+53 | |
2021-07-23 | shader: Stub VOTE.VTG | FernandoS27 | 1 | -0/+7 | |
2021-07-23 | shader: Unroll "using enum" for opcode declarations | ReinUsesLisp | 1 | -1/+27 | |
2021-07-23 | shader: Fix TXD | FernandoS27 | 1 | -1/+1 | |
2021-07-23 | shader: Always pass a lod for TexelFetch | ReinUsesLisp | 1 | -3/+3 | |
2021-07-23 | shader: Implement ImageGradient | FernandoS27 | 4 | -0/+15 | |
2021-07-23 | shader: Implement TMML partially | FernandoS27 | 2 | -3/+4 | |
2021-07-23 | shader,spirv: Implement ImageQueryLod. | FernandoS27 | 3 | -0/+11 | |
2021-07-23 | shader: Implement TLD | FernandoS27 | 1 | -3/+3 | |
2021-07-23 | shader: Store type of phi nodes in flags | ReinUsesLisp | 2 | -1/+9 | |
This is needed because pseudo-instructions where invalidated. | |||||
2021-07-23 | shader: Add missing new lines | ReinUsesLisp | 1 | -0/+2 | |
2021-07-23 | shader: Implement FSWZADD | ameerj | 3 | -0/+6 | |
2021-07-23 | shader: Implement BRX | FernandoS27 | 4 | -0/+20 | |
2021-07-23 | shader: Fix alignment checks on RZ | ReinUsesLisp | 1 | -1/+1 | |
2021-07-23 | shader: Implement I2I SAT | ameerj | 3 | -0/+12 | |
2021-07-23 | shader: Implement LDS, STS, LDL, and STS and use SPIR-V 1.4 when available | ReinUsesLisp | 5 | -0/+78 | |
2021-07-23 | shader: Implement VMAD, VMNMX, VSETP | ameerj | 2 | -10/+13 | |
2021-07-23 | spirv: Remove dependencies on Environment when generating SPIR-V | ReinUsesLisp | 1 | -0/+2 | |
2021-07-23 | shader: Fix structured control flow on KIL instructions | ReinUsesLisp | 1 | -0/+1 | |
This could potentially leave unvisited blocks, leading to illegal phi nodes. | |||||
2021-07-23 | shader: Implement TXQ and fix FragDepth | ReinUsesLisp | 3 | -0/+10 | |
2021-07-23 | shader: Refactor PTP and other minor changes | ReinUsesLisp | 6 | -31/+6 | |
2021-07-23 | shader: Add IR opcode for ImageFetch | FernandoS27 | 3 | -2/+15 | |
2021-07-23 | shader: Implement TLD4.PTP | FernandoS27 | 6 | -5/+36 | |
2021-07-23 | shader: Implement TLD4 and TLD4_B | FernandoS27 | 4 | -0/+26 | |
2021-07-23 | shader: Implement SHFL | ameerj | 5 | -2/+53 | |
2021-07-23 | shader: Fix F2I | FernandoS27 | 3 | -0/+22 | |
2021-07-23 | shader: Implement NDC [-1, 1], attribute types and default varying initialization | ReinUsesLisp | 4 | -0/+17 | |
2021-07-23 | shader: Implement VOTE | ameerj | 3 | -0/+27 | |
2021-07-23 | shader: Implement DMNMX, DSET, DSETP | ameerj | 2 | -0/+3 | |
2021-07-23 | shader: Implement F2F | FernandoS27 | 2 | -7/+8 | |
2021-07-23 | shader: Add support for fp16 comparisons and misc fixes | ReinUsesLisp | 3 | -7/+24 | |
2021-07-23 | shader: Implement I2F | ReinUsesLisp | 3 | -55/+117 | |
2021-07-23 | shader: Add partial rasterizer integration | ReinUsesLisp | 8 | -8/+34 | |
2021-07-23 | shader: Implement DADD | ameerj | 2 | -0/+9 | |
2021-07-23 | shader: Implement CSET and CSETP | ameerj | 3 | -7/+59 | |
2021-07-23 | shader: Fix instruction transitions in and out of Phi | ReinUsesLisp | 1 | -9/+11 | |
2021-07-23 | shader: Implement TEXS | ReinUsesLisp | 3 | -1/+13 | |
2021-07-23 | shader: Implement CAL inlining function calls | ReinUsesLisp | 6 | -802/+10 | |
2021-07-23 | shader: Implement FMNMX | ameerj | 2 | -0/+30 | |
And add a const in FCMP | |||||
2021-07-23 | shader: Fix rebase issue | ReinUsesLisp | 1 | -1/+0 | |
2021-07-23 | shader: Implement FCMP | ameerj | 3 | -33/+68 | |
still need to configure some settings for NV denorm flush and intel NaN | |||||
2021-07-23 | shader: Partial implementation of LDC | ReinUsesLisp | 3 | -2/+31 | |
2021-07-23 | shader: Initial support for textures and TEX | ReinUsesLisp | 9 | -305/+537 | |
2021-07-23 | shader: Implement R2P | ameerj | 2 | -0/+3 | |
2021-07-23 | shader: Implement SHF | ameerj | 3 | -6/+22 | |
2021-07-23 | shader: Implement LEA | ameerj | 3 | -6/+22 | |
2021-07-23 | shader: Implement HADD2 | ReinUsesLisp | 3 | -6/+105 | |
2021-07-23 | shader: Implement FLO | ameerj | 3 | -3/+15 | |
2021-07-23 | shader: Implement IMNMX | ameerj | 3 | -0/+25 | |
2021-07-23 | shader: Implement POPC | ameerj | 3 | -0/+12 | |
2021-07-23 | shader: Implement SHR | ameerj | 3 | -0/+6 | |
2021-07-23 | shader: Fix control flow | ReinUsesLisp | 5 | -16/+35 | |
2021-07-23 | shader: FMUL, select, RRO, and MUFU fixes | ReinUsesLisp | 3 | -28/+184 | |
2021-07-23 | spirv: Fixes and Intel specific workarounds | ReinUsesLisp | 1 | -3/+0 | |
2021-07-23 | shader: Rename, implement FADD.SAT and P2R (imm) | ReinUsesLisp | 2 | -10/+10 | |
2021-07-23 | shader: Add denorm flush support | ReinUsesLisp | 3 | -29/+34 | |
2021-07-23 | spirv: Add lower fp16 to fp32 pass | ReinUsesLisp | 6 | -39/+47 | |
2021-07-23 | shader: Primitive Vulkan integration | ReinUsesLisp | 2 | -1/+3 | |
2021-07-23 | shader: Add utility to resolve identities on a value | ReinUsesLisp | 2 | -0/+8 | |
2021-07-23 | spirv: Initial bindings support | ReinUsesLisp | 2 | -0/+18 | |
2021-07-23 | shader: Improve object pool | ReinUsesLisp | 1 | -5/+5 | |
2021-07-23 | shader: Add support for forward declarations | ReinUsesLisp | 6 | -13/+27 | |
2021-07-23 | shader: Support SSA loops on IR | ReinUsesLisp | 3 | -0/+62 | |
2021-07-23 | shader: Misc fixes | ReinUsesLisp | 3 | -9/+13 | |
2021-07-23 | shader: Initial implementation of an AST | ReinUsesLisp | 11 | -58/+914 | |
2021-07-23 | spirv: Initial SPIR-V support | ReinUsesLisp | 2 | -14/+10 | |
2021-07-23 | shader: Better constant folding | ReinUsesLisp | 1 | -1/+1 | |
2021-07-23 | shader: Properly store phi on Inst | ReinUsesLisp | 4 | -59/+115 | |
2021-07-23 | shader: Add pools and rename files | ReinUsesLisp | 10 | -24/+73 | |
2021-07-23 | shader: Make typed IR | ReinUsesLisp | 7 | -212/+389 | |
2021-07-23 | shader: Constant propagation and global memory to storage buffer | ReinUsesLisp | 9 | -25/+73 | |
2021-07-23 | shader: Initial instruction support | ReinUsesLisp | 8 | -65/+398 | |
2021-07-23 | shader: SSA and dominance | ReinUsesLisp | 11 | -19/+178 | |
2021-07-23 | shader: Initial recompiler work | ReinUsesLisp | 21 | -0/+3027 | |