mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 20:27:59 -05:00
shader: Add pools and rename files
This commit is contained in:
21
src/shader_recompiler/backend/spirv/emit_spirv.h
Normal file
21
src/shader_recompiler/backend/spirv/emit_spirv.h
Normal file
@ -0,0 +1,21 @@
|
||||
// Copyright 2021 yuzu Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "shader_recompiler/frontend/ir/microinstruction.h"
|
||||
#include "shader_recompiler/frontend/ir/program.h"
|
||||
|
||||
namespace Shader::Backend::SPIRV {
|
||||
|
||||
class EmitSPIRV {
|
||||
public:
|
||||
private:
|
||||
// Microinstruction emitters
|
||||
#define OPCODE(name, result_type, ...) void Emit##name(EmitContext& ctx, IR::Inst* inst);
|
||||
#include "shader_recompiler/frontend/ir/opcodes.inc"
|
||||
#undef OPCODE
|
||||
};
|
||||
|
||||
} // namespace Shader::Backend::SPIRV
|
Reference in New Issue
Block a user