Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion attachments/02_validation_layers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/03_physical_device_selection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/04_logical_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/05_window_surface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/06_swap_chain_creation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/07_image_views.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/08_graphics_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/09_shader_modules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/10_fixed_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/12_graphics_pipeline_complete.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/14_command_buffers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/15_hello_triangle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import vulkan_hpp;
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/16_frames_in_flight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/17_swap_chain_recreation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/18_vertex_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/19_vertex_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/20_staging_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/21_index_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/22_descriptor_layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/23_descriptor_sets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/24_texture_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/25_sampler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/26_texture_mapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/27_depth_buffering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/28_model_loading.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const std::string MODEL_PATH = "models/viking_room.obj";
const std::string TEXTURE_PATH = "textures/viking_room.png";
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/29_mipmapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const std::string MODEL_PATH = "models/viking_room.obj";
const std::string TEXTURE_PATH = "textures/viking_room.png";
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/30_multisampling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const std::string MODEL_PATH = "models/viking_room.obj";
const std::string TEXTURE_PATH = "textures/viking_room.png";
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/31_compute_shader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ constexpr uint32_t PARTICLE_COUNT = 8192;

constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion attachments/38_ray_tracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ constexpr uint64_t FenceTimeout = 100000000;
const std::string MODEL_PATH = "models/plant_on_table.obj";
constexpr int MAX_FRAMES_IN_FLIGHT = 2;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ is part of the c{pp} standard and means "not debug".
constexpr uint32_t WIDTH = 800;
constexpr uint32_t HEIGHT = 600;

const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
2 changes: 1 addition & 1 deletion en/12_Ecosystem_Utilities_and_Compatibility.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ In many Vulkan applications, validation layers are enabled programmatically duri
[,c++]
----
// Define validation layers
const std::vector validationLayers = {
const std::vector<char const*> validationLayers = {
"VK_LAYER_KHRONOS_validation"
};

Expand Down
Loading