[ShaderJIT] Add logging utility for diffing

This commit is contained in:
wheremyfoodat 2023-06-29 22:02:17 +03:00
parent 84fd0affa8
commit 121653b806
2 changed files with 73 additions and 1 deletions

View file

@ -66,7 +66,8 @@ class ShaderEmitter : public Xbyak::CodeGenerator {
void checkBoolUniform(const PICAShader& shader, u32 instruction);
// Prints a log. This is not meant to be used outside of debugging so it is very slow with our internal ABI.
void printLog(void* ptr);
void emitPrintLog(const PICAShader& shaderUnit);
static void printLog(const PICAShader& shaderUnit);
// Instruction recompilation functions
void recADD(const PICAShader& shader, u32 instruction);