Commit Graph

27 Commits (cb29aa04731e58ee78f8e0e66239c862fe9e559b)

Author SHA1 Message Date
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
liamwhite 208e635f37
Merge pull request #9694 from ameerj/txq-mips
shader_recompiler: TXQ: Skip QueryLevels when possible
3 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!
4 years ago
ReinUsesLisp c15332c44f shader: Add IsTextureScaled opcode 4 years ago
ReinUsesLisp 95761cc6a7 shader: Add integer division opcodes 4 years ago
ReinUsesLisp fb924ea85c shader: Add resolution down factor opcode 4 years ago
Lioncash c2915d9f2f emit_spirv_instructions: Add missing header guard 4 years ago
ReinUsesLisp 4397053d5c shader: Remove IAbs64 4 years ago
ReinUsesLisp 808ef97a08 shader: Move loop safety tests to code emission 4 years ago
lat9nq 373f75d944 shader: Add shader loop safety check settings
Also add a setting for enable Nsight Aftermath.
4 years ago
ReinUsesLisp 9bb3e008c9 shader: Read branch conditions from an instruction
Fixes the identity removal pass.
4 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).
4 years ago
ReinUsesLisp bf5e48ffe4 glasm: Initial implementation of phi nodes on GLASM 4 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.
4 years ago
ReinUsesLisp b725db8709 shader: Fixup SPIR-V emit header namespaces 4 years ago
ReinUsesLisp bed090807a Move SPIR-V emission functions to their own header 4 years ago