Skip to content

How to use -P in glslangValidatorArgs? #76

Description

@yang-le

Hi,

I'm trying to use -P in glslangValidatorArgs, but it doesn't seems to work.
"glsllint.glslangValidatorArgs": "-P\"#extension GL_GOOGLE_include_directive: enable\" -V"

An error reported as below

'string' : End of line in string
"'string literal' : required extension not requested: Possible extensions include:",
'' : compilation terminated

Can anyone help me with how to use -P? Thanks.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions