mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-02-03 01:41:02 +00:00
Reverse the order for modulating our bits... I'm not convinced that this is right
This commit is contained in:
parent
34ab853a62
commit
669b2c0934
|
@ -108,6 +108,8 @@ namespace PVRTCC {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
assert(blocks.size() > 0);
|
||||||
|
|
||||||
// Extract the endpoints into A and B images
|
// Extract the endpoints into A and B images
|
||||||
Image imgA(blocksH, blocksW);
|
Image imgA(blocksH, blocksW);
|
||||||
Image imgB(blocksH, blocksW);
|
Image imgB(blocksH, blocksW);
|
||||||
|
@ -181,7 +183,7 @@ namespace PVRTCC {
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
const uint8 lerpVals[4] = { 0, 3, 5, 8 };
|
const uint8 lerpVals[4] = { 8, 5, 3, 0 };
|
||||||
const uint8 lerpVal = lerpVals[b.GetLerpValue(texelIndex)];
|
const uint8 lerpVal = lerpVals[b.GetLerpValue(texelIndex)];
|
||||||
|
|
||||||
for(uint32 c = 0; c < 4; c++) {
|
for(uint32 c = 0; c < 4; c++) {
|
||||||
|
|
Loading…
Reference in a new issue