vertexjit: Remove unused ReadUV() cases.

This commit is contained in:
Unknown W. Brackets 2022-09-01 23:22:52 -07:00
parent f2d5d668a5
commit 470d2f0f4e
2 changed files with 5 additions and 30 deletions

View file

@ -1265,6 +1265,7 @@ void VertexDecoder::SetVertexType(u32 fmt, const VertexDecoderOptions &options,
}
_assert_msg_(decFmt.posfmt == DEC_FLOAT_3, "Reader only supports float pos");
_assert_msg_(decFmt.uvfmt == DEC_FLOAT_2 || decFmt.uvfmt == DEC_NONE, "Reader only supports float UV");
// Attempt to JIT as well. But only do that if the main CPU JIT is enabled, in order to aid
// debugging attempts - if the main JIT doesn't work, this one won't do any better, probably.