summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode/xmad.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-17shader_ir: Rename Get/SetTemporal to Get/SetTemporaryLioncash1-6/+6
This is more accurate in terms of describing what the functions are actually doing. Temporal relates to time, not the setting of a temporary itself.
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-04-18video_core: Silent -Wswitch warningsReinUsesLisp1-2/+3
2019-04-08Correct XMAD mode, psl and high_b on different encodings.Fernando Sahmkow1-9/+30
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-30shader_ir: Unify constant buffer offset valuesReinUsesLisp1-2/+3
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-16shader_ir: Fixup clang buildReinUsesLisp1-4/+6
2019-01-15shader_decode: Fixup XMADReinUsesLisp1-1/+1
2019-01-15shader_ir: Pass to decoder functions basic block's codeReinUsesLisp1-1/+1
2019-01-15shader_decode: Improve zero flag implementationReinUsesLisp1-0/+1
2019-01-15shader_decode: Use BitfieldExtract instead of shift + andReinUsesLisp1-20/+6
2019-01-15video_core: Return safe values after an assert hitsReinUsesLisp1-4/+4
2019-01-15shader_decode: Fixup clang-formatReinUsesLisp1-1/+1
2019-01-15shader_decode: Implement XMADReinUsesLisp1-1/+85
2019-01-15shader_ir: Initial implementationReinUsesLisp1-0/+24