Add shader support for the round mode on the F2F instruction, support mipmaps on ASTC compressed textures

This commit is contained in:
gdk 2019-10-27 17:51:33 -03:00 committed by Thog
parent d3fcab8511
commit 3bcc395253
8 changed files with 39 additions and 18 deletions

View file

@ -74,6 +74,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl.Instructions
Add(Instruction.Negate, InstType.OpUnary, "-", 0);
Add(Instruction.ReciprocalSquareRoot, InstType.CallUnary, "inversesqrt");
Add(Instruction.Return, InstType.OpNullary, "return");
Add(Instruction.Round, InstType.CallUnary, "roundEven");
Add(Instruction.Sine, InstType.CallUnary, "sin");
Add(Instruction.SquareRoot, InstType.CallUnary, "sqrt");
Add(Instruction.StoreLocal, InstType.Special);