mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 19:55:46 +00:00
spirv: Fixes and Intel specific workarounds
This commit is contained in:
parent
e755a13d06
commit
16a5b4f494
11 changed files with 44 additions and 32 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include "shader_recompiler/frontend/ir/program.h"
|
||||
#include "shader_recompiler/shader_info.h"
|
||||
#include "shader_recompiler/profile.h"
|
||||
|
||||
namespace Shader::Backend::SPIRV {
|
||||
|
||||
|
@ -30,11 +31,13 @@ private:
|
|||
|
||||
class EmitContext final : public Sirit::Module {
|
||||
public:
|
||||
explicit EmitContext(IR::Program& program);
|
||||
explicit EmitContext(const Profile& profile, IR::Program& program);
|
||||
~EmitContext();
|
||||
|
||||
[[nodiscard]] Id Def(const IR::Value& value);
|
||||
|
||||
const Profile& profile;
|
||||
|
||||
Id void_id{};
|
||||
Id U1{};
|
||||
Id U16{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue