summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/VertexFormat.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2018-03-16 11:59:14 -0400
committerGitHub <noreply@github.com>2018-03-16 11:59:14 -0400
commit9f4d5122a2a1b2d0dbfd6164a616d1c859ef0d0b (patch)
treeb1abde9e2426fee186ef9ae114d76e03ebaeae3e /Source/Core/VideoBackends/Vulkan/VertexFormat.cpp
parent1259370cdfcc23c0939bb72fb5dcf2e62096192f (diff)
parent50a476c3714b3c423609ec04ce424c244bd2a1c1 (diff)
Merge pull request #6438 from lioncash/assert
Assert: Uppercase assertion macros
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VertexFormat.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/VertexFormat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VertexFormat.cpp b/Source/Core/VideoBackends/Vulkan/VertexFormat.cpp
index c28110c844..3ea824e530 100644
--- a/Source/Core/VideoBackends/Vulkan/VertexFormat.cpp
+++ b/Source/Core/VideoBackends/Vulkan/VertexFormat.cpp
@@ -42,7 +42,7 @@ static VkFormat VarToVkFormat(VarType t, uint32_t components, bool integer)
VK_FORMAT_R32G32B32A32_SFLOAT} // VAR_FLOAT
};
- _assert_(components > 0 && components <= 4);
+ ASSERT(components > 0 && components <= 4);
return integer ? integer_type_lookup[t][components - 1] : float_type_lookup[t][components - 1];
}
@@ -120,7 +120,7 @@ void VertexFormat::SetupInputState()
void VertexFormat::AddAttribute(uint32_t location, uint32_t binding, VkFormat format,
uint32_t offset)
{
- _assert_(m_num_attributes < MAX_VERTEX_ATTRIBUTES);
+ ASSERT(m_num_attributes < MAX_VERTEX_ATTRIBUTES);
m_attribute_descriptions[m_num_attributes].location = location;
m_attribute_descriptions[m_num_attributes].binding = binding;