use hgl_cpy instead memcpy

This commit is contained in:
hyzboy 2020-09-19 18:36:05 +08:00
parent 93c4e39b1a
commit 5d08717c21
4 changed files with 4 additions and 4 deletions

2
CMCore

@ -1 +1 @@
Subproject commit 3e9b703ebcdf4167707d76b6bbdb752eb63de437 Subproject commit 29785b9d2a7160d97c214d689f7c76f2d07b9ce5

@ -1 +1 @@
Subproject commit 51d8086c98b5efeacdf07b3e2f1b5097bc401150 Subproject commit 955cf63c7f911b3a8af2be9a1a0facffdecd34bb

2
res

@ -1 +1 @@
Subproject commit 330af463414de83240bf6290d6f9a52aa5b55af3 Subproject commit 73d977cdbaa2ea287e49943648dbd882c1f9cfff

View File

@ -31,7 +31,7 @@ Material *CreateMaterial(Device *dev,ShaderModuleMap *shader_maps)
for(int i=0;i<shader_count;i++) for(int i=0;i<shader_count;i++)
{ {
sm=(*itp)->right; sm=(*itp)->right;
memcpy(p,sm->GetCreateInfo(),sizeof(VkPipelineShaderStageCreateInfo)); hgl_cpy(p,sm->GetCreateInfo());
dsl_creater->Bind(sm->GetDescriptorList(),sm->GetStage()); dsl_creater->Bind(sm->GetDescriptorList(),sm->GetStage());