mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix GL support wrt evaluators
This commit is contained in:
@@ -51,7 +51,7 @@ namespace internal {
|
|||||||
typename Scalar = typename XprType::Scalar, \
|
typename Scalar = typename XprType::Scalar, \
|
||||||
int Rows = XprType::RowsAtCompileTime, \
|
int Rows = XprType::RowsAtCompileTime, \
|
||||||
int Cols = XprType::ColsAtCompileTime, \
|
int Cols = XprType::ColsAtCompileTime, \
|
||||||
bool IsGLCompatible = bool(XprType::Flags&LinearAccessBit) \
|
bool IsGLCompatible = bool(internal::evaluator<XprType>::Flags&LinearAccessBit) \
|
||||||
&& bool(XprType::Flags&DirectAccessBit) \
|
&& bool(XprType::Flags&DirectAccessBit) \
|
||||||
&& (XprType::IsVectorAtCompileTime || (XprType::Flags&RowMajorBit)==0)> \
|
&& (XprType::IsVectorAtCompileTime || (XprType::Flags&RowMajorBit)==0)> \
|
||||||
struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl); \
|
struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl); \
|
||||||
@@ -203,7 +203,7 @@ namespace internal {
|
|||||||
typename Scalar = typename XprType::Scalar, \
|
typename Scalar = typename XprType::Scalar, \
|
||||||
int Rows = XprType::RowsAtCompileTime, \
|
int Rows = XprType::RowsAtCompileTime, \
|
||||||
int Cols = XprType::ColsAtCompileTime, \
|
int Cols = XprType::ColsAtCompileTime, \
|
||||||
bool IsGLCompatible = bool(XprType::Flags&LinearAccessBit) \
|
bool IsGLCompatible = bool(internal::evaluator<XprType>::Flags&LinearAccessBit) \
|
||||||
&& bool(XprType::Flags&DirectAccessBit) \
|
&& bool(XprType::Flags&DirectAccessBit) \
|
||||||
&& (XprType::IsVectorAtCompileTime || (XprType::Flags&RowMajorBit)==0)> \
|
&& (XprType::IsVectorAtCompileTime || (XprType::Flags&RowMajorBit)==0)> \
|
||||||
struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl); \
|
struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl); \
|
||||||
|
|||||||
Reference in New Issue
Block a user