Refactor the CMakeLists for all the samples; use vulkan.hpp/vulkan_raii.hpp as precompiled header.

This commit is contained in:
asuessenbach
2022-08-10 11:19:06 +02:00
parent 1a64b5fcc0
commit 5480d192f5
200 changed files with 299 additions and 2068 deletions

View File

@@ -25,9 +25,8 @@
// unknow compiler... just ignore the warnings for yourselves ;)
#endif
#include "vulkan/vulkan.hpp"
#include <iostream>
#include <vulkan/vulkan.hpp>
void fct( vk::ArrayProxyNoTemporaries<int> /*ap*/ ) {}
@@ -270,7 +269,7 @@ int main( int /*argc*/, char ** /*argv*/ )
vk::ArrayProxyNoTemporaries<const int> ap24 = {};
assert( ap24.size() == 0 );
//vk::ArrayProxyNoTemporaries<const int> ap25 = { 0, 1 }; // not supported
// vk::ArrayProxyNoTemporaries<const int> ap25 = { 0, 1 }; // not supported
vk::ArrayProxyNoTemporaries<const int> ap26 = il1;
assert( ap26.size() == 2 );