codes layout.

This commit is contained in:
hyzboy 2021-11-26 10:00:20 +08:00
parent 08ea3e9479
commit c4f393d176

View File

@ -107,6 +107,7 @@ Material *GPUDevice::CreateMaterial(const UTF8String &mtl_name,ShaderModuleMap *
data->vab =data->vertex_sm->CreateVertexAttributeBinding();
CreateShaderStageList(data->shader_stage_list,shader_maps);
data->pipeline_layout_data=pld;
data->mp.m=CreateMP(mds,pld,DescriptorSetsType::Material );
data->mp.r=CreateMP(mds,pld,DescriptorSetsType::Renderable );