aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordan sinclair <dj2@everburning.com>2019-02-20 15:00:04 -0500
committerGitHub <noreply@github.com>2019-02-20 15:00:04 -0500
commitff296ea40354da2f891b27dbd52a3d1685e31d8b (patch)
treec34158fa84317463b43f9393452d4eea819bdded /include
parentf2a13b59ad5cbff97c7a672e59766291a2eddaee (diff)
downloadamber-ff296ea40354da2f891b27dbd52a3d1685e31d8b.tar.gz
Add -ps option to allow compiling shaders. (#303)
This CL adds a -ps option to the sample app to allow parsing the script and creating the pipeline. This will cause the driver SPIR-V compiler to execute. The script is not run against the engine (and the engine is not created).
Diffstat (limited to 'include')
-rw-r--r--include/amber/amber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/amber/amber.h b/include/amber/amber.h
index 56de8d1..5b55164 100644
--- a/include/amber/amber.h
+++ b/include/amber/amber.h
@@ -61,6 +61,8 @@ struct Options {
std::string spv_env;
/// Lists the buffers to extract at the end of the execution
std::vector<BufferInfo> extractions;
+ /// Terminate after creating the pipelines.
+ bool pipeline_create_only;
};
/// Main interface to the Amber environment.