"ES shaders for SPIR-V require version 310 or higher" when only pre-processing with -E
Open
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 445
- Avg merge
- 11h 6m
- Merged PRs (30d)
- 6
Description
Even though I'm using -E switch for pre-processing only, glslc shows the following error: "ES shaders for SPIR-V require version 310 or higher" for shaders which have #version 300 es as their first line.
I would expect glslc to skip this error check when -E switch is specified.
Workaround for this issue is to specify -std=320es parameter, which disables (hacks around) that error, and (hopefully) does not affect the pre-processing results.
Contributor guide
Assessment
This issue has not been assessed yet.