mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
Fix GL support wrt evaluators
This commit is contained in:
parent
433bce5c3a
commit
6ccf97f3e6
@ -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); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user