Skip to content

Commit

Permalink
WIP: fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe2933 committed Aug 29, 2024
1 parent e147255 commit 16f8b00
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion test/swapchain-msaa-triangle/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
#include <cstdint>
#include <algorithm>
#include <array>
#include <format>
#include <ranges>
#include <span>
#include <stdexcept>
#include <tuple>
#include <variant>
#include <vector>
#ifdef _MSC_VER
#include <string_view>
#endif
Expand Down Expand Up @@ -62,7 +66,7 @@ struct Queues {

struct Gpu : vku::Gpu<QueueFamilies, Queues> {
explicit Gpu(const vk::raii::Instance &instance [[clang::lifetimebound]], vk::SurfaceKHR surface)
: vku::Gpu<QueueFamilies, Queues> { instance, vku::Gpu<QueueFamilies, Queues>::Config {
: vku::Gpu<QueueFamilies, Queues> { instance, vku::Gpu<QueueFamilies, Queues>::Config<vk::PhysicalDeviceDynamicRenderingFeatures, vk::PhysicalDeviceSynchronization2Features> {
.verbose = true,
.deviceExtensions = {
vk::KHRMultiviewExtensionName,
Expand Down
6 changes: 5 additions & 1 deletion test/swapchain-triangle/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
#include <cstdint>
#include <algorithm>
#include <array>
#include <format>
#include <ranges>
#include <span>
#include <stdexcept>
#include <tuple>
#include <variant>
#include <vector>
#ifdef _MSC_VER
#include <string_view>
#endif
Expand Down Expand Up @@ -62,7 +66,7 @@ struct Queues {

struct Gpu : vku::Gpu<QueueFamilies, Queues> {
explicit Gpu(const vk::raii::Instance &instance [[clang::lifetimebound]], vk::SurfaceKHR surface)
: vku::Gpu<QueueFamilies, Queues> { instance, vku::Gpu<QueueFamilies, Queues>::Config {
: vku::Gpu<QueueFamilies, Queues> { instance, vku::Gpu<QueueFamilies, Queues>::Config<vk::PhysicalDeviceDynamicRenderingFeatures> {
.verbose = true,
.deviceExtensions = {
vk::KHRMultiviewExtensionName,
Expand Down

0 comments on commit 16f8b00

Please sign in to comment.