glasm: Implement basic GLASM instructions
This commit is contained in:
parent
c1ba685d9c
commit
6fd190d1ae
10 changed files with 1173 additions and 840 deletions
|
@ -13,13 +13,14 @@
|
|||
|
||||
namespace Shader::IR {
|
||||
class Inst;
|
||||
}
|
||||
struct Program;
|
||||
} // namespace Shader::IR
|
||||
|
||||
namespace Shader::Backend::GLASM {
|
||||
|
||||
class EmitContext {
|
||||
public:
|
||||
explicit EmitContext();
|
||||
explicit EmitContext(IR::Program& program);
|
||||
|
||||
template <typename... Args>
|
||||
void Add(const char* fmt, IR::Inst& inst, Args&&... args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue