From 142cededd4db2ff4f83a4833580d343a4f0a8cde Mon Sep 17 00:00:00 2001 From: riperiperi Date: Tue, 31 Aug 2021 06:51:57 +0100 Subject: Implement Shader Instructions SUATOM and SURED (#2090) * Initial Implementation * Further improvements (no support for float/64-bit types) * Merge atomic and reduce instructions, add missing format switch * Fix rebase issues. * Not used. * Whoops. Fixed. * Partial implementation of inc/dec, cleanup and TODOs * Remove testing path * Address Feedback --- Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs') diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs index e5bcd7e5..df09d907 100644 --- a/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs +++ b/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs @@ -209,6 +209,11 @@ namespace Ryujinx.Graphics.Shader.Decoders Set("1110111101011x", InstEmit.Sts, OpCodeMemory.Create); Set("11101011000xxx", InstEmit.Suld, OpCodeImage.Create); Set("11101011001xxx", InstEmit.Sust, OpCodeImage.Create); + Set("11101011010xxx", InstEmit.Sured, OpCodeSured.Create); + Set("11101010110xxx", InstEmit.Suatom, OpCodeSuatom.Create); + Set("1110101010xxxx", InstEmit.Suatom, OpCodeSuatom.Create); + Set("11101010011xxx", InstEmit.Suatom, OpCodeSuatom.Create); + Set("1110101000xxxx", InstEmit.Suatom, OpCodeSuatom.Create); Set("1111000011111x", InstEmit.Sync, OpCodeBranchPop.Create); Set("110000xxxx111x", InstEmit.Tex, OpCodeTex.Create); Set("1101111010111x", InstEmit.TexB, OpCodeTexB.Create); -- cgit v1.2.3