mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-10 19:17:56 -05:00
shader: Initial implementation of an AST
This commit is contained in:
28
src/shader_recompiler/shader_info.h
Normal file
28
src/shader_recompiler/shader_info.h
Normal file
@ -0,0 +1,28 @@
|
||||
// Copyright 2021 yuzu Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
|
||||
#include <boost/container/static_vector.hpp>
|
||||
|
||||
namespace Shader {
|
||||
|
||||
struct Info {
|
||||
struct ConstantBuffer {
|
||||
|
||||
};
|
||||
|
||||
struct {
|
||||
bool workgroup_id{};
|
||||
bool local_invocation_id{};
|
||||
bool fp16{};
|
||||
bool fp64{};
|
||||
} uses;
|
||||
|
||||
std::array<18
|
||||
};
|
||||
|
||||
} // namespace Shader
|
Reference in New Issue
Block a user