glsl: Use NotImplemented macro with function name output
This commit is contained in:
parent
3a024b3026
commit
df53046d68
10 changed files with 103 additions and 104 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue