Skip to content

Commit

Permalink
Log if any games are actually using s8 through.
Browse files Browse the repository at this point in the history
Not sure about z sign.
  • Loading branch information
unknownbrackets committed Mar 23, 2014
1 parent 154b0d1 commit a1301f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions GPU/GLES/VertexDecoderArm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,7 @@ void VertexDecoderJitCache::Jit_NormalFloat() {

// Through expands into floats, always. Might want to look at changing this.
void VertexDecoderJitCache::Jit_PosS8Through() {
DEBUG_LOG_REPORT_ONCE(vertexS8Through, G3D, "Using S8 positions in throughmode");
_dbg_assert_msg_(JIT, fpScratchReg + 1 == fpScratchReg2, "VertexDecoder fpScrathRegs must be in order.");
_dbg_assert_msg_(JIT, fpScratchReg2 + 1 == fpScratchReg3, "VertexDecoder fpScrathRegs must be in order.");

Expand Down
1 change: 1 addition & 0 deletions GPU/GLES/VertexDecoderX86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,7 @@ void VertexDecoderJitCache::Jit_NormalFloatSkin() {

// Through expands into floats, always. Might want to look at changing this.
void VertexDecoderJitCache::Jit_PosS8Through() {
DEBUG_LOG_REPORT_ONCE(vertexS8Through, G3D, "Using S8 positions in throughmode");
// TODO: SIMD
for (int i = 0; i < 3; i++) {
MOVSX(32, 8, tempReg1, MDisp(srcReg, dec_->posoff + i));
Expand Down

0 comments on commit a1301f5

Please sign in to comment.