Skip to content

Can't use #include in shader #320

@LBV2012-26

Description

@LBV2012-26

I want to include other glsl file instead of copy them from different shader source, but when using #include, it display "'#include' : required extension not requested: GL_GOOGLE_include_directive", however after adding "#extension GL_GOOGLE_include_directive : require (or enable)", shader just compiled failed and no any errors. It also can't convert to spir-v format, only blank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions