diff options
| author | 2021-05-31 12:53:40 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:37 -0400 | |
| commit | df53046d68b26b23ced683396ebc204d96176c8e (patch) | |
| tree | 09a858f1d743ab9079484b30eddff00a23152b59 /src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp | |
| parent | glsl: Implement gl_ViewportIndex (diff) | |
| download | yuzu-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.cpp | 30 |
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 | |||
| 68 | void EmitCompositeConstructF16x2([[maybe_unused]] EmitContext& ctx, | 68 | void 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 | ||
| 74 | void EmitCompositeConstructF16x3([[maybe_unused]] EmitContext& ctx, | 74 | void 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 | ||
| 81 | void EmitCompositeConstructF16x4([[maybe_unused]] EmitContext& ctx, | 81 | void 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 | ||
| 89 | void EmitCompositeExtractF16x2([[maybe_unused]] EmitContext& ctx, | 89 | void 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 | ||
| 95 | void EmitCompositeExtractF16x3([[maybe_unused]] EmitContext& ctx, | 95 | void 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 | ||
| 101 | void EmitCompositeExtractF16x4([[maybe_unused]] EmitContext& ctx, | 101 | void 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 | ||
| 107 | void EmitCompositeInsertF16x2([[maybe_unused]] EmitContext& ctx, | 107 | void 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 | ||
| 114 | void EmitCompositeInsertF16x3([[maybe_unused]] EmitContext& ctx, | 114 | void 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 | ||
| 121 | void EmitCompositeInsertF16x4([[maybe_unused]] EmitContext& ctx, | 121 | void 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 | ||
| 128 | void EmitCompositeConstructF32x2(EmitContext& ctx, IR::Inst& inst, std::string_view e1, | 128 | void 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 | ||
| 176 | void EmitCompositeConstructF64x2([[maybe_unused]] EmitContext& ctx) { | 176 | void EmitCompositeConstructF64x2([[maybe_unused]] EmitContext& ctx) { |
| 177 | throw NotImplementedException("GLSL Instruction"); | 177 | NotImplemented(); |
| 178 | } | 178 | } |
| 179 | 179 | ||
| 180 | void EmitCompositeConstructF64x3([[maybe_unused]] EmitContext& ctx) { | 180 | void EmitCompositeConstructF64x3([[maybe_unused]] EmitContext& ctx) { |
| 181 | throw NotImplementedException("GLSL Instruction"); | 181 | NotImplemented(); |
| 182 | } | 182 | } |
| 183 | 183 | ||
| 184 | void EmitCompositeConstructF64x4([[maybe_unused]] EmitContext& ctx) { | 184 | void EmitCompositeConstructF64x4([[maybe_unused]] EmitContext& ctx) { |
| 185 | throw NotImplementedException("GLSL Instruction"); | 185 | NotImplemented(); |
| 186 | } | 186 | } |
| 187 | 187 | ||
| 188 | void EmitCompositeExtractF64x2([[maybe_unused]] EmitContext& ctx) { | 188 | void EmitCompositeExtractF64x2([[maybe_unused]] EmitContext& ctx) { |
| 189 | throw NotImplementedException("GLSL Instruction"); | 189 | NotImplemented(); |
| 190 | } | 190 | } |
| 191 | 191 | ||
| 192 | void EmitCompositeExtractF64x3([[maybe_unused]] EmitContext& ctx) { | 192 | void EmitCompositeExtractF64x3([[maybe_unused]] EmitContext& ctx) { |
| 193 | throw NotImplementedException("GLSL Instruction"); | 193 | NotImplemented(); |
| 194 | } | 194 | } |
| 195 | 195 | ||
| 196 | void EmitCompositeExtractF64x4([[maybe_unused]] EmitContext& ctx) { | 196 | void EmitCompositeExtractF64x4([[maybe_unused]] EmitContext& ctx) { |
| 197 | throw NotImplementedException("GLSL Instruction"); | 197 | NotImplemented(); |
| 198 | } | 198 | } |
| 199 | 199 | ||
| 200 | void EmitCompositeInsertF64x2(EmitContext& ctx, std::string_view composite, std::string_view object, | 200 | void EmitCompositeInsertF64x2(EmitContext& ctx, std::string_view composite, std::string_view object, |