summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2014-08-27 13:38:00 -0400
committercomex <comexk@gmail.com>2014-09-28 21:25:06 -0400
commite86ddacb18affaef2d773b0c86fdf57f93d594c4 (patch)
tree5a1297d2d2ad6207ad28e42049f6798bac78afce /Source/Core/VideoCommon/OpcodeDecoding.cpp
parentf0131c2e09faba0d65fa5b7360898e514e3636f5 (diff)
Changes to allow LoadCPReg to work in a preprocess mode which affects a separate state.
This state will be used to calculate sizes for skipping over commands on a separate thread. An alternative to having these state variables would be to have the preprocessor stash "state as we go" somewhere, but I think that would be much uglier. GetVertexSize now takes an extra argument to determine which state to use, as does FifoCommandRunnable, which calls it. While I'm modifying FifoCommandRunnable, I also change it to take a buffer and size as parameters rather than using g_pVideoData, which will also be necessary later. I also get rid of an unused overload.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
0 files changed, 0 insertions, 0 deletions