Address review comments

This commit is contained in:
msiglreith 2020-05-05 18:13:07 +02:00
parent e2ed54361d
commit abd238bff3
2 changed files with 7 additions and 7 deletions

View file

@ -208,7 +208,7 @@ impl VkInstance {
None,
)?;
let (_dbg_loader, _dbg_callbk) = if false {
let (_dbg_loader, _dbg_callbk) = if cfg!(debug_assertions) {
let dbg_info = vk::DebugUtilsMessengerCreateInfoEXT::builder()
.message_severity(
vk::DebugUtilsMessageSeverityFlagsEXT::ERROR
@ -504,7 +504,7 @@ impl crate::Device for VkDevice {
/// This creates a pipeline that runs over the buffer.
///
/// The descriptor set layout is just some number of buffers (this will change).
/// The descriptor set layout is just some number of storage buffers and storage images (this might change).
unsafe fn create_simple_compute_pipeline(
&self,
code: &[u8],