Fix some whitespace
This commit is contained in:
parent
67f1c2904c
commit
2a986b6a87
3 changed files with 75 additions and 77 deletions
|
|
@ -182,8 +182,7 @@ public:
|
||||||
std::string name = "vulkanExample";
|
std::string name = "vulkanExample";
|
||||||
uint32_t apiVersion = VK_API_VERSION_1_0;
|
uint32_t apiVersion = VK_API_VERSION_1_0;
|
||||||
|
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
VkImage image;
|
VkImage image;
|
||||||
VkDeviceMemory mem;
|
VkDeviceMemory mem;
|
||||||
VkImageView view;
|
VkImageView view;
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,7 @@ public:
|
||||||
} vertices;
|
} vertices;
|
||||||
|
|
||||||
// Index buffer
|
// Index buffer
|
||||||
struct
|
struct {
|
||||||
{
|
|
||||||
VkDeviceMemory memory;
|
VkDeviceMemory memory;
|
||||||
VkBuffer buffer;
|
VkBuffer buffer;
|
||||||
uint32_t count;
|
uint32_t count;
|
||||||
|
|
@ -873,7 +872,7 @@ public:
|
||||||
rasterizationState.lineWidth = 1.0f;
|
rasterizationState.lineWidth = 1.0f;
|
||||||
|
|
||||||
// Color blend state describes how blend factors are calculated (if used)
|
// Color blend state describes how blend factors are calculated (if used)
|
||||||
// We need one blend attachment state per color attachment (even if blending is not used
|
// We need one blend attachment state per color attachment (even if blending is not used)
|
||||||
VkPipelineColorBlendAttachmentState blendAttachmentState[1] = {};
|
VkPipelineColorBlendAttachmentState blendAttachmentState[1] = {};
|
||||||
blendAttachmentState[0].colorWriteMask = 0xf;
|
blendAttachmentState[0].colorWriteMask = 0xf;
|
||||||
blendAttachmentState[0].blendEnable = VK_FALSE;
|
blendAttachmentState[0].blendEnable = VK_FALSE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue