Liam
cb29aa0473
Revert "shader_recompiler: use only ConstOffset for OpImageFetch"
This reverts commit f296a9ce9a .
2 years ago
Liam
f296a9ce9a
shader_recompiler: use only ConstOffset for OpImageFetch
2 years ago
Liam
2044a289f8
shader_recompiler: fix Offset operand usage for non-OpImage*Gather
2 years ago
Ameer J
feb60de5c3
shader_recompiler: Fix spelling of "derivate" ( #12067 )
2 years ago
ameerj
2c2e019a44
shader_recompiler: TXQ: Skip QueryLevels when possible
3 years ago
ameerj
93cc6e4d99
shader_recompiler: Remove S32 IR type
The frontend IR opcodes do not distinguish between signed and unsigned integer types.
Fixes broken shaders when IR validation/graphics debugging is enabled for shaders that used BitCastS32F32
3 years ago
FengChen
a4472b5526
video_core: Fix few issues in Tess stage
3 years ago
Feng Chen
75596c07e0
video_core: Fix SNORM texture buffer emulating error ( #9001 )
3 years ago
FengChen
9a95c7fa14
video_core: Generate mipmap texture by drawing
3 years ago
Morph
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.
4 years ago
ameerj
ad58d7eae7
shaders: Add U64->U32x2 Atomic fallback functions
4 years ago
ameerj
14ac0c2923
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
e66d5b88a6
shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
5 years ago
ReinUsesLisp
c15332c44f
shader: Add IsTextureScaled opcode
5 years ago
ReinUsesLisp
95761cc6a7
shader: Add integer division opcodes
5 years ago
ReinUsesLisp
fb924ea85c
shader: Add resolution down factor opcode
5 years ago
Lioncash
c2915d9f2f
emit_spirv_instructions: Add missing header guard
5 years ago
ReinUsesLisp
4397053d5c
shader: Remove IAbs64
5 years ago
ReinUsesLisp
808ef97a08
shader: Move loop safety tests to code emission
5 years ago
lat9nq
373f75d944
shader: Add shader loop safety check settings
Also add a setting for enable Nsight Aftermath.
5 years ago
ReinUsesLisp
9bb3e008c9
shader: Read branch conditions from an instruction
Fixes the identity removal pass.
5 years ago
ReinUsesLisp
ec6fc5fe78
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
bf5e48ffe4
glasm: Initial implementation of phi nodes on GLASM
5 years ago
ReinUsesLisp
d54d7de40e
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
b725db8709
shader: Fixup SPIR-V emit header namespaces
5 years ago
ReinUsesLisp
bed090807a
Move SPIR-V emission functions to their own header
5 years ago
ameerj
7ecc6de56a
shader: Implement Int32 SUATOM/SURED
5 years ago
ReinUsesLisp
48a17298d7
spirv: Support OpenGL uniform buffers and change bindings
5 years ago
FernandoS27
b541f5e5e3
shader: Implement VertexA stage
5 years ago
ReinUsesLisp
050e81500c
shader: Move microinstruction header to the value header
5 years ago
ReinUsesLisp
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.
5 years ago
FernandoS27
080857b60e
shader: Add coarse derivatives
5 years ago
FernandoS27
04c459fc8d
shader: Implement fine derivates constant propagation
5 years ago
FernandoS27
f18a6dd1bd
shader: Implement SR_Y_DIRECTION
5 years ago
ReinUsesLisp
0a0818c025
shader: Fix memory barriers
5 years ago
ReinUsesLisp
dbbd4b5496
spirv: Use ConstOffset instead of Offset when possible
5 years ago
ReinUsesLisp
80940b1706
shader: Implement SampleMask
5 years ago
ReinUsesLisp
95815a3883
shader: Implement PIXLD.MY_INDEX
5 years ago
ReinUsesLisp
183855e396
shader: Implement tessellation shaders, polygon mode and invocation id
5 years ago
ReinUsesLisp
fa75b9b062
spirv: Rework storage buffers and shader memory
5 years ago
ReinUsesLisp
f263760c5a
shader: Implement geometry shaders
5 years ago
ReinUsesLisp
a6cef71cc0
shader: Implement OUT
5 years ago
ReinUsesLisp
2ed80f6b1e
shader: Implement LOP CC
5 years ago
ReinUsesLisp
5c61e860e4
shader: Implement SR_THREAD_KILL
5 years ago
ameerj
3db2b3effa
shader: Implement ATOM/S and RED
5 years ago
ReinUsesLisp
9280cd649a
shader: Move LaneId to the warp emission file and fix AMD
5 years ago
ReinUsesLisp
7cb2ab3585
shader: Implement SULD and SUST
5 years ago
FernandoS27
1d51803169
shader: Implement indexed attributes
5 years ago
ReinUsesLisp
da6cf2632c
shader: Add subgroup masks
5 years ago
ReinUsesLisp
fc93bc2abd
shader: Implement BAR and fix memory barriers
5 years ago