ReinUsesLisp
3d0f357307
shader/half_set_predicate: Fix HSETP2 for constant buffers
HSETP2 when used with a constant buffer parses the second operand type
as F32. This is not configurable.
6 years ago
ReinUsesLisp
632c9e4ee3
shader/half_set_predicate: Reduce DEBUG_ASSERT to LOG_DEBUG
6 years ago
ReinUsesLisp
58b597c5ec
gl_shader_disk_cache: Properly ignore existing cache
Previously old entries where appended to the file even if the shader
cache was ignored at boot. Address that issue.
6 years ago
Lioncash
f883cd4f0e
video_core/control_flow: Eliminate variable shadowing warnings
6 years ago
Lioncash
25702b6256
video_core/control_flow: Eliminate pessimizing moves
These can inhibit the ability of a compiler to perform RVO.
6 years ago
Lioncash
d82b181d44
video_core/ast: Unindent most of IsFullyDecompiled() by one level
6 years ago
Lioncash
6c41d1cd7e
video_core/ast: Make ShowCurrentState() take a string_view instead of std::string
Allows the function to be non-allocating in terms of the output string.
6 years ago
Lioncash
3c54edae24
video_core/ast: Eliminate variable shadowing warnings
6 years ago
Lioncash
5a0a9c7449
video_core/ast: Replace std::string with a constexpr std::string_view
Same behavior, but without the need to heap allocate
6 years ago
Lioncash
3a20d9734f
video_core/ast: Default the move constructor and assignment operator
This is behaviorally equivalent and also fixes a bug where some members
weren't being moved over.
6 years ago
Lioncash
43503a69bf
video_core/{ast, expr}: Organize forward declaration
Keeps them alphabetically sorted for readability.
6 years ago
Lioncash
50ad745585
video_core/expr: Supply operator!= along with operator==
Provides logical symmetry to the interface.
6 years ago
Lioncash
8eb1398f8d
video_core/{ast, expr}: Use std::move where applicable
Avoids unnecessary atomic reference count increments and decrements.
6 years ago
Lioncash
8e0c80f269
video_core/ast: Supply const accessors for data where applicable
Provides const equivalents of data accessors for use within const
contexts.
6 years ago
Fernando Sahmkow
ab47a660c8
Texture_Cache: Blit Deduction corrections and simplifications.
6 years ago
Fernando Sahmkow
2036504a82
TextureCache: Add the ability to deduce if two textures are depth on blit.
6 years ago
Fernando Sahmkow
e6eae4b815
Shader_ir: Address feedback
6 years ago
Fernando Sahmkow
3c09d9abe6
Shader_Ir: Address Feedback and clang format.
6 years ago
Fernando Sahmkow
507a9c6a40
vk_shader_decompiler: Correct Branches inside conditionals.
6 years ago
Fernando Sahmkow
000ad558dd
vk_shader_decompiler: Clean code and be const correct.
6 years ago
Fernando Sahmkow
7c756baa77
Shader_IR: clean up AST handling and add documentation.
6 years ago
Fernando Sahmkow
5ea740beb5
Shader_IR: Correct OutwardMoves for Ifs
6 years ago
Fernando Sahmkow
100a4bd988
vk_shader_compiler: Don't enclose branches with if(true) to avoid crashing AMD
6 years ago
Fernando Sahmkow
189a50bc2a
gl_shader_decompiler: Refactor and address feedback.
6 years ago
Fernando Sahmkow
b3c46d6948
Shader_IR: corrections and clang-format
6 years ago
Fernando Sahmkow
466cd52ad4
vk_shader_compiler: Correct SPIR-V AST Decompiling
6 years ago
Fernando Sahmkow
2e9a810423
Shader_IR: allow else derivation to be optional.
6 years ago
Fernando Sahmkow
ca9901867e
vk_shader_compiler: Implement the decompiler in SPIR-V
6 years ago
Fernando Sahmkow
0366c18d87
Shader_IR: mark labels as unused for partial decompile.
6 years ago
Fernando Sahmkow
47e4f6a52c
Shader_Ir: Refactor Decompilation process and allow multiple decompilation modes.
6 years ago
Fernando Sahmkow
38fc995f6c
gl_shader_decompiler: Implement AST decompiling
7 years ago
Fernando Sahmkow
6fdd501113
shader_ir: Declare Manager and pass it to appropiate programs.
7 years ago
Fernando Sahmkow
8be6e1c522
shader_ir: Corrections to outward movements and misc stuffs
7 years ago
Fernando Sahmkow
4fde66e609
shader_ir: Add basic goto elimination
7 years ago
Fernando Sahmkow
c17953978b
shader_ir: Initial Decompile Setup
7 years ago
ReinUsesLisp
f926230ab1
gl_shader_decompiler: Add tailing return for HUnpack2
6 years ago
ReinUsesLisp
25bfaffdff
gl_shader_decompiler: Fix clang build issues
6 years ago
Fernando Sahmkow
68f5aff64f
Maxwell3D: Corrections and refactors to MME instance refactor
6 years ago
FearlessTobi
01fc969a5f
Fix clang-format
6 years ago
FearlessTobi
366e900376
fermi_2d: Lower surface copy log severity to DEBUG
6 years ago
FearlessTobi
55d272efe6
video_core: Implement RGBX16F PixelFormat
6 years ago
ReinUsesLisp
44000971e2
gl_shader_decompiler: Use uint for images and fix SUATOM
In the process remove implementation of SUATOM.MIN and SUATOM.MAX as
these require a distinction between U32 and S32. These have to be
implemented with imageCompSwap loop.
6 years ago
ReinUsesLisp
675f23aedc
shader/image: Implement SULD and remove irrelevant code
* Implement SULD as float.
* Remove conditional declaration of GL_ARB_shader_viewport_layer_array.
6 years ago
ReinUsesLisp
4de0f1e1c8
shader_bytecode: Add SULD encoding
6 years ago
Fernando Sahmkow
527b841c15
Shader_IR: ICMP corrections and fixes
6 years ago
David Marcec
01a4afee42
Mark DrawArrays as LOG_TRACE
There's no reason to clog logs with DrawArray.
6 years ago
Fernando Sahmkow
433e764bb0
Rasterizer: Correct introduced bug where a conditional render wouldn't stop a draw call from executing
6 years ago
Fernando Sahmkow
4b81d19a1a
Shader_IR: Implement ICMP.
6 years ago
Fernando Sahmkow
7761e44d18
Rasterizer: Refactor and simplify DrawBatch Interface.
6 years ago
Fernando Sahmkow
d2ea592ddb
Rasterizer: Address Feedback and conscerns.
6 years ago