layout codes.
This commit is contained in:
14
glsl2spv.cpp
14
glsl2spv.cpp
@@ -223,12 +223,12 @@ extern "C"
|
|||||||
|
|
||||||
struct CompileInfo
|
struct CompileInfo
|
||||||
{
|
{
|
||||||
ShaderLanguageType shader_type = ShaderLanguageType::GLSL;
|
ShaderLanguageType shader_type;
|
||||||
const char *entrypoint;
|
const char * entrypoint;
|
||||||
uint32_t includes_count;
|
uint32_t includes_count;
|
||||||
const char **includes;
|
const char ** includes;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class VertexAttribBaseType
|
enum class VertexAttribBaseType
|
||||||
{
|
{
|
||||||
Bool=0,
|
Bool=0,
|
||||||
@@ -605,8 +605,8 @@ extern "C"
|
|||||||
void (*Close)();
|
void (*Close)();
|
||||||
|
|
||||||
uint32_t (*GetType)(const char *ext_name);
|
uint32_t (*GetType)(const char *ext_name);
|
||||||
SPVData * (*Compile)(const uint32_t stage,const char *source, const CompileInfo *compile_info);
|
SPVData * (*Compile)(const uint32_t stage,const char *shader_source, const CompileInfo *compile_info);
|
||||||
SPVData * (*CompileFromPath)(const uint32_t stage,const char *path, const CompileInfo *compile_info);
|
SPVData * (*CompileFromPath)(const uint32_t stage,const char *shader_filename, const CompileInfo *compile_info);
|
||||||
|
|
||||||
void (*Free)(SPVData *);
|
void (*Free)(SPVData *);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user