Adds Vulkan backend.

Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D4876
This was SVN commit r27412.
This commit is contained in:
vladislavbelov
2023-01-10 20:22:20 +00:00
parent de697397ba
commit 7c84c23114
56 changed files with 8182 additions and 199 deletions
+2 -5
View File
@@ -57,10 +57,7 @@ struct SWavesVertex
CVector3D m_RetreatPosition;
CVector2D m_PerpVect;
u8 m_UV[3];
// pad to a power of two
u8 m_Padding[5];
float m_UV[2];
};
cassert(sizeof(SWavesVertex) == 64);
@@ -143,7 +140,7 @@ void WaterManager::Initialize()
offsetof(SWavesVertex, m_PerpVect), stride,
Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0},
{Renderer::Backend::VertexAttributeStream::UV0,
Renderer::Backend::Format::R8G8_UINT,
Renderer::Backend::Format::R32G32_SFLOAT,
offsetof(SWavesVertex, m_UV), stride,
Renderer::Backend::VertexAttributeRate::PER_VERTEX, 0},