Further shader compilation development.
This commit is contained in:
21
include/opengl/shading/shader_source_set.hpp
Normal file
21
include/opengl/shading/shader_source_set.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "features/generic_features.hpp"
|
||||
|
||||
namespace zgl::shading
|
||||
{
|
||||
|
||||
struct shader_source_set
|
||||
{
|
||||
|
||||
struct compiled_shader_features_set
|
||||
{
|
||||
features::generic::type static_enabled;
|
||||
features::generic::type dynamic_enable;
|
||||
};
|
||||
|
||||
std::array<compiled_shader_features_set, stage::count> compiled_features{};
|
||||
std::array<std::uint8_t, stage::count> string_counts{};
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user