Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | decode/register_set_predicate: Implement CC | ReinUsesLisp | 2020-04-26 | 1 | -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. | ||||
* | decode/register_set_predicate: Use move for shared pointers | ReinUsesLisp | 2020-04-26 | 1 | -16/+17 |
| | | | | Avoid atomic counters used by shared pointers. | ||||
* | shader/p2r: Implement P2R Pr | ReinUsesLisp | 2019-12-20 | 1 | -1/+15 |
| | | | | | P2R dumps predicate or condition codes state to a register. This is useful for unit testing. | ||||
* | shader/r2p: Refactor P2R to support P2R | ReinUsesLisp | 2019-12-20 | 1 | -16/+30 |
| | |||||
* | shader: Use shared_ptr to store nodes and move initialization to file | ReinUsesLisp | 2019-06-06 | 1 | -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. | ||||
* | shader/decode/*: Add missing newline to files lacking them | Lioncash | 2019-05-23 | 1 | -1/+1 |
| | | | | Keeps the shader code file endings consistent. | ||||
* | shader_ir: Rename BasicBlock to NodeBlock | ReinUsesLisp | 2019-02-03 | 1 | -1/+1 |
| | | | | It's not always used as a basic block. Rename it for consistency. | ||||
* | shader_ir: Pass decoded nodes as a whole instead of per basic blocks | ReinUsesLisp | 2019-02-03 | 1 | -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. | ||||
* | shader_ir: Pass to decoder functions basic block's code | ReinUsesLisp | 2019-01-15 | 1 | -1/+1 |
| | |||||
* | shader_decode: Use BitfieldExtract instead of shift + and | ReinUsesLisp | 2019-01-15 | 1 | -7/+5 |
| | |||||
* | shader_decode: Fixup R2P | ReinUsesLisp | 2019-01-15 | 1 | -2/+3 |
| | |||||
* | shader_decode: Fixup clang-format | ReinUsesLisp | 2019-01-15 | 1 | -1/+2 |
| | |||||
* | shader_decode: Implement R2P | ReinUsesLisp | 2019-01-15 | 1 | -1/+28 |
| | |||||
* | shader_ir: Initial implementation | ReinUsesLisp | 2019-01-15 | 1 | -0/+24 |