summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_image.cpp')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_image.cpp205
1 files changed, 205 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
index e69de29bb..109938e0e 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
@@ -0,0 +1,205 @@
1// Copyright 2021 yuzu Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#include <string_view>
6
7#include "shader_recompiler/backend/glsl/emit_context.h"
8#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"
9#include "shader_recompiler/frontend/ir/value.h"
10#include "shader_recompiler/profile.h"
11
12namespace Shader::Backend::GLSL {
13
14void EmitImageSampleImplicitLod([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
15 [[maybe_unused]] const IR::Value& index,
16 [[maybe_unused]] std::string_view coords,
17 [[maybe_unused]] std::string_view bias_lc,
18 [[maybe_unused]] const IR::Value& offset) {
19 throw NotImplementedException("GLSL Instruction");
20}
21
22void EmitImageSampleExplicitLod([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
23 [[maybe_unused]] const IR::Value& index,
24 [[maybe_unused]] std::string_view coords,
25 [[maybe_unused]] std::string_view lod_lc,
26 [[maybe_unused]] const IR::Value& offset) {
27 throw NotImplementedException("GLSL Instruction");
28}
29
30void EmitImageSampleDrefImplicitLod([[maybe_unused]] EmitContext& ctx,
31 [[maybe_unused]] IR::Inst& inst,
32 [[maybe_unused]] const IR::Value& index,
33 [[maybe_unused]] std::string_view coords,
34 [[maybe_unused]] std::string_view dref,
35 [[maybe_unused]] std::string_view bias_lc,
36 [[maybe_unused]] const IR::Value& offset) {
37 throw NotImplementedException("GLSL Instruction");
38}
39
40void EmitImageSampleDrefExplicitLod([[maybe_unused]] EmitContext& ctx,
41 [[maybe_unused]] IR::Inst& inst,
42 [[maybe_unused]] const IR::Value& index,
43 [[maybe_unused]] std::string_view coords,
44 [[maybe_unused]] std::string_view dref,
45 [[maybe_unused]] std::string_view lod_lc,
46 [[maybe_unused]] const IR::Value& offset) {
47 throw NotImplementedException("GLSL Instruction");
48}
49
50void EmitImageGather([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
51 [[maybe_unused]] const IR::Value& index,
52 [[maybe_unused]] std::string_view coords,
53 [[maybe_unused]] const IR::Value& offset,
54 [[maybe_unused]] const IR::Value& offset2) {
55 throw NotImplementedException("GLSL Instruction");
56}
57
58void EmitImageGatherDref([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
59 [[maybe_unused]] const IR::Value& index,
60 [[maybe_unused]] std::string_view coords,
61 [[maybe_unused]] const IR::Value& offset,
62 [[maybe_unused]] const IR::Value& offset2,
63 [[maybe_unused]] std::string_view dref) {
64 throw NotImplementedException("GLSL Instruction");
65}
66
67void EmitImageFetch([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
68 [[maybe_unused]] const IR::Value& index,
69 [[maybe_unused]] std::string_view coords,
70 [[maybe_unused]] std::string_view offset, [[maybe_unused]] std::string_view lod,
71 [[maybe_unused]] std::string_view ms) {
72 throw NotImplementedException("GLSL Instruction");
73}
74
75void EmitImageQueryDimensions([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
76 [[maybe_unused]] const IR::Value& index,
77 [[maybe_unused]] std::string_view lod) {
78 throw NotImplementedException("GLSL Instruction");
79}
80
81void EmitImageQueryLod([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
82 [[maybe_unused]] const IR::Value& index,
83 [[maybe_unused]] std::string_view coords) {
84 throw NotImplementedException("GLSL Instruction");
85}
86
87void EmitImageGradient([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
88 [[maybe_unused]] const IR::Value& index,
89 [[maybe_unused]] std::string_view coords,
90 [[maybe_unused]] std::string_view derivates,
91 [[maybe_unused]] std::string_view offset,
92 [[maybe_unused]] std::string_view lod_clamp) {
93 throw NotImplementedException("GLSL Instruction");
94}
95
96void EmitImageRead([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
97 [[maybe_unused]] const IR::Value& index,
98 [[maybe_unused]] std::string_view coords) {
99 throw NotImplementedException("GLSL Instruction");
100}
101
102void EmitImageWrite([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] IR::Inst& inst,
103 [[maybe_unused]] const IR::Value& index,
104 [[maybe_unused]] std::string_view coords,
105 [[maybe_unused]] std::string_view color) {
106 throw NotImplementedException("GLSL Instruction");
107}
108
109void EmitBindlessImageSampleImplicitLod(EmitContext&) {
110 throw NotImplementedException("GLSL Instruction");
111}
112
113void EmitBindlessImageSampleExplicitLod(EmitContext&) {
114 throw NotImplementedException("GLSL Instruction");
115}
116
117void EmitBindlessImageSampleDrefImplicitLod(EmitContext&) {
118 throw NotImplementedException("GLSL Instruction");
119}
120
121void EmitBindlessImageSampleDrefExplicitLod(EmitContext&) {
122 throw NotImplementedException("GLSL Instruction");
123}
124
125void EmitBindlessImageGather(EmitContext&) {
126 throw NotImplementedException("GLSL Instruction");
127}
128
129void EmitBindlessImageGatherDref(EmitContext&) {
130 throw NotImplementedException("GLSL Instruction");
131}
132
133void EmitBindlessImageFetch(EmitContext&) {
134 throw NotImplementedException("GLSL Instruction");
135}
136
137void EmitBindlessImageQueryDimensions(EmitContext&) {
138 throw NotImplementedException("GLSL Instruction");
139}
140
141void EmitBindlessImageQueryLod(EmitContext&) {
142 throw NotImplementedException("GLSL Instruction");
143}
144
145void EmitBindlessImageGradient(EmitContext&) {
146 throw NotImplementedException("GLSL Instruction");
147}
148
149void EmitBindlessImageRead(EmitContext&) {
150 throw NotImplementedException("GLSL Instruction");
151}
152
153void EmitBindlessImageWrite(EmitContext&) {
154 throw NotImplementedException("GLSL Instruction");
155}
156
157void EmitBoundImageSampleImplicitLod(EmitContext&) {
158 throw NotImplementedException("GLSL Instruction");
159}
160
161void EmitBoundImageSampleExplicitLod(EmitContext&) {
162 throw NotImplementedException("GLSL Instruction");
163}
164
165void EmitBoundImageSampleDrefImplicitLod(EmitContext&) {
166 throw NotImplementedException("GLSL Instruction");
167}
168
169void EmitBoundImageSampleDrefExplicitLod(EmitContext&) {
170 throw NotImplementedException("GLSL Instruction");
171}
172
173void EmitBoundImageGather(EmitContext&) {
174 throw NotImplementedException("GLSL Instruction");
175}
176
177void EmitBoundImageGatherDref(EmitContext&) {
178 throw NotImplementedException("GLSL Instruction");
179}
180
181void EmitBoundImageFetch(EmitContext&) {
182 throw NotImplementedException("GLSL Instruction");
183}
184
185void EmitBoundImageQueryDimensions(EmitContext&) {
186 throw NotImplementedException("GLSL Instruction");
187}
188
189void EmitBoundImageQueryLod(EmitContext&) {
190 throw NotImplementedException("GLSL Instruction");
191}
192
193void EmitBoundImageGradient(EmitContext&) {
194 throw NotImplementedException("GLSL Instruction");
195}
196
197void EmitBoundImageRead(EmitContext&) {
198 throw NotImplementedException("GLSL Instruction");
199}
200
201void EmitBoundImageWrite(EmitContext&) {
202 throw NotImplementedException("GLSL Instruction");
203}
204
205} // namespace Shader::Backend::GLSL