summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode/register_set_predicate.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-07-23shader: Remove old shader managementReinUsesLisp1-86/+0
2020-04-26decode/register_set_predicate: Implement CCReinUsesLisp1-9/+14
P2R CC takes the state of condition codes and puts them into a register. We already have this implemented for PR (predicates). This commit implements CC over that.
2020-04-26decode/register_set_predicate: Use move for shared pointersReinUsesLisp1-16/+17
Avoid atomic counters used by shared pointers.
2019-12-20shader/p2r: Implement P2R PrReinUsesLisp1-1/+15
P2R dumps predicate or condition codes state to a register. This is useful for unit testing.
2019-12-20shader/r2p: Refactor P2R to support P2RReinUsesLisp1-16/+30
2019-06-06shader: Use shared_ptr to store nodes and move initialization to fileReinUsesLisp1-0/+1
Instead of having a vector of unique_ptr stored in a vector and returning star pointers to this, use shared_ptr. While changing initialization code, move it to a separate file when possible. This is a first step to allow code analysis and node generation beyond the ShaderIR class.
2019-05-23shader/decode/*: Add missing newline to files lacking themLioncash1-1/+1
Keeps the shader code file endings consistent.
2019-02-03shader_ir: Rename BasicBlock to NodeBlockReinUsesLisp1-1/+1
It's not always used as a basic block. Rename it for consistency.
2019-02-03shader_ir: Pass decoded nodes as a whole instead of per basic blocksReinUsesLisp1-1/+1
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.
2019-01-15shader_ir: Pass to decoder functions basic block's codeReinUsesLisp1-1/+1
2019-01-15shader_decode: Use BitfieldExtract instead of shift + andReinUsesLisp1-7/+5
2019-01-15shader_decode: Fixup R2PReinUsesLisp1-2/+3
2019-01-15shader_decode: Fixup clang-formatReinUsesLisp1-1/+2
2019-01-15shader_decode: Implement R2PReinUsesLisp1-1/+28
2019-01-15shader_ir: Initial implementationReinUsesLisp1-0/+24