There was an error fetching the commit references. Please try again later.
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.
Showing
- src/video_core/shader/decode.cpp 9 additions, 6 deletionssrc/video_core/shader/decode.cpp
- src/video_core/shader/decode/arithmetic.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/arithmetic.cpp
- src/video_core/shader/decode/arithmetic_half.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/arithmetic_half.cpp
- src/video_core/shader/decode/arithmetic_half_immediate.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/arithmetic_half_immediate.cpp
- src/video_core/shader/decode/arithmetic_immediate.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/arithmetic_immediate.cpp
- src/video_core/shader/decode/arithmetic_integer.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/arithmetic_integer.cpp
- src/video_core/shader/decode/arithmetic_integer_immediate.cpp 1 addition, 1 deletion...video_core/shader/decode/arithmetic_integer_immediate.cpp
- src/video_core/shader/decode/bfe.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/bfe.cpp
- src/video_core/shader/decode/bfi.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/bfi.cpp
- src/video_core/shader/decode/conversion.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/conversion.cpp
- src/video_core/shader/decode/ffma.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/ffma.cpp
- src/video_core/shader/decode/float_set.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/float_set.cpp
- src/video_core/shader/decode/float_set_predicate.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/float_set_predicate.cpp
- src/video_core/shader/decode/half_set.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/half_set.cpp
- src/video_core/shader/decode/half_set_predicate.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/half_set_predicate.cpp
- src/video_core/shader/decode/hfma2.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/hfma2.cpp
- src/video_core/shader/decode/integer_set.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/integer_set.cpp
- src/video_core/shader/decode/integer_set_predicate.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/integer_set_predicate.cpp
- src/video_core/shader/decode/memory.cpp 3 additions, 2 deletionssrc/video_core/shader/decode/memory.cpp
- src/video_core/shader/decode/other.cpp 1 addition, 1 deletionsrc/video_core/shader/decode/other.cpp
Loading
Please register or sign in to comment