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
|
@ -29,6 +29,10 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
|||
{
|
||||
switch (op.RoundingMode)
|
||||
{
|
||||
case RoundingMode.ToNearest:
|
||||
srcB = context.FPRound(srcB);
|
||||
break;
|
||||
|
||||
case RoundingMode.TowardsNegativeInfinity:
|
||||
srcB = context.FPFloor(srcB);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue