Revert "Remove some remains of software skinning"

This reverts commit 2d33d526b8.
This commit is contained in:
Henrik Rydgård 2018-04-10 11:21:56 +02:00
parent 55ea4bdfd9
commit 69309aa400
6 changed files with 88 additions and 1 deletions

View file

@ -72,7 +72,7 @@ int DecFmtSize(u8 fmt) {
}
void DecVtxFormat::ComputeID() {
id = uvfmt | (c0fmt << 4) | (c1fmt << 8) | (nrmfmt << 12) | (posfmt << 16);
id = w0fmt | (w1fmt << 4) | (uvfmt << 8) | (c0fmt << 12) | (c1fmt << 16) | (nrmfmt << 20) | (posfmt << 24);
}
void DecVtxFormat::InitializeFromID(uint32_t id) {