99ceb03a1c
general: Convert source file copyright comments over to SPDX
...
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-23 05:55:32 -04:00
574a2c4b77
shader_recompiler: Reduce unused includes
2022-03-20 02:25:08 -04:00
7105204a7e
emit_spirv: Reduce emit_spirv.h include overhead
...
emit_spirv.h is included in video_core, which was propagating further includes that video_core did not depend on.
2021-12-05 18:11:19 -05:00
95761cc6a7
shader: Add integer division opcodes
2021-11-16 22:11:28 +01:00
4397053d5c
shader: Remove IAbs64
2021-07-22 21:51:39 -04:00
bed090807a
Move SPIR-V emission functions to their own header
2021-07-22 21:51:30 -04:00
33bebc3412
spirv: Add integer clamping workarounds
...
Workaround more bugs on Nvidia's OpenGL SPIR-V compiler.
2021-07-22 21:51:29 -04:00
7018e524f5
shader: Add NVN storage buffer fallbacks
...
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-22 21:51:28 -04:00
5b8afed871
spirv: Replace Constant/ConstantComposite with Const helper
2021-07-22 21:51:28 -04:00
2ed80f6b1e
shader: Implement LOP CC
2021-07-22 21:51:27 -04:00
73af0d2e0d
shader: Implement I2I CC
2021-07-22 21:51:25 -04:00
dbc1e5cde7
shader: Implement I2I SAT
2021-07-22 21:51:25 -04:00
f91859efd2
shader: Implement I2F
2021-07-22 21:51:23 -04:00
7d6ba5b984
shader: Implement R2P
2021-07-22 21:51:23 -04:00
924f0a9149
shader: Implement SHF
2021-07-22 21:51:23 -04:00
5465cb1561
shader: Implement LEA
2021-07-22 21:51:23 -04:00
103b9da4f7
shader: Implement FLO
2021-07-22 21:51:23 -04:00
20390c0548
shader: Implement IMNMX
2021-07-22 21:51:22 -04:00
a8c41c50d3
shader: Implement POPC
2021-07-22 21:51:22 -04:00
cc55d28949
shader: Implement SHR
2021-07-22 21:51:22 -04:00
9d6a98d950
shader: Implement more of XMAD and FFMA32I and fix XMAD.CBCC
2021-07-22 21:51:22 -04:00
18a766b362
shader: Fix MOV(reg), add SHL variants and emit neg and abs instructions
2021-07-22 21:51:22 -04:00
704c6f353f
shader: Rename, implement FADD.SAT and P2R (imm)
2021-07-22 21:51:22 -04:00
6db69990da
spirv: Add lower fp16 to fp32 pass
2021-07-22 21:51:22 -04:00
85cce78583
shader: Primitive Vulkan integration
2021-07-22 21:51:22 -04:00
b5d7279d87
spirv: Initial bindings support
2021-07-22 21:51:22 -04:00
cbfb7d182a
shader: Support SSA loops on IR
2021-07-22 21:51:22 -04:00
2930dccecc
spirv: Initial SPIR-V support
2021-07-22 21:51:22 -04:00