summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/ast.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-12-05video_core: Resolve more variable shadowing scenarios pt.3Lioncash1-13/+18
Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors.
2020-09-22General: Make use of std::nullopt where applicableLioncash1-16/+9
Allows some implementations to avoid completely zeroing out the internal buffer of the optional, and instead only set the validity byte within the structure. This also makes it consistent how we return empty optionals.
2020-02-02shader: Remove curly braces initializers on shared pointersReinUsesLisp1-5/+5
2019-10-18video_core/shader/ast: Make ShowCurrentState() and SanityCheck() const member functionsLioncash1-2/+2
These can also trivially be made const member functions, with the addition of a few consts.
2019-10-18video_core/shader/ast: Make ASTManager::Print a const member functionLioncash1-1/+1
Given all visiting functions never modify the nodes, we can trivially make this a const member function.
2019-10-05video_core/ast: Unindent most of IsFullyDecompiled() by one levelLioncash1-12/+12
2019-10-05video_core/ast: Make ShowCurrentState() take a string_view instead of std::stringLioncash1-1/+1
Allows the function to be non-allocating in terms of the output string.
2019-10-05video_core/ast: Default the move constructor and assignment operatorLioncash1-2/+2
This is behaviorally equivalent and also fixes a bug where some members weren't being moved over.
2019-10-05video_core/{ast, expr}: Organize forward declarationLioncash1-7/+7
Keeps them alphabetically sorted for readability.
2019-10-05video_core/{ast, expr}: Use std::move where applicableLioncash1-14/+15
Avoids unnecessary atomic reference count increments and decrements.
2019-10-05video_core/ast: Supply const accessors for data where applicableLioncash1-2/+10
Provides const equivalents of data accessors for use within const contexts.
2019-10-05Shader_ir: Address feedbackFernando Sahmkow1-7/+5
2019-10-05Shader_Ir: Address Feedback and clang format.Fernando Sahmkow1-32/+33
2019-10-05Shader_IR: allow else derivation to be optional.Fernando Sahmkow1-1/+2
2019-10-05vk_shader_compiler: Implement the decompiler in SPIR-VFernando Sahmkow1-1/+21
2019-10-05Shader_IR: mark labels as unused for partial decompile.Fernando Sahmkow1-0/+8
2019-10-05Shader_Ir: Refactor Decompilation process and allow multiple decompilation modes.Fernando Sahmkow1-2/+18
2019-10-05gl_shader_decompiler: Implement AST decompilingFernando Sahmkow1-10/+8
2019-10-05shader_ir: Declare Manager and pass it to appropiate programs.Fernando Sahmkow1-40/+34
2019-10-05shader_ir: Corrections to outward movements and misc stuffsFernando Sahmkow1-6/+47
2019-10-05shader_ir: Add basic goto eliminationFernando Sahmkow1-22/+152
2019-10-05shader_ir: Initial Decompile SetupFernando Sahmkow1-0/+184