summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp
diff options
context:
space:
mode:
authorGravatar ameerj2021-05-31 12:53:40 -0400
committerGravatar ameerj2021-07-22 21:51:37 -0400
commitdf53046d68b26b23ced683396ebc204d96176c8e (patch)
tree09a858f1d743ab9079484b30eddff00a23152b59 /src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp
parentglsl: Implement gl_ViewportIndex (diff)
downloadyuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.gz
yuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.xz
yuzu-df53046d68b26b23ced683396ebc204d96176c8e.zip
glsl: Use NotImplemented macro with function name output
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp
index 44a719fc3..3697e1a34 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp
@@ -68,14 +68,14 @@ void EmitCompositeInsertU32x4(EmitContext& ctx, IR::Inst& inst, std::string_view
68void EmitCompositeConstructF16x2([[maybe_unused]] EmitContext& ctx, 68void EmitCompositeConstructF16x2([[maybe_unused]] EmitContext& ctx,
69 [[maybe_unused]] std::string_view e1, 69 [[maybe_unused]] std::string_view e1,
70 [[maybe_unused]] std::string_view e2) { 70 [[maybe_unused]] std::string_view e2) {
71 throw NotImplementedException("GLSL Instruction"); 71 NotImplemented();
72} 72}
73 73
74void EmitCompositeConstructF16x3([[maybe_unused]] EmitContext& ctx, 74void EmitCompositeConstructF16x3([[maybe_unused]] EmitContext& ctx,
75 [[maybe_unused]] std::string_view e1, 75 [[maybe_unused]] std::string_view e1,
76 [[maybe_unused]] std::string_view e2, 76 [[maybe_unused]] std::string_view e2,
77 [[maybe_unused]] std::string_view e3) { 77 [[maybe_unused]] std::string_view e3) {
78 throw NotImplementedException("GLSL Instruction"); 78 NotImplemented();
79} 79}
80 80
81void EmitCompositeConstructF16x4([[maybe_unused]] EmitContext& ctx, 81void EmitCompositeConstructF16x4([[maybe_unused]] EmitContext& ctx,
@@ -83,46 +83,46 @@ void EmitCompositeConstructF16x4([[maybe_unused]] EmitContext& ctx,
83 [[maybe_unused]] std::string_view e2, 83 [[maybe_unused]] std::string_view e2,
84 [[maybe_unused]] std::string_view e3, 84 [[maybe_unused]] std::string_view e3,
85 [[maybe_unused]] std::string_view e4) { 85 [[maybe_unused]] std::string_view e4) {
86 throw NotImplementedException("GLSL Instruction"); 86 NotImplemented();
87} 87}
88 88
89void EmitCompositeExtractF16x2([[maybe_unused]] EmitContext& ctx, 89void EmitCompositeExtractF16x2([[maybe_unused]] EmitContext& ctx,
90 [[maybe_unused]] std::string_view composite, 90 [[maybe_unused]] std::string_view composite,
91 [[maybe_unused]] u32 index) { 91 [[maybe_unused]] u32 index) {
92 throw NotImplementedException("GLSL Instruction"); 92 NotImplemented();
93} 93}
94 94
95void EmitCompositeExtractF16x3([[maybe_unused]] EmitContext& ctx, 95void EmitCompositeExtractF16x3([[maybe_unused]] EmitContext& ctx,
96 [[maybe_unused]] std::string_view composite, 96 [[maybe_unused]] std::string_view composite,
97 [[maybe_unused]] u32 index) { 97 [[maybe_unused]] u32 index) {
98 throw NotImplementedException("GLSL Instruction"); 98 NotImplemented();
99} 99}
100 100
101void EmitCompositeExtractF16x4([[maybe_unused]] EmitContext& ctx, 101void EmitCompositeExtractF16x4([[maybe_unused]] EmitContext& ctx,
102 [[maybe_unused]] std::string_view composite, 102 [[maybe_unused]] std::string_view composite,
103 [[maybe_unused]] u32 index) { 103 [[maybe_unused]] u32 index) {
104 throw NotImplementedException("GLSL Instruction"); 104 NotImplemented();
105} 105}
106 106
107void EmitCompositeInsertF16x2([[maybe_unused]] EmitContext& ctx, 107void EmitCompositeInsertF16x2([[maybe_unused]] EmitContext& ctx,
108 [[maybe_unused]] std::string_view composite, 108 [[maybe_unused]] std::string_view composite,
109 [[maybe_unused]] std::string_view object, 109 [[maybe_unused]] std::string_view object,
110 [[maybe_unused]] u32 index) { 110 [[maybe_unused]] u32 index) {
111 throw NotImplementedException("GLSL Instruction"); 111 NotImplemented();
112} 112}
113 113
114void EmitCompositeInsertF16x3([[maybe_unused]] EmitContext& ctx, 114void EmitCompositeInsertF16x3([[maybe_unused]] EmitContext& ctx,
115 [[maybe_unused]] std::string_view composite, 115 [[maybe_unused]] std::string_view composite,
116 [[maybe_unused]] std::string_view object, 116 [[maybe_unused]] std::string_view object,
117 [[maybe_unused]] u32 index) { 117 [[maybe_unused]] u32 index) {
118 throw NotImplementedException("GLSL Instruction"); 118 NotImplemented();
119} 119}
120 120
121void EmitCompositeInsertF16x4([[maybe_unused]] EmitContext& ctx, 121void EmitCompositeInsertF16x4([[maybe_unused]] EmitContext& ctx,
122 [[maybe_unused]] std::string_view composite, 122 [[maybe_unused]] std::string_view composite,
123 [[maybe_unused]] std::string_view object, 123 [[maybe_unused]] std::string_view object,
124 [[maybe_unused]] u32 index) { 124 [[maybe_unused]] u32 index) {
125 throw NotImplementedException("GLSL Instruction"); 125 NotImplemented();
126} 126}
127 127
128void EmitCompositeConstructF32x2(EmitContext& ctx, IR::Inst& inst, std::string_view e1, 128void EmitCompositeConstructF32x2(EmitContext& ctx, IR::Inst& inst, std::string_view e1,
@@ -174,27 +174,27 @@ void EmitCompositeInsertF32x4(EmitContext& ctx, IR::Inst& inst, std::string_view
174} 174}
175 175
176void EmitCompositeConstructF64x2([[maybe_unused]] EmitContext& ctx) { 176void EmitCompositeConstructF64x2([[maybe_unused]] EmitContext& ctx) {
177 throw NotImplementedException("GLSL Instruction"); 177 NotImplemented();
178} 178}
179 179
180void EmitCompositeConstructF64x3([[maybe_unused]] EmitContext& ctx) { 180void EmitCompositeConstructF64x3([[maybe_unused]] EmitContext& ctx) {
181 throw NotImplementedException("GLSL Instruction"); 181 NotImplemented();
182} 182}
183 183
184void EmitCompositeConstructF64x4([[maybe_unused]] EmitContext& ctx) { 184void EmitCompositeConstructF64x4([[maybe_unused]] EmitContext& ctx) {
185 throw NotImplementedException("GLSL Instruction"); 185 NotImplemented();
186} 186}
187 187
188void EmitCompositeExtractF64x2([[maybe_unused]] EmitContext& ctx) { 188void EmitCompositeExtractF64x2([[maybe_unused]] EmitContext& ctx) {
189 throw NotImplementedException("GLSL Instruction"); 189 NotImplemented();
190} 190}
191 191
192void EmitCompositeExtractF64x3([[maybe_unused]] EmitContext& ctx) { 192void EmitCompositeExtractF64x3([[maybe_unused]] EmitContext& ctx) {
193 throw NotImplementedException("GLSL Instruction"); 193 NotImplemented();
194} 194}
195 195
196void EmitCompositeExtractF64x4([[maybe_unused]] EmitContext& ctx) { 196void EmitCompositeExtractF64x4([[maybe_unused]] EmitContext& ctx) {
197 throw NotImplementedException("GLSL Instruction"); 197 NotImplemented();
198} 198}
199 199
200void EmitCompositeInsertF64x2(EmitContext& ctx, std::string_view composite, std::string_view object, 200void EmitCompositeInsertF64x2(EmitContext& ctx, std::string_view composite, std::string_view object,