moved few values to VKRenderAssign.h

This commit is contained in:
2023-09-06 16:55:04 +08:00
parent 202bff5870
commit d959e7988d
5 changed files with 10 additions and 26 deletions

View File

@@ -3,6 +3,7 @@
#include<hgl/graph/VKDevice.h>
#include<hgl/graph/VKMaterialInstance.h>
#include<hgl/graph/RenderNode.h>
#include<hgl/graph/VKRenderAssign.h>
#include<hgl/graph/mtl/UBOCommon.h>
VK_NAMESPACE_BEGIN
@@ -49,7 +50,7 @@ void RenderAssignBuffer::NodeAlloc(GPUDevice *dev,const uint c)
ubo_l2w=dev->CreateUBO(node_count*sizeof(Matrix4f));
//ubo_mi=dev->CreateUBO(node_count*sizeof(uint8));
vbo_assigns=dev->CreateVBO(VF_V1U16,node_count);
vbo_assigns=dev->CreateVBO(ASSIGN_VBO_FMT,node_count);
}
//void MIAlloc(GPUDevice *dev,const uint c,const uint mis)