将dev_attr从MaterialCreateConfig中移除改到最终的Create函数中。代码能编过,但是static自动注册失效了,待查。
This commit is contained in:
@@ -89,7 +89,7 @@ namespace hgl::graph
|
||||
|
||||
bool AddSampler(const VkShaderStageFlagBits flag_bits,const DescriptorSetType set_type,const SamplerType &st,const AnsiString &name);
|
||||
|
||||
bool CreateShader();
|
||||
bool CreateShader(const GPUDeviceAttribute *dev_attr);
|
||||
};//class MaterialCreateInfo
|
||||
}//namespace mtl
|
||||
}//namespace hgl::graph
|
||||
|
Reference in New Issue
Block a user