aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.h
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-01-26 12:16:30 -0700
committerMark Lobodzinski <mark@lunarg.com>2017-01-26 13:42:36 -0700
commit2dbc2668169e3aa0920615f3d9078a904827ee25 (patch)
treed1bbe0a79bd08b7583de761b34370ce8a024eb9b /layers/core_validation.h
parenta5eea415de5d59186dcbd74f76a5bcdf8ffed8de (diff)
downloadusermoji-2dbc2668169e3aa0920615f3d9078a904827ee25.tar.xz
repo: Clang-format c/cpp/h LVL files using LLVM
Bring all source files in the repo up to date with consistent coding style/standard. Change-Id: Iceedbc17109974d3a0437fc4995441c9ad7e0c23
Diffstat (limited to 'layers/core_validation.h')
-rw-r--r--layers/core_validation.h35
1 files changed, 17 insertions, 18 deletions
diff --git a/layers/core_validation.h b/layers/core_validation.h
index fe850ec3..dc0e0ff1 100644
--- a/layers/core_validation.h
+++ b/layers/core_validation.h
@@ -69,21 +69,21 @@
struct CHECK_DISABLED {
bool command_buffer_state;
bool create_descriptor_set_layout;
- bool destroy_buffer_view; // Skip validation at DestroyBufferView time
- bool destroy_image_view; // Skip validation at DestroyImageView time
- bool destroy_pipeline; // Skip validation at DestroyPipeline time
- bool destroy_descriptor_pool; // Skip validation at DestroyDescriptorPool time
- bool destroy_framebuffer; // Skip validation at DestroyFramebuffer time
- bool destroy_renderpass; // Skip validation at DestroyRenderpass time
- bool destroy_image; // Skip validation at DestroyImage time
- bool destroy_sampler; // Skip validation at DestroySampler time
- bool destroy_command_pool; // Skip validation at DestroyCommandPool time
- bool destroy_event; // Skip validation at DestroyEvent time
- bool free_memory; // Skip validation at FreeMemory time
- bool object_in_use; // Skip all object in_use checking
- bool idle_descriptor_set; // Skip check to verify that descriptor set is no in-use
- bool push_constant_range; // Skip push constant range checks
- bool free_descriptor_sets; // Skip validation prior to vkFreeDescriptorSets()
+ bool destroy_buffer_view; // Skip validation at DestroyBufferView time
+ bool destroy_image_view; // Skip validation at DestroyImageView time
+ bool destroy_pipeline; // Skip validation at DestroyPipeline time
+ bool destroy_descriptor_pool; // Skip validation at DestroyDescriptorPool time
+ bool destroy_framebuffer; // Skip validation at DestroyFramebuffer time
+ bool destroy_renderpass; // Skip validation at DestroyRenderpass time
+ bool destroy_image; // Skip validation at DestroyImage time
+ bool destroy_sampler; // Skip validation at DestroySampler time
+ bool destroy_command_pool; // Skip validation at DestroyCommandPool time
+ bool destroy_event; // Skip validation at DestroyEvent time
+ bool free_memory; // Skip validation at FreeMemory time
+ bool object_in_use; // Skip all object in_use checking
+ bool idle_descriptor_set; // Skip check to verify that descriptor set is no in-use
+ bool push_constant_range; // Skip push constant range checks
+ bool free_descriptor_sets; // Skip validation prior to vkFreeDescriptorSets()
bool allocate_descriptor_sets; // Skip validation prior to vkAllocateDescriptorSets()
bool update_descriptor_sets; // Skip validation prior to vkUpdateDescriptorSets()
bool wait_for_fences;
@@ -236,7 +236,7 @@ struct GpuQueue {
uint32_t queue_family_index;
};
-inline bool operator==(GpuQueue const & lhs, GpuQueue const & rhs) {
+inline bool operator==(GpuQueue const &lhs, GpuQueue const &rhs) {
return (lhs.gpu == rhs.gpu && lhs.queue_family_index == rhs.queue_family_index);
}
@@ -255,6 +255,5 @@ struct SURFACE_STATE {
std::unordered_map<GpuQueue, bool> gpu_queue_support;
SURFACE_STATE() {}
- SURFACE_STATE(VkSurfaceKHR surface)
- : surface(surface) {}
+ SURFACE_STATE(VkSurfaceKHR surface) : surface(surface) {}
};