ameerj
4678f53463
shader_recompiler/value.h: Remove lingering references to S32
3 years ago
Levi Behunin
d5fc56db4b
Move to Clang Format 15
Depends on https://github.com/yuzu-emu/build-environments/pull/69
clang-15 primary run
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
Fernando Sahmkow
a0c697124c
Video_core: Address feedback
3 years ago
Fernando Sahmkow
aad0cbf024
MacroHLE: Add HLE replacement for base vertex and base instance.
4 years ago
ameerj
cae6c13ffb
value.h: remove recursive include
4 years ago
Liam
9737615948
general: fix compile for Apple Clang
4 years ago
FengChen
a4472b5526
video_core: Fix few issues in Tess stage
4 years ago
Feng Chen
75596c07e0
video_core: Fix SNORM texture buffer emulating error ( #9001 )
4 years ago
Feng Chen
165bce3c2d
Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"
4 years ago
FengChen
9a95c7fa14
video_core: Generate mipmap texture by drawing
4 years ago
FengChen
b2a6dde438
video_code: support rectangle texture
4 years ago
Lioncash
f981e90af3
general: Avoid ambiguous format_to compilation errors
Ensures that we're using the fmt version of format_to.
These are also the only three outliers. All of the other formatters we
have are properly qualified.
4 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
67159e3be7
dead_code_elimination_pass: Remove unreachable Phi arguments
4 years ago
ameerj
866b7c20a8
general: Fix clang/gcc build errors
4 years ago
ameerj
574a2c4b77
shader_recompiler: Reduce unused includes
4 years ago
ameerj
90a0506d56
lower_int64_to_int32: Add 64-bit atomic fallbacks
4 years ago
ameerj
ad58d7eae7
shaders: Add U64->U32x2 Atomic fallback functions
4 years ago
liushuyu
09f4f3f23b
logging/log.h: move enum class formatter to a separate file ...
... to common/logging/formatter.h
4 years ago
liushuyu
42f653ab6f
logging: adapt to changes in fmt 8.1
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
vonchenplus
6ebc972c2b
Remove spirv handle legacy related code
4 years ago
Feng Chen
4dd85f86a8
Implement convert legacy to generic
5 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
c892359d1b
shader: Add copy constructor to instructions
5 years ago
ReinUsesLisp
95761cc6a7
shader: Add integer division opcodes
5 years ago
ReinUsesLisp
fb924ea85c
shader: Add resolution down factor opcode
5 years ago
Fernando Sahmkow
194579bc4f
ShaderCache: Fix Phi Nodes Type on OGL.
5 years ago
Fernando Sahmkow
c50ad56bf5
ShaderCache: Order Phi Arguments from farthest away to nearest.
5 years ago
Feng Chen
9cdf2383e9
Move attribute related definitions to spirv anonymous namespace
5 years ago
Feng Chen
d994466a08
Implement intput and output fixed fnc textures
5 years ago
Feng Chen
a7bbaa4897
Rename parameters
5 years ago
Feng Chen
73b11f390e
Add colorfront and txtcoord support
5 years ago
Lioncash
06ca911621
shader_recompiler: Remove unnecessary [[nodiscard]] instances
[[nodiscard]] doesn't do anything on functions with a void return type
and causes superfluous warnings.
5 years ago
ReinUsesLisp
f6f0383b49
shader: Add TryInstRecursive utility to values
5 years ago
lat9nq
49946cf780
shader_recompiler, video_core: Resolve clang errors
Silences the following warnings-turned-errors:
-Wsign-conversion
-Wunused-private-field
-Wbraced-scalar-init
-Wunused-variable
And some other errors
5 years ago
ameerj
11f04f1022
shader: Ignore global memory ops on devices lacking int64 support
5 years ago
ReinUsesLisp
7dafa96ab5
shader: Rework varyings and implement passthrough geometry shaders
Put all varyings into a single std::bitset with helpers to access it.
Implement passthrough geometry shaders using host's.
5 years ago
ReinUsesLisp
4397053d5c
shader: Remove IAbs64
5 years ago
ReinUsesLisp
808ef97a08
shader: Move loop safety tests to code emission
5 years ago
ReinUsesLisp
61cd7dd301
shader: Add logging
5 years ago
lat9nq
373f75d944
shader: Add shader loop safety check settings
Also add a setting for enable Nsight Aftermath.
5 years ago
ReinUsesLisp
8f3043c3cf
Revert "glasm: Skip phi moves on undefined instructions"
Causes regressions on Bowser's Fury.
5 years ago
ReinUsesLisp
586c785366
glasm: Skip phi moves on undefined instructions
5 years ago
ReinUsesLisp
a49532c8eb
video_core,shader: Clang-format fixes
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