Skip to content

1.05

Latest
Compare
Choose a tag to compare
@hyzboy hyzboy released this 18 Feb 08:07
· 9 commits to master since this release

Upgraded SPIRV-Cross to 2023.02.18 and Added GetLimit/SetLimit functions.
Optimized layout of codes marked it easier to read.

struct GLSLCompilerInterface
{
    bool        (*Init)();
    void        (*Close)();

    bool        (*GetLimit)(TBuiltInResource *,const int);
    bool        (*SetLimit)(TBuiltInResource *,const int);

    uint32_t    (*GetType)(const char *ext_name);
    SPVData *   (*Compile)(const uint32_t stage,const char *shader_source, const CompileInfo *compile_info);
    SPVData *   (*CompileFromPath)(const uint32_t stage,const char *shader_filename, const CompileInfo *compile_info);

    void        (*Free)(SPVData *);
};