Fix placement of SPIRV_CROSS_DEPRECATED.

The [[deprecated]] attribute is supposed to be in front of a typedef,
not after the typedef keyword.
This commit is contained in:
Corentin Wallez 2020-06-19 14:28:00 +02:00
parent d7976b7b24
commit 8aee532f56

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.