- bind the vertex inputs as specified by its vertex buffer format
This commit is contained in:
parent
b0fd5db616
commit
c691a8fe64
6 changed files with 79 additions and 28 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include "vk_builders.h"
|
||||
#include "vk_framebuffer.h"
|
||||
#include "vulkan/renderer/vk_renderstate.h"
|
||||
#include "vulkan/renderer/vk_renderpass.h"
|
||||
#include "doomerrors.h"
|
||||
|
||||
VKBuffer::~VKBuffer()
|
||||
|
|
@ -119,6 +120,7 @@ void VKBuffer::Unlock()
|
|||
|
||||
void VKVertexBuffer::SetFormat(int numBindingPoints, int numAttributes, size_t stride, const FVertexBufferAttribute *attrs)
|
||||
{
|
||||
VertexFormat = GetVulkanFrameBuffer()->GetRenderPassManager()->GetVertexFormat(numBindingPoints, numAttributes, stride, attrs);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue