summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-22 02:14:59 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:33 +0200
commit3a7ca6a7db5d9c895fceef21f9239dfcef2fcc8e (patch)
tree963bb3b46ee35ec3e0bc2c8eb27429c9aa2567fa
parentglasm: Implement gl_Layer stores (diff)
downloadyuzu-3a7ca6a7db5d9c895fceef21f9239dfcef2fcc8e.tar
yuzu-3a7ca6a7db5d9c895fceef21f9239dfcef2fcc8e.tar.gz
yuzu-3a7ca6a7db5d9c895fceef21f9239dfcef2fcc8e.tar.bz2
yuzu-3a7ca6a7db5d9c895fceef21f9239dfcef2fcc8e.tar.lz
yuzu-3a7ca6a7db5d9c895fceef21f9239dfcef2fcc8e.tar.xz
yuzu-3a7ca6a7db5d9c895fceef21f9239dfcef2fcc8e.tar.zst
yuzu-3a7ca6a7db5d9c895fceef21f9239dfcef2fcc8e.zip
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_image_atomic.cpp132
1 files changed, 66 insertions, 66 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_image_atomic.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_image_atomic.cpp
index a0b9866de..f82cf9ffc 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_image_atomic.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_image_atomic.cpp
@@ -8,6 +8,72 @@
namespace Shader::Backend::GLASM {
+void EmitImageAtomicIAdd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index,
+ [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
+void EmitImageAtomicSMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index,
+ [[maybe_unused]] Register coords, [[maybe_unused]] ScalarS32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
+void EmitImageAtomicUMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index,
+ [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
+void EmitImageAtomicSMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index,
+ [[maybe_unused]] Register coords, [[maybe_unused]] ScalarS32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
+void EmitImageAtomicUMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index,
+ [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
+void EmitImageAtomicInc32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
+ [[maybe_unused]] ScalarU32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
+void EmitImageAtomicDec32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
+ [[maybe_unused]] ScalarU32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
+void EmitImageAtomicAnd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
+ [[maybe_unused]] ScalarU32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
+void EmitImageAtomicOr32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
+ [[maybe_unused]] ScalarU32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
+void EmitImageAtomicXor32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
+ [[maybe_unused]] ScalarU32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
+void EmitImageAtomicExchange32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
+ [[maybe_unused]] const IR::Value& index,
+ [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
+ throw NotImplementedException("GLASM instruction");
+}
+
void EmitBindlessImageAtomicIAdd32(EmitContext&) {
throw LogicError("Unreachable instruction");
}
@@ -96,70 +162,4 @@ void EmitBoundImageAtomicExchange32(EmitContext&) {
throw LogicError("Unreachable instruction");
}
-void EmitImageAtomicIAdd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index,
- [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitImageAtomicSMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index,
- [[maybe_unused]] Register coords, [[maybe_unused]] ScalarS32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitImageAtomicUMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index,
- [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitImageAtomicSMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index,
- [[maybe_unused]] Register coords, [[maybe_unused]] ScalarS32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitImageAtomicUMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index,
- [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitImageAtomicInc32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
- [[maybe_unused]] ScalarU32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitImageAtomicDec32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
- [[maybe_unused]] ScalarU32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitImageAtomicAnd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
- [[maybe_unused]] ScalarU32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitImageAtomicOr32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
- [[maybe_unused]] ScalarU32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitImageAtomicXor32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
- [[maybe_unused]] ScalarU32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
-void EmitImageAtomicExchange32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
- [[maybe_unused]] const IR::Value& index,
- [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
- throw NotImplementedException("GLASM instruction");
-}
-
} // namespace Shader::Backend::GLASM