Fixed mipmap block autosizing algorithm

This commit is contained in:
FernandoS27 2018-10-26 19:18:03 -04:00
parent 87f8181405
commit f0e902a7d6
3 changed files with 25 additions and 13 deletions

View file

@ -10,6 +10,12 @@
namespace Tegra::Texture {
// GOBSize constant. Calculated by 64 bytes in x multiplied by 8 y coords, represents
// an small rect of (64/bytes_per_pixel)X8.
inline std::size_t GetGOBSize() {
return 512;
}
/**
* Unswizzles a swizzled texture without changing its format.
*/