Commit Graph

13 Commits (353a0994818af7ef836555f45e48f82458013649)

Author SHA1 Message Date
Fernando Sahmkow 16adc735a5 Correct XMAD mode, psl and high_b on different encodings. 6 years ago
ReinUsesLisp 42b75e8be8 shader_ir: Rename BasicBlock to NodeBlock
It's not always used as a basic block. Rename it for consistency.
6 years ago
ReinUsesLisp 6a6fabea58 shader_ir: Pass decoded nodes as a whole instead of per basic blocks
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.
6 years ago
ReinUsesLisp 477d616f7d shader_ir: Unify constant buffer offset values
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.
6 years ago
ReinUsesLisp a63d7c49fc shader_ir: Fixup clang build 6 years ago
ReinUsesLisp 1c9c4eefeb shader_decode: Fixup XMAD 6 years ago
ReinUsesLisp 170c8212bb shader_ir: Pass to decoder functions basic block's code 6 years ago
ReinUsesLisp 2d6c064e66 shader_decode: Improve zero flag implementation 6 years ago
ReinUsesLisp 2faad9bf23 shader_decode: Use BitfieldExtract instead of shift + and 6 years ago
ReinUsesLisp fc46ecddb3 video_core: Return safe values after an assert hits 6 years ago
ReinUsesLisp 946c86f0bb shader_decode: Fixup clang-format 6 years ago
ReinUsesLisp b0e7920838 shader_decode: Implement XMAD 6 years ago
ReinUsesLisp 15a0e1481d shader_ir: Initial implementation 6 years ago