aboutsummaryrefslogtreecommitdiff
path: root/samples/amber.cc
diff options
context:
space:
mode:
authorDavid Neto <dneto@google.com>2020-02-06 15:22:55 +0100
committerGitHub <noreply@github.com>2020-02-06 09:22:55 -0500
commit40dd9da0ab451e6f6948182fbcc0bdb6e450f0b6 (patch)
tree6c4cba26999baaba9709b2ded98dc24395151d86 /samples/amber.cc
parentb3fad371d0e5786b10d38f625679ad8ff8a8375e (diff)
downloadamber-40dd9da0ab451e6f6948182fbcc0bdb6e450f0b6.tar.gz
Support targeting Vulkan 1.2 and SPIR-V 1.5 (#781)
Also, now that Vulkan 1.2 exists, the proper target API for "spv1.4" is Vulkan 1.2 because Vulkan 1.1 supports SPIR-V 1.4 when you also use extension VK_KHR_spirv_1_4.
Diffstat (limited to 'samples/amber.cc')
-rw-r--r--samples/amber.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/amber.cc b/samples/amber.cc
index 19e5182..221da50 100644
--- a/samples/amber.cc
+++ b/samples/amber.cc
@@ -78,7 +78,7 @@ const char kUsage[] = R"(Usage: amber [options] SCRIPT [SCRIPTS...]
-d -- Disable validation layers.
-D <ID> -- ID of device to run with (Vulkan only).
-f <value> -- Sets the fence timeout value to |value|
- -t <spirv_env> -- The target SPIR-V environment e.g., spv1.3, vulkan1.1.
+ -t <spirv_env> -- The target SPIR-V environment e.g., spv1.3, vulkan1.1, vulkan1.2.
If a SPIR-V environment, assume the lowest version of Vulkan that
requires support of that version of SPIR-V.
If a Vulkan environment, use the highest version of SPIR-V required