Add shader support for the round mode on the F2F instruction, support mipmaps on ASTC compressed textures
This commit is contained in:
parent
d3fcab8511
commit
3bcc395253
8 changed files with 39 additions and 18 deletions
|
@ -250,17 +250,15 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||
|
||||
if (!_context.Capabilities.SupportsAstcCompression && _info.FormatInfo.Format.IsAstc())
|
||||
{
|
||||
int blockWidth = _info.FormatInfo.BlockWidth;
|
||||
int blockHeight = _info.FormatInfo.BlockHeight;
|
||||
|
||||
data = AstcDecoder.DecodeToRgba8(
|
||||
data,
|
||||
blockWidth,
|
||||
blockHeight,
|
||||
_info.FormatInfo.BlockWidth,
|
||||
_info.FormatInfo.BlockHeight,
|
||||
1,
|
||||
_info.Width,
|
||||
_info.Height,
|
||||
_depth);
|
||||
_depth,
|
||||
_info.Levels);
|
||||
}
|
||||
|
||||
HostTexture.SetData(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue