Skip to content
Open
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 src/bin/02_validation_layers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

#[cfg(all(debug_assertions))]
Expand Down
2 changes: 1 addition & 1 deletion src/bin/02_validation_layers.rs.diff
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
const HEIGHT: u32 = 600;

+const VALIDATION_LAYERS: &[&str] = &[
+ "VK_LAYER_LUNARG_standard_validation"
+ "VK_LAYER_KHRONOS_validation"
+];
+
+#[cfg(all(debug_assertions))]
Expand Down
2 changes: 1 addition & 1 deletion src/bin/03_physical_device_selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

#[cfg(all(debug_assertions))]
Expand Down
2 changes: 1 addition & 1 deletion src/bin/04_logical_device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

#[cfg(all(debug_assertions))]
Expand Down
2 changes: 1 addition & 1 deletion src/bin/05_window_surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

#[cfg(all(debug_assertions))]
Expand Down
2 changes: 1 addition & 1 deletion src/bin/06_swap_chain_creation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/06_swap_chain_creation.rs.diff
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;
@@ -29,6 +38,14 @@ const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

+/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/08_graphics_pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/09_shader_modules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/10_fixed_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/11_render_passes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/12_graphics_pipeline_complete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/13_framebuffers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/14_command_buffers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/15_hello_triangle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/16_swap_chain_recreation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/18_vertex_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/19_staging_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/20_index_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/bin/21_descriptor_layout_and_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const WIDTH: u32 = 800;
const HEIGHT: u32 = 600;

const VALIDATION_LAYERS: &[&str] = &[
"VK_LAYER_LUNARG_standard_validation"
"VK_LAYER_KHRONOS_validation"
];

/// Required device extensions
Expand Down