Refactor configuration macros
This commit is contained in:
@@ -20,7 +20,7 @@ namespace
|
||||
case glm::highp: os << "uhi"; break;
|
||||
case glm::mediump: os << "umd"; break;
|
||||
case glm::lowp: os << "ulo"; break;
|
||||
# if GLM_USE_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
# if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
case glm::aligned_highp: os << "ahi"; break;
|
||||
case glm::aligned_mediump: os << "amd"; break;
|
||||
case glm::aligned_lowp: os << "alo"; break;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <glm/ext/vector_relational.hpp>
|
||||
#include <glm/glm.hpp>
|
||||
/*
|
||||
#if GLM_USE_SIMD == GLM_ENABLE && GLM_USE_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
#if GLM_CONFIG_SIMD == GLM_ENABLE && GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
|
||||
namespace glm
|
||||
{
|
||||
@@ -116,7 +116,7 @@ int main()
|
||||
{
|
||||
int Error = 0;
|
||||
/*
|
||||
# if GLM_USE_SIMD == GLM_ENABLE && GLM_USE_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
# if GLM_CONFIG_SIMD == GLM_ENABLE && GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE
|
||||
Error += test_vec4_load();
|
||||
# endif
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user