diff options
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp index 8e7ad68bd..048b12f38 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp | |||
| @@ -155,16 +155,14 @@ void EmitCompositeExtractF32x2(EmitContext& ctx, IR::Inst& inst, std::string_vie | |||
| 155 | ctx.AddF32("{}={}.{};", inst, composite, SWIZZLE[index]); | 155 | ctx.AddF32("{}={}.{};", inst, composite, SWIZZLE[index]); |
| 156 | } | 156 | } |
| 157 | 157 | ||
| 158 | void EmitCompositeExtractF32x3([[maybe_unused]] EmitContext& ctx, | 158 | void EmitCompositeExtractF32x3(EmitContext& ctx, IR::Inst& inst, std::string_view composite, |
| 159 | [[maybe_unused]] std::string_view composite, | 159 | u32 index) { |
| 160 | [[maybe_unused]] u32 index) { | 160 | ctx.AddF32("{}={}.{};", inst, composite, SWIZZLE[index]); |
| 161 | throw NotImplementedException("GLSL Instruction"); | ||
| 162 | } | 161 | } |
| 163 | 162 | ||
| 164 | void EmitCompositeExtractF32x4([[maybe_unused]] EmitContext& ctx, | 163 | void EmitCompositeExtractF32x4(EmitContext& ctx, IR::Inst& inst, std::string_view composite, |
| 165 | [[maybe_unused]] std::string_view composite, | 164 | u32 index) { |
| 166 | [[maybe_unused]] u32 index) { | 165 | ctx.AddF32("{}={}.{};", inst, composite, SWIZZLE[index]); |
| 167 | throw NotImplementedException("GLSL Instruction"); | ||
| 168 | } | 166 | } |
| 169 | 167 | ||
| 170 | void EmitCompositeInsertF32x2([[maybe_unused]] EmitContext& ctx, | 168 | void EmitCompositeInsertF32x2([[maybe_unused]] EmitContext& ctx, |