Merge pull request #145 from brenwill/master

CompilerMSL mark the legacy compile() function as deprecated
This commit is contained in:
Hans-Kristian Arntzen 2017-03-22 16:32:32 +01:00 committed by GitHub
commit ecc6ef6937

View File

@ -117,6 +117,7 @@ public:
// This legacy method is deprecated.
typedef Options MSLConfiguration;
SPIRV_CROSS_DEPRECATED("Please use get_options() and set_options() instead.")
std::string compile(MSLConfiguration &msl_cfg, std::vector<MSLVertexAttr> *p_vtx_attrs = nullptr,
std::vector<MSLResourceBinding> *p_res_bindings = nullptr);