mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 02:08:03 -05:00
glsl: Implement some attribute getters and setters
This commit is contained in:
@ -88,6 +88,11 @@ public:
|
||||
Add<Type::F32x2>(format_str, inst, args...);
|
||||
}
|
||||
|
||||
template <typename... Args>
|
||||
void AddF32x4(const char* format_str, IR::Inst& inst, Args&&... args) {
|
||||
Add<Type::F32x4>(format_str, inst, args...);
|
||||
}
|
||||
|
||||
template <typename... Args>
|
||||
void Add(const char* format_str, Args&&... args) {
|
||||
code += fmt::format(format_str, std::forward<Args>(args)...);
|
||||
@ -100,6 +105,10 @@ public:
|
||||
const Info& info;
|
||||
const Profile& profile;
|
||||
|
||||
Stage stage{};
|
||||
std::string_view stage_name = "invalid";
|
||||
std::string_view attrib_name = "invalid";
|
||||
|
||||
private:
|
||||
void SetupExtensions(std::string& header);
|
||||
void DefineConstantBuffers();
|
||||
|
Reference in New Issue
Block a user