mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-27 05:05:51 +00:00
25 lines
417 B
C++
25 lines
417 B
C++
#ifndef GLSLANG_COMPILER_HPP
|
|
#define GLSLANG_COMPILER_HPP
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
#include <stdint.h>
|
|
|
|
namespace glslang
|
|
{
|
|
enum Stage
|
|
{
|
|
StageVertex = 0,
|
|
StageTessControl,
|
|
StageTessEvaluation,
|
|
StageGeometry,
|
|
StageFragment,
|
|
StageCompute
|
|
};
|
|
|
|
bool compile_spirv(const std::string &source, Stage stage, std::vector<uint32_t> *spirv);
|
|
}
|
|
|
|
#endif
|
|
|