Fixed Cuda build, no support of __declspec(align(alignment))
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
#if !GLM_HAS_ALIGNED_TYPE
|
||||
# error "GLM: Aligned types are not supported on this platform"
|
||||
#endif
|
||||
#if GLM_COMPILER & GLM_COMPILER_CUDA
|
||||
# error "GLM: GTC_type_aligned is not supported on Cuda due to lack of __declspec(align(alignment)) support, issue #539"
|
||||
#endif
|
||||
|
||||
#if(defined(GLM_MESSAGES) && !defined(glm_ext))
|
||||
# pragma message("GLM: GLM_GTC_type_aligned extension included")
|
||||
@@ -30,8 +33,6 @@ namespace glm
|
||||
template <typename T, precision P> struct tvec2;
|
||||
template <typename T, precision P> struct tvec3;
|
||||
template <typename T, precision P> struct tvec4;
|
||||
|
||||
|
||||
/// @addtogroup gtc_type_aligned
|
||||
/// @{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user