20 using Time = std::chrono::system_clock;
21 using TimePoint = std::chrono::time_point<std::chrono::system_clock>;
Definition Compiler.hpp:18
std::chrono::time_point< std::chrono::system_clock > TimePoint
Definition Compiler.hpp:21
void validateArguments(const ShaderInput &inputDesc, const ShaderOutput &outputDesc)
Compiler(Log *log=nullptr)
bool returnWithError(const String &msg)
bool compileShaderPrimary(const ShaderInput &inputDesc, const ShaderOutput &outputDesc, Reflection::ReflectionData *reflectionData)
Log * mLog
Definition Compiler.hpp:34
void warning(const String &msg)
StageTimePoints mTimePoints
Definition Compiler.hpp:35
std::chrono::system_clock Time
Definition Compiler.hpp:20
bool compileShader(const ShaderInput &inputDesc, const ShaderOutput &outputDesc, Reflection::ReflectionData *reflectionData=nullptr, StageTimePoints *stageTimePoints=nullptr)
Log base class.
Definition Log.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
Definition Compiler.hpp:24
TimePoint parser
Definition Compiler.hpp:26
TimePoint analyzer
Definition Compiler.hpp:27
TimePoint optimizer
Definition Compiler.hpp:28
TimePoint preprocessor
Definition Compiler.hpp:25
TimePoint generation
Definition Compiler.hpp:29
TimePoint reflection
Definition Compiler.hpp:30
Structure for shader output statistics (e.g. texture/buffer binding points).
Definition Reflection.hpp:418
Shader output descriptor structure.
Definition ShaderCompiler.hpp:293