ReinUsesLisp
002ecbea19
shader_ir/memory: Emit AL2P IR
7 years ago
ReinUsesLisp
2156e52014
shader_ir: Move Sampler index entry in operand< to sort declarations
7 years ago
ReinUsesLisp
b77b4b76bb
shader_ir: Add missing entry to Sampler operand< comparison
7 years ago
ReinUsesLisp
f43995ec53
shader_ir/decode: Fix half float pre-operations and remove MetaHalfArithmetic
Operations done before the main half float operation (like HAdd) were
managing a packed value instead of the unpacked one. Adding an unpacked
operation allows us to drop the per-operand MetaHalfArithmetic entry,
simplifying the code overall.
7 years ago
ReinUsesLisp
64613db605
shader_ir/decode: Implement half float saturation
7 years ago
ReinUsesLisp
acf618afbc
renderer_opengl: Implement half float NaN comparisons
7 years ago
ReinUsesLisp
5c280e6ff0
shader_ir: Implement STG, keep track of global memory usage and flush
7 years ago
Fernando Sahmkow
492040bd9c
Move ConstBufferAccessor to Maxwell3d, correct mistakes and clang format.
7 years ago
Fernando Sahmkow
fd4e994de3
Refactor GetTextureCode and GetTexCode to use an optional instead of optional parameters
7 years ago
Fernando Sahmkow
7af82ca022
Implement Bindless Handling on SetupTexture
7 years ago
Fernando Sahmkow
fe392fff24
Unify both sampler types.
7 years ago
Fernando Sahmkow
e28fd3d0a5
Implement Bindless Samplers and TEX_B in the IR.
7 years ago
ReinUsesLisp
cb68ce7c2f
shader_ir/decode: Implement AOFFI for TEX and TLD4
7 years ago
ReinUsesLisp
cf4ecc1945
shader_ir: Implement immediate register tracking
7 years ago
ReinUsesLisp
5ca63d0675
shader/decode: Remove extras from MetaTexture
7 years ago
ReinUsesLisp
48e6f77c03
shader/decode: Split memory and texture instructions decoding
7 years ago
ReinUsesLisp
889c646ac0
shader_ir: Remove F4 prefix to texture operations
This was originally included because texture operations returned a vec4.
These operations now return a single float and the F4 prefix doesn't
mean anything.
7 years ago
ReinUsesLisp
d62b0a9e29
shader_ir: Clean texture management code
Previous code relied on GLSL parameter order (something that's always
ill-formed on an IR design). This approach passes spatial coordiantes
through operation nodes and array and depth compare values in the the
texture metadata. It still contains an "extra" vector containing generic
nodes for bias and component index (for example) which is still a bit
ill-formed but it should be better than the previous approach.
7 years ago
ReinUsesLisp
cfb20c4c9d
gl_shader_disk_cache: Save GLSL and entries into the precompiled file
7 years ago
ReinUsesLisp
42b75e8be8
shader_ir: Rename BasicBlock to NodeBlock
It's not always used as a basic block. Rename it for consistency.
7 years ago
ReinUsesLisp
6a6fabea58
shader_ir: Pass decoded nodes as a whole instead of per basic blocks
Some games call LDG at the top of a basic block, making the tracking
heuristic to fail. This commit lets the heuristic the decoded nodes as a
whole instead of per basic blocks.
This may lead to some false positives but allows it the heuristic to
track cases it previously couldn't.
7 years ago
ReinUsesLisp
477d616f7d
shader_ir: Unify constant buffer offset values
Constant buffer values on the shader IR were using different offsets if
the access direct or indirect. cbuf34 has a non-multiplied offset while
cbuf36 does. On shader decoding this commit multiplies it by four on
cbuf34 queries.
7 years ago
ReinUsesLisp
3b84e04af1
shader_decode: Implement LDG and basic cbuf tracking
7 years ago
Lioncash
b2b98b2f44
shader/shader_ir: Amend three comment typos
Given we're in the area, these are three trivial typos that can be
corrected.
7 years ago
Lioncash
62e08c30b7
shader/shader_ir: Amend constructor initializer ordering for AbufNode
Orders the class members in the same order that they would actually be
initialized in. Gets rid of two compiler warnings.
7 years ago
ReinUsesLisp
170c8212bb
shader_ir: Pass to decoder functions basic block's code
7 years ago
ReinUsesLisp
2d6c064e66
shader_decode: Improve zero flag implementation
7 years ago
ReinUsesLisp
d911740e5d
shader_ir: Remove composite primitives and use temporals instead
7 years ago
ReinUsesLisp
50195b1704
shader_decode: Use proper primitive names
7 years ago
ReinUsesLisp
2faad9bf23
shader_decode: Use BitfieldExtract instead of shift + and
7 years ago
ReinUsesLisp
52223313b1
shader_ir: Remove Ipa primitive
7 years ago
ReinUsesLisp
d9118d324a
shader_ir: Remove RZ and use Register::ZeroIndex instead
7 years ago
ReinUsesLisp
5af82a8ed4
shader_decode: Implement TEXS.F16
7 years ago
ReinUsesLisp
e1fea1e0c5
video_core: Implement IR based geometry shaders
7 years ago
ReinUsesLisp
a1b845b651
shader_decode: Implement VMAD and VSETP
7 years ago
ReinUsesLisp
b11e0b94c7
shader_decode: Implement HSET2
7 years ago
ReinUsesLisp
2df55985b6
shader_decode: Rework HSETP2
7 years ago
ReinUsesLisp
dd91650aaf
shader_decode: Implement HFMA2
7 years ago
ReinUsesLisp
027f443e69
shader_decode: Implement POPC
7 years ago
ReinUsesLisp
55e6786254
shader_decode: Implement TLDS (untested)
7 years ago
ReinUsesLisp
ec98e4d842
shader_decode: Update TLD4 reflecting #1862 changes
7 years ago
ReinUsesLisp
03e088a4f4
shader_ir: Fixup TEX and TEXS and partially fix TLD4 decompiling
7 years ago
ReinUsesLisp
21aff36459
video_core: Address feedback
7 years ago
ReinUsesLisp
59b34b1d76
shader_ir: Fixup file inclusions and clang-format
7 years ago
Mat M
57a900cc45
shader_ir: Move comment node string
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
7 years ago
ReinUsesLisp
d4fae3a699
shader_ir: Address feedback to avoid UB in bit casting
7 years ago
ReinUsesLisp
a40fd07516
shader_decode: Implement LOP3
7 years ago
ReinUsesLisp
39f1c6246a
shader_decode: Implement LOP32I
7 years ago
ReinUsesLisp
2b90637f4b
shader_decode: Implement TEX and TXQ
7 years ago
ReinUsesLisp
878672f371
shader_decode: Implement TEXS (F32)
7 years ago