Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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 | |