ameerj
2d2558797c
shader_recompiler: TXQ: Skip QueryLevels when possible
3 years ago
FengChen
348c6e5b28
video_core: Fix few issues in Tess stage
3 years ago
Feng Chen
bcf6a7c0dd
video_core: Fix SNORM texture buffer emulating error ( #9001 )
3 years ago
FengChen
38e9c78843
video_core: Generate mipmap texture by drawing
3 years ago
Morph
2b87305d31
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.
4 years ago
ameerj
0c5e641757
shaders: Add U64->U32x2 Atomic fallback functions
4 years ago
ameerj
22a4d26479
shader: Add integer attribute get optimization pass
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
4 years ago
ReinUsesLisp
d04e2dac6c
shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
5 years ago
ReinUsesLisp
7f88938d72
shader: Add IsTextureScaled opcode
5 years ago
ReinUsesLisp
8cfa8cda16
shader: Add integer division opcodes
5 years ago
ReinUsesLisp
47d1d881cf
shader: Add resolution down factor opcode
5 years ago
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