aboutsummaryrefslogtreecommitdiff
path: root/samples/config_helper_dawn.cc
diff options
context:
space:
mode:
authorMika Väinölä <33728696+mvainola@users.noreply.github.com>2019-10-28 19:40:06 +0200
committerdan sinclair <dsinclair@google.com>2019-10-28 13:40:06 -0400
commit34bb13d2747ec8c3ba1deca3d1c5c5f5f5dffa45 (patch)
tree2107e51975d2518edbe9b9cdb3ea4570d72c76e8 /samples/config_helper_dawn.cc
parent40fce113d6fec2ee35cf1c3574bcdb8e0129c373 (diff)
downloadamber-34bb13d2747ec8c3ba1deca3d1c5c5f5f5dffa45.tar.gz
Add Vulkan device selection support (#698)
Add the `-D` command line option for selecting a physical Vulkan device to run with. Only choose from enumerated physical devices in ChooseVulkanPhysicalDevice and move feature and extension checks to a new CheckVulkanPhysicalDeviceRequirements function. Issue #619
Diffstat (limited to 'samples/config_helper_dawn.cc')
-rw-r--r--samples/config_helper_dawn.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/config_helper_dawn.cc b/samples/config_helper_dawn.cc
index b160756..6fbb079 100644
--- a/samples/config_helper_dawn.cc
+++ b/samples/config_helper_dawn.cc
@@ -51,6 +51,7 @@ void PrintDeviceError(DawnErrorType errorType, const char* message, void*) {
amber::Result ConfigHelperDawn::CreateConfig(
uint32_t,
uint32_t,
+ int32_t,
const std::vector<std::string>&,
const std::vector<std::string>&,
const std::vector<std::string>&,