Merge pull request #1398 from Kangz/fix-deprecation

Fix placement of SPIRV_CROSS_DEPRECATED.
This commit is contained in:
Hans-Kristian Arntzen 2020-06-19 17:20:06 +02:00 committed by GitHub
commit 7edaea87cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ enum MSLShaderInputFormat
MSL_SHADER_INPUT_FORMAT_INT_MAX = 0x7fffffff
};
typedef SPIRV_CROSS_DEPRECATED("Use MSLShaderInputFormat.") MSLShaderInputFormat MSLVertexFormat;
SPIRV_CROSS_DEPRECATED("Use MSLShaderInputFormat.") typedef MSLShaderInputFormat MSLVertexFormat;
// Defines MSL characteristics of a vertex attribute at a particular location.
// After compilation, it is possible to query whether or not this location was used.