summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/backend')
-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 @@
8 8
9namespace Shader::Backend::GLASM { 9namespace Shader::Backend::GLASM {
10 10
11void EmitImageAtomicIAdd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
12 [[maybe_unused]] const IR::Value& index,
13 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
14 throw NotImplementedException("GLASM instruction");
15}
16
17void EmitImageAtomicSMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
18 [[maybe_unused]] const IR::Value& index,
19 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarS32 value) {
20 throw NotImplementedException("GLASM instruction");
21}
22
23void EmitImageAtomicUMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
24 [[maybe_unused]] const IR::Value& index,
25 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
26 throw NotImplementedException("GLASM instruction");
27}
28
29void EmitImageAtomicSMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
30 [[maybe_unused]] const IR::Value& index,
31 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarS32 value) {
32 throw NotImplementedException("GLASM instruction");
33}
34
35void EmitImageAtomicUMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
36 [[maybe_unused]] const IR::Value& index,
37 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
38 throw NotImplementedException("GLASM instruction");
39}
40
41void EmitImageAtomicInc32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
42 [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
43 [[maybe_unused]] ScalarU32 value) {
44 throw NotImplementedException("GLASM instruction");
45}
46
47void EmitImageAtomicDec32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
48 [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
49 [[maybe_unused]] ScalarU32 value) {
50 throw NotImplementedException("GLASM instruction");
51}
52
53void EmitImageAtomicAnd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
54 [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
55 [[maybe_unused]] ScalarU32 value) {
56 throw NotImplementedException("GLASM instruction");
57}
58
59void EmitImageAtomicOr32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
60 [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
61 [[maybe_unused]] ScalarU32 value) {
62 throw NotImplementedException("GLASM instruction");
63}
64
65void EmitImageAtomicXor32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
66 [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
67 [[maybe_unused]] ScalarU32 value) {
68 throw NotImplementedException("GLASM instruction");
69}
70
71void EmitImageAtomicExchange32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
72 [[maybe_unused]] const IR::Value& index,
73 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
74 throw NotImplementedException("GLASM instruction");
75}
76
11void EmitBindlessImageAtomicIAdd32(EmitContext&) { 77void EmitBindlessImageAtomicIAdd32(EmitContext&) {
12 throw LogicError("Unreachable instruction"); 78 throw LogicError("Unreachable instruction");
13} 79}
@@ -96,70 +162,4 @@ void EmitBoundImageAtomicExchange32(EmitContext&) {
96 throw LogicError("Unreachable instruction"); 162 throw LogicError("Unreachable instruction");
97} 163}
98 164
99void EmitImageAtomicIAdd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
100 [[maybe_unused]] const IR::Value& index,
101 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
102 throw NotImplementedException("GLASM instruction");
103}
104
105void EmitImageAtomicSMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
106 [[maybe_unused]] const IR::Value& index,
107 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarS32 value) {
108 throw NotImplementedException("GLASM instruction");
109}
110
111void EmitImageAtomicUMin32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
112 [[maybe_unused]] const IR::Value& index,
113 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
114 throw NotImplementedException("GLASM instruction");
115}
116
117void EmitImageAtomicSMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
118 [[maybe_unused]] const IR::Value& index,
119 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarS32 value) {
120 throw NotImplementedException("GLASM instruction");
121}
122
123void EmitImageAtomicUMax32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
124 [[maybe_unused]] const IR::Value& index,
125 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
126 throw NotImplementedException("GLASM instruction");
127}
128
129void EmitImageAtomicInc32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
130 [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
131 [[maybe_unused]] ScalarU32 value) {
132 throw NotImplementedException("GLASM instruction");
133}
134
135void EmitImageAtomicDec32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
136 [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
137 [[maybe_unused]] ScalarU32 value) {
138 throw NotImplementedException("GLASM instruction");
139}
140
141void EmitImageAtomicAnd32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
142 [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
143 [[maybe_unused]] ScalarU32 value) {
144 throw NotImplementedException("GLASM instruction");
145}
146
147void EmitImageAtomicOr32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
148 [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
149 [[maybe_unused]] ScalarU32 value) {
150 throw NotImplementedException("GLASM instruction");
151}
152
153void EmitImageAtomicXor32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
154 [[maybe_unused]] const IR::Value& index, [[maybe_unused]] Register coords,
155 [[maybe_unused]] ScalarU32 value) {
156 throw NotImplementedException("GLASM instruction");
157}
158
159void EmitImageAtomicExchange32([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
160 [[maybe_unused]] const IR::Value& index,
161 [[maybe_unused]] Register coords, [[maybe_unused]] ScalarU32 value) {
162 throw NotImplementedException("GLASM instruction");
163}
164
165} // namespace Shader::Backend::GLASM 165} // namespace Shader::Backend::GLASM