Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-03-28 | shader/lea: Simplify generated LEA code | ReinUsesLisp | 1 | -3/+2 | |
2020-03-27 | shader/lea: Fix op_a and op_b usages | ReinUsesLisp | 1 | -2/+2 | |
They were swapped. | |||||
2020-03-27 | shader/lea: Remove const and use move when possible | ReinUsesLisp | 1 | -11/+5 | |
2020-02-21 | nit: add const to where it need. | Nguyen Dac Nam | 1 | -14/+14 | |
2020-02-21 | shader: implement LOP3 fast replace for old function | Nguyen Dac Nam | 1 | -36/+58 | |
ref: https://devtalk.nvidia.com/default/topic/1070081/cuda-programming-and-performance/reverse-lut-for-lop3-lut/ | |||||
2020-02-05 | shader/decode: Fix constant buffer offsets | ReinUsesLisp | 1 | -2/+2 | |
Some instances were using cbuf34.offset instead of cbuf34.GetOffset(). This returned the an invalid offset. Address those instances and rename offset to "shifted_offset" to avoid future bugs. | |||||
2020-02-02 | shader: Remove curly braces initializers on shared pointers | ReinUsesLisp | 1 | -1/+1 | |
2019-11-18 | Shader_IR: Address Feedback | Fernando Sahmkow | 1 | -5/+6 | |
2019-11-14 | Shader_IR: Implement FLO instruction. | Fernando Sahmkow | 1 | -0/+18 | |
2019-10-24 | video_core/shader: Resolve instances of variable shadowing | Lioncash | 1 | -3/+3 | |
Silences a few -Wshadow warnings. | |||||
2019-09-21 | Shader_IR: ICMP corrections and fixes | Fernando Sahmkow | 1 | -6/+9 | |
2019-09-20 | Shader_IR: Implement ICMP. | Fernando Sahmkow | 1 | -0/+26 | |
2019-06-06 | shader: Use shared_ptr to store nodes and move initialization to file | ReinUsesLisp | 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. | |||||
2019-02-11 | Fix incorrect value for CC bit in IADD | Fernando Sahmkow | 1 | -2/+2 | |
2019-02-03 | shader_ir: Rename BasicBlock to NodeBlock | ReinUsesLisp | 1 | -2/+2 | |
It's not always used as a basic block. Rename it for consistency. | |||||
2019-02-03 | shader_ir: Pass decoded nodes as a whole instead of per basic blocks | ReinUsesLisp | 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. | |||||
2019-01-30 | shader_ir: Unify constant buffer offset values | ReinUsesLisp | 1 | -1/+1 | |
Constant buffer values on the shader IR were using different offsets if the access direct or indirect. cbuf34 has a non-multiplied offset while cbuf36 does. On shader decoding this commit multiplies it by four on cbuf34 queries. | |||||
2019-01-15 | shader_ir: Pass to decoder functions basic block's code | ReinUsesLisp | 1 | -1/+1 | |
2019-01-15 | shader_decode: Improve zero flag implementation | ReinUsesLisp | 1 | -17/+14 | |
2019-01-15 | shader_decode: Use BitfieldExtract instead of shift + and | ReinUsesLisp | 1 | -3/+2 | |
2019-01-15 | shader_decode: Implement POPC | ReinUsesLisp | 1 | -0/+10 | |
2019-01-15 | shader_decode: Implement LEA | ReinUsesLisp | 1 | -0/+55 | |
2019-01-15 | shader_decode: Implement IADD3 | ReinUsesLisp | 1 | -0/+61 | |
2019-01-15 | shader_decode: Implement LOP3 | ReinUsesLisp | 1 | -0/+60 | |
2019-01-15 | shader_decode: Implement IMNMX | ReinUsesLisp | 1 | -0/+16 | |
2019-01-15 | shader_decode: Implement ISCADD | ReinUsesLisp | 1 | -0/+15 | |
2019-01-15 | shader_decode: Implement LOP | ReinUsesLisp | 1 | -0/+15 | |
2019-01-15 | shader_decode: Implement SEL | ReinUsesLisp | 1 | -0/+8 | |
2019-01-15 | shader_decode: Implement IADD | ReinUsesLisp | 1 | -1/+28 | |
2019-01-15 | shader_ir: Initial implementation | ReinUsesLisp | 1 | -0/+24 | |