/device/generic/vulkan-cereal/include/glm/gtx/ |
D | component_wise.inl | 9 …template <typename T, typename floatType, precision P, template <typename, precision> class vecTyp… 13 …template <typename T, typename floatType, precision P, template <typename, precision> class vecTyp… 14 struct compute_compNormalize<T, floatType, P, vecType, true, true> 16 GLM_FUNC_QUALIFIER static vecType<floatType, P> call(vecType<T, P> const & v) 18 floatType const Min = static_cast<floatType>(std::numeric_limits<T>::min()); 19 floatType const Max = static_cast<floatType>(std::numeric_limits<T>::max()); 20 …return (vecType<floatType, P>(v) - Min) / (Max - Min) * static_cast<floatType>(2) - static_cast<fl… 24 …template <typename T, typename floatType, precision P, template <typename, precision> class vecTyp… 25 struct compute_compNormalize<T, floatType, P, vecType, true, false> 27 GLM_FUNC_QUALIFIER static vecType<floatType, P> call(vecType<T, P> const & v) [all …]
|
D | component_wise.hpp | 33 …template <typename floatType, typename T, precision P, template <typename, precision> class vecTyp… 34 GLM_FUNC_DECL vecType<floatType, P> compNormalize(vecType<T, P> const & v); 39 …template <typename T, typename floatType, precision P, template <typename, precision> class vecTyp… 40 GLM_FUNC_DECL vecType<T, P> compScale(vecType<floatType, P> const & v);
|
/device/generic/vulkan-cereal/third-party/angle/src/tests/gl_tests/ |
D | CopyTexture3DTest.cpp | 687 for (GLenum floatType : floatTypes) in TEST_P() local 689 if (floatType != GL_UNSIGNED_INT_5_9_9_9_REV && in TEST_P() 690 floatType != GL_UNSIGNED_INT_10F_11F_11F_REV) in TEST_P() 692 testCopy(GL_TEXTURE_3D, GLColor(210, 200, 150, 235), GL_R16F, floatType, false, false, in TEST_P() 694 testCopy(GL_TEXTURE_3D, GLColor(210, 200, 150, 235), GL_R16F, floatType, false, true, in TEST_P() 696 testCopy(GL_TEXTURE_3D, GLColor(210, 200, 150, 235), GL_R16F, floatType, false, false, in TEST_P() 699 testCopy(GL_TEXTURE_3D, GLColor(210, 200, 150, 235), GL_RG16F, floatType, false, false, in TEST_P() 701 testCopy(GL_TEXTURE_3D, GLColor(210, 200, 150, 235), GL_RG16F, floatType, false, true, in TEST_P() 703 testCopy(GL_TEXTURE_3D, GLColor(210, 200, 150, 235), GL_RG16F, floatType, false, false, in TEST_P() 706 testCopy(GL_TEXTURE_3D, GLColor(210, 200, 150, 235), GL_RGB16F, floatType, false, false, in TEST_P() [all …]
|
/device/generic/vulkan-cereal/include/glm/gtc/ |
D | packing.hpp | 493 …template <typename uintType, typename floatType, precision P, template <typename, precision> class… 494 GLM_FUNC_DECL vecType<uintType, P> packUnorm(vecType<floatType, P> const & v); 500 …template <typename uintType, typename floatType, precision P, template <typename, precision> class… 501 GLM_FUNC_DECL vecType<floatType, P> unpackUnorm(vecType<uintType, P> const & v); 507 …template <typename intType, typename floatType, precision P, template <typename, precision> class … 508 GLM_FUNC_DECL vecType<intType, P> packSnorm(vecType<floatType, P> const & v); 514 …template <typename intType, typename floatType, precision P, template <typename, precision> class … 515 GLM_FUNC_DECL vecType<floatType, P> unpackSnorm(vecType<intType, P> const & v);
|
D | packing.inl | 654 …template <typename uintType, typename floatType, precision P, template <typename, precision> class… 655 GLM_FUNC_QUALIFIER vecType<uintType, P> packUnorm(vecType<floatType, P> const & v) argument 658 …GLM_STATIC_ASSERT(std::numeric_limits<floatType>::is_iec559, "floatType must be a floating point t… 660 …ype<uintType, P>(round(clamp(v, static_cast<floatType>(0), static_cast<floatType>(1)) * static_cas… 663 …template <typename uintType, typename floatType, precision P, template <typename, precision> class… 664 GLM_FUNC_QUALIFIER vecType<floatType, P> unpackUnorm(vecType<uintType, P> const & v) 667 …GLM_STATIC_ASSERT(std::numeric_limits<floatType>::is_iec559, "floatType must be a floating point t… 669 …return vecType<float, P>(v) * (static_cast<floatType>(1) / static_cast<floatType>(std::numeric_lim… 672 …template <typename intType, typename floatType, precision P, template <typename, precision> class … 673 GLM_FUNC_QUALIFIER vecType<intType, P> packSnorm(vecType<floatType, P> const & v) argument [all …]
|
/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/tree_ops/ |
D | RewriteCubeMapSamplersAs2DArray.cpp | 498 const TType *floatType = StaticType::GetBasic<EbtFloat>(); in declareCoordTranslationFunction() local 500 TIntermTyped *isNegX = new TIntermBinary(EOpLessThan, x, CreateZeroNode(*floatType)); in declareCoordTranslationFunction() 501 TIntermTyped *isNegY = new TIntermBinary(EOpLessThan, y, CreateZeroNode(*floatType)); in declareCoordTranslationFunction() 502 TIntermTyped *isNegZ = new TIntermBinary(EOpLessThan, z, CreateZeroNode(*floatType)); in declareCoordTranslationFunction() 504 TIntermSymbol *absX = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 505 TIntermSymbol *absY = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 506 TIntermSymbol *absZ = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 584 TIntermSymbol *ma = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 585 TIntermSymbol *l = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 586 TIntermSymbol *uc = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() [all …]
|
D | EmulatePrecision.cpp | 234 std::string floatType = getTypeString("float"); in writeFloatRoundingHelpers() local 238 floatType << " angle_frm(in " << floatType << " x) {\n" in writeFloatRoundingHelpers() 240 " " << floatType << " exponent = floor(log2(abs(x) + 1e-30)) - 10.0;\n" in writeFloatRoundingHelpers() 248 floatType << " angle_frl(in " << floatType << " x) {\n" in writeFloatRoundingHelpers()
|