github xenia-project/release-builds-windows v1.0.2774-master

latest releases: v1.0.2844-master, v1.0.2843-master, v1.0.2842-master...
3 years ago

Windows release build for xenia-project/xenia@a37b57c.

[GPU] Fix tiled mip tail extent calculation

Previously, for mips, the dimensions of the texture weren't rounded to powers of two before calculating the mip tail extent, resulting in the mip tail for a 260 blocks tall texture, that contains mips ending at Y of up to 36, having the Y extent calculated as 32. With rounding to powers of two, it would have been 64.

However, with the GetTiledAddressUpperBound functions, none of this is necessary at all (and neither is rounding the extents in TextureGuestLayout::Level to 32x32x4 blocks) - using the same code for calculating the XYZ extents of tiled textures as for linear textures now, which, for the mip tail, calculates the actual maximum coordinates of the mips stored in it - and rounding to tiles is done internally by GetTiledAddressUpperBound.

Don't miss a new release-builds-windows release

NewReleases is sending notifications on new releases.