glsl: Use NotImplemented macro with function name output

This commit is contained in:
ameerj 2021-05-31 12:53:40 -04:00
parent 3a024b3026
commit df53046d68
10 changed files with 103 additions and 104 deletions

View file

@ -21,6 +21,8 @@ class EmitContext;
inline void EmitSetLoopSafetyVariable(EmitContext&) {}
inline void EmitGetLoopSafetyVariable(EmitContext&) {}
#define NotImplemented() throw NotImplementedException("GLSL instruction {}", __func__)
// Microinstruction emitters
void EmitPhi(EmitContext& ctx, IR::Inst& inst);
void EmitVoid(EmitContext& ctx);