Lioncash
0692818106
emit_spirv_instructions: Add missing header guard
5 years ago
ReinUsesLisp
f158fe9359
shader: Remove IAbs64
5 years ago
ReinUsesLisp
04c1dca457
shader: Move loop safety tests to code emission
5 years ago
lat9nq
3a70b6c79b
shader: Add shader loop safety check settings
Also add a setting for enable Nsight Aftermath.
5 years ago
ReinUsesLisp
5c6dc51c69
shader: Read branch conditions from an instruction
Fixes the identity removal pass.
5 years ago
ReinUsesLisp
0b3a3f35e8
glasm: Implement TEX and TEXS instructions
Remove lod clamp from texture instructions with lod, as this is not
needed (nor supported).
5 years ago
ReinUsesLisp
f2ae32fa76
glasm: Initial implementation of phi nodes on GLASM
5 years ago
ReinUsesLisp
03f6d424ce
glasm: Rework control flow introducing a syntax list
This commit regresses VertexA shaders, their transformation pass has to
be adapted to the new control flow.
5 years ago
ReinUsesLisp
75adb54e79
shader: Fixup SPIR-V emit header namespaces
5 years ago
ReinUsesLisp
055db41f19
Move SPIR-V emission functions to their own header
5 years ago
ameerj
455872a4af
shader: Implement Int32 SUATOM/SURED
5 years ago
ReinUsesLisp
884a937022
spirv: Support OpenGL uniform buffers and change bindings
5 years ago
FernandoS27
a2fac91c47
shader: Implement VertexA stage
5 years ago
ReinUsesLisp
6236b611cf
shader: Move microinstruction header to the value header
5 years ago
ReinUsesLisp
e54171c1a9
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.
5 years ago
FernandoS27
2f01c7fb62
shader: Add coarse derivatives
5 years ago
FernandoS27
b1e325f317
shader: Implement fine derivates constant propagation
5 years ago
FernandoS27
6c60109967
shader: Implement SR_Y_DIRECTION
5 years ago
ReinUsesLisp
6d540c6f2e
shader: Fix memory barriers
5 years ago
ReinUsesLisp
f771d1fc52
spirv: Use ConstOffset instead of Offset when possible
5 years ago
ReinUsesLisp
ad1507b4a5
shader: Implement SampleMask
5 years ago
ReinUsesLisp
cc96469019
shader: Implement PIXLD.MY_INDEX
5 years ago
ReinUsesLisp
38908d0f7e
shader: Implement tessellation shaders, polygon mode and invocation id
5 years ago
ReinUsesLisp
c84c2ab88c
spirv: Rework storage buffers and shader memory
5 years ago
ReinUsesLisp
4b32692423
shader: Implement geometry shaders
5 years ago
ReinUsesLisp
40948b18ac
shader: Implement OUT
5 years ago
ReinUsesLisp
4678dc7246
shader: Implement LOP CC
5 years ago
ReinUsesLisp
879fb08101
shader: Implement SR_THREAD_KILL
5 years ago
ameerj
62c3bef607
shader: Implement ATOM/S and RED
5 years ago
ReinUsesLisp
8ec58e16b2
shader: Move LaneId to the warp emission file and fix AMD
5 years ago
ReinUsesLisp
5ab1ac4f29
shader: Implement SULD and SUST
5 years ago
FernandoS27
1fe6a22cff
shader: Implement indexed attributes
5 years ago
ReinUsesLisp
ba2130d5a5
shader: Add subgroup masks
5 years ago
ReinUsesLisp
b580c1e208
shader: Implement BAR and fix memory barriers
5 years ago
ReinUsesLisp
9db035faec
shader: Reimplement GetCbufU64 as GetCbufU32x2
It may generate better code on some compilers and it's easier to handle.
5 years ago
FernandoS27
741b21715a
shader: Address Feedback
5 years ago
FernandoS27
5a6eb31578
shader: Implement SR_LaneId
5 years ago
FernandoS27
a9f79b6553
shader: Implement MEMBAR
5 years ago
FernandoS27
5c94fba511
shader: Improve VOTE.VTG stub
5 years ago
FernandoS27
be5936dea2
shader: Implement ImageGradient
5 years ago
FernandoS27
56c8c42cf8
shader,spirv: Implement ImageQueryLod.
5 years ago
ameerj
d5d6d4ce74
shader: Implement FSWZADD
5 years ago
FernandoS27
bf9d512e17
shader: Implement BRX
5 years ago
ameerj
a0a4d75c6c
shader: Implement I2I CC
5 years ago
ameerj
f3ec28dc23
shader: Implement I2I SAT
5 years ago
ReinUsesLisp
6044946495
shader: Implement LDS, STS, LDL, and STS and use SPIR-V 1.4 when available
5 years ago
ReinUsesLisp
96a54aeea8
spirv: Remove dependencies on Environment when generating SPIR-V
5 years ago
ReinUsesLisp
e4ba306750
shader: Implement TXQ and fix FragDepth
5 years ago
ReinUsesLisp
4cd2c1588b
shader: Refactor PTP and other minor changes
5 years ago
FernandoS27
ac81f51141
shader: Add IR opcode for ImageFetch
5 years ago