summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/ast.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* video_core: Resolve more variable shadowing scenarios pt.3Lioncash2020-12-051-13/+18
| | | | | Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors.
* General: Make use of std::nullopt where applicableLioncash2020-09-221-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.
* shader: Remove curly braces initializers on shared pointersReinUsesLisp2020-02-021-5/+5
|
* video_core/shader/ast: Make ShowCurrentState() and SanityCheck() const member functionsLioncash2019-10-181-2/+2
| | | | | These can also trivially be made const member functions, with the addition of a few consts.
* video_core/shader/ast: Make ASTManager::Print a const member functionLioncash2019-10-181-1/+1
| | | | | Given all visiting functions never modify the nodes, we can trivially make this a const member function.
* video_core/ast: Unindent most of IsFullyDecompiled() by one levelLioncash2019-10-051-12/+12
|
* video_core/ast: Make ShowCurrentState() take a string_view instead of std::stringLioncash2019-10-051-1/+1
| | | | Allows the function to be non-allocating in terms of the output string.
* video_core/ast: Default the move constructor and assignment operatorLioncash2019-10-051-2/+2
| | | | | This is behaviorally equivalent and also fixes a bug where some members weren't being moved over.
* video_core/{ast, expr}: Organize forward declarationLioncash2019-10-051-7/+7
| | | | Keeps them alphabetically sorted for readability.
* video_core/{ast, expr}: Use std::move where applicableLioncash2019-10-051-14/+15
| | | | Avoids unnecessary atomic reference count increments and decrements.
* video_core/ast: Supply const accessors for data where applicableLioncash2019-10-051-2/+10
| | | | | Provides const equivalents of data accessors for use within const contexts.
* Shader_ir: Address feedbackFernando Sahmkow2019-10-051-7/+5
|
* Shader_Ir: Address Feedback and clang format.Fernando Sahmkow2019-10-051-32/+33
|
* Shader_IR: allow else derivation to be optional.Fernando Sahmkow2019-10-051-1/+2
|
* vk_shader_compiler: Implement the decompiler in SPIR-VFernando Sahmkow2019-10-051-1/+21
|
* Shader_IR: mark labels as unused for partial decompile.Fernando Sahmkow2019-10-051-0/+8
|
* Shader_Ir: Refactor Decompilation process and allow multiple decompilation modes.Fernando Sahmkow2019-10-051-2/+18
|
* gl_shader_decompiler: Implement AST decompilingFernando Sahmkow2019-10-051-10/+8
|
* shader_ir: Declare Manager and pass it to appropiate programs.Fernando Sahmkow2019-10-051-40/+34
|
* shader_ir: Corrections to outward movements and misc stuffsFernando Sahmkow2019-10-051-6/+47
|
* shader_ir: Add basic goto eliminationFernando Sahmkow2019-10-051-22/+152
|
* shader_ir: Initial Decompile SetupFernando Sahmkow2019-10-051-0/+184