KhronosGroup / KhronosGroup/glslang

Add support for --stdout

Open
#1,059 8 comments 15 reactions 0 assignees View on GitHub
enhancement Infrastructure question
Dominant language
C++
Stars
3.6k
Forks
989
Avg merge
1d 2h
Merged PRs (30d)
31

Description

With the recent --stdin option, it would perhaps also be useful to have support for --stdout; so the use of the filesystem can be completely avoided when using `glslangValidator` in a programatic way (e.g. from a build system or via subprocess).

(Additionally, glslang should print errors to stderr, not stdout)

Contributor guide

Open the contributing guide

Research direction

Start with glslangValidator's existing command-line handling for --stdin and trace how input and output streams are selected. Done means --stdout avoids filesystem use for programmatic invocation and errors are emitted on stderr rather than stdout.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.