In the middle of multithreading parsers.
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include "opengl/shading/features/generic_features.hpp"
|
||||
#include "assets/components/shader_components.hpp"
|
||||
|
||||
namespace zgl
|
||||
{
|
||||
struct preprocessed_shader_source_metadata
|
||||
{
|
||||
shading::features::generic::type static_enabled{};
|
||||
shading::features::generic::type dynamic_enable{};
|
||||
shading::features::generic::type string_count{};
|
||||
assets::shader_components::flags static_enabled{};
|
||||
assets::shader_components::flags dynamic_enable{};
|
||||
// Use same integer type as it guarantees good alignment.
|
||||
// (even an unsigned byte should hold the maximum number of defines.)
|
||||
assets::shader_components::flags string_count{};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user