/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/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);
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteCubeMapSamplersAs2DArray.cpp | 69 const TType *floatType = StaticType::GetBasic<EbtFloat>(); in IsNeighborNonHelper() local 72 TIntermAggregate::CreateConstructor(*floatType, new TIntermSequence({gl_HelperInvocation})); in IsNeighborNonHelper() 74 GetDiffWithNeighbor(symbolTable, body, dFdxyFine, gl_HelperInvocationAsFloat, floatType); in IsNeighborNonHelper() 99 const TType *floatType = StaticType::GetBasic<EbtFloat>(); in GetLayerFromNonHelperInvocation() local 115 SymbolType::AngleInternal, floatType, true); in GetLayerFromNonHelperInvocation() 121 SymbolType::AngleInternal, floatType, true); in GetLayerFromNonHelperInvocation() 124 SymbolType::AngleInternal, floatType, true); in GetLayerFromNonHelperInvocation() 128 quadSwapHorizontalFloat->addParameter(CreateTempVariable(symbolTable, floatType)); in GetLayerFromNonHelperInvocation() 129 quadSwapVerticalFloat->addParameter(CreateTempVariable(symbolTable, floatType)); in GetLayerFromNonHelperInvocation() 130 quadSwapDiagonalFloat->addParameter(CreateTempVariable(symbolTable, floatType)); in GetLayerFromNonHelperInvocation() [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()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/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 …]
|
/third_party/flutter/skia/third_party/externals/angle2/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 …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RewriteCubeMapSamplersAs2DArray.cpp | 432 const TType *floatType = StaticType::GetBasic<EbtFloat, EbpHigh>(); in declareCoordTranslationFunction() local 434 TIntermTyped *isNegX = new TIntermBinary(EOpLessThan, x, CreateZeroNode(*floatType)); in declareCoordTranslationFunction() 435 TIntermTyped *isNegY = new TIntermBinary(EOpLessThan, y, CreateZeroNode(*floatType)); in declareCoordTranslationFunction() 436 TIntermTyped *isNegZ = new TIntermBinary(EOpLessThan, z, CreateZeroNode(*floatType)); in declareCoordTranslationFunction() 438 TIntermSymbol *absX = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 439 TIntermSymbol *absY = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 440 TIntermSymbol *absZ = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 526 TIntermSymbol *ma = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 527 TIntermSymbol *l = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() 528 TIntermSymbol *uc = new TIntermSymbol(CreateTempVariable(mSymbolTable, floatType)); in declareCoordTranslationFunction() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | CopyTexture3DTest.cpp | 775 for (GLenum floatType : floatTypes) in testFloatFormats() local 777 if (floatType != GL_UNSIGNED_INT_5_9_9_9_REV && in testFloatFormats() 778 floatType != GL_UNSIGNED_INT_10F_11F_11F_REV) in testFloatFormats() 780 testCopy(testTarget, kColor, GL_R16F, floatType, false, false, false, in testFloatFormats() 782 testCopy(testTarget, kColor, GL_R16F, floatType, false, true, false, in testFloatFormats() 784 testCopy(testTarget, kColor, GL_R16F, floatType, false, false, true, in testFloatFormats() 787 testCopy(testTarget, kColor, GL_RG16F, floatType, false, false, false, in testFloatFormats() 789 testCopy(testTarget, kColor, GL_RG16F, floatType, false, true, false, in testFloatFormats() 791 testCopy(testTarget, kColor, GL_RG16F, floatType, false, false, true, in testFloatFormats() 794 testCopy(testTarget, kColor, GL_RGB16F, floatType, false, false, false, in testFloatFormats() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | DriverUniform.cpp | 124 TType *floatType = new TType(EbtFloat, EbpHigh, EvqGlobal, 1, 1); in createEmulatedDepthRangeType() local 126 new TField(floatType, ImmutableString("near"), TSourceLoc(), SymbolType::AngleInternal)); in createEmulatedDepthRangeType() 128 new TField(floatType, ImmutableString("far"), TSourceLoc(), SymbolType::AngleInternal)); in createEmulatedDepthRangeType() 130 new TField(floatType, ImmutableString("diff"), TSourceLoc(), SymbolType::AngleInternal)); in createEmulatedDepthRangeType() 132 depthRangeParamsFields->push_back(new TField(floatType, ImmutableString("reserved"), in createEmulatedDepthRangeType()
|
D | SpecializationConstant.cpp | 201 const TType *floatType = StaticType::GetBasic<EbtFloat, EbpHigh>(); in CreateFloatArrayWithRotationIndex() local 202 TType *typeFloat8 = new TType(*floatType); in CreateFloatArrayWithRotationIndex()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | DeclarePerVertexBlocks.cpp | 286 const TType *floatType = StaticType::GetBasic<EbtFloat, EbpHigh, 1>(); in declarePerVertex() local 289 TType *pointSizeType = new TType(*floatType); in declarePerVertex() 290 TType *clipDistanceType = new TType(*floatType); in declarePerVertex() 291 TType *cullDistanceType = new TType(*floatType); in declarePerVertex()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderLibraryCase.cpp | 541 DataType floatType = getDataTypeFloatScalars(val.dataType); in genVertexShader() local 542 const char* typeStr = getDataTypeName(floatType); in genVertexShader() 753 DataType floatType = getDataTypeFloatScalars(val.dataType); in genFragmentShader() local 754 const char* floatTypeStr = getDataTypeName(floatType); in genFragmentShader() 798 DataType floatType = getDataTypeFloatScalars(val.dataType); in specializeVertexShader() local 799 const char* floatTypeStr = getDataTypeName(floatType); in specializeVertexShader() 861 DataType floatType = getDataTypeFloatScalars(val.dataType); in specializeFragmentShader() local 862 const char* floatTypeStr = getDataTypeName(floatType); in specializeFragmentShader() 927 DataType floatType = getDataTypeFloatScalars(val.dataType); in specializeShaders() local 928 const char* floatTypeStr = getDataTypeName(floatType); in specializeShaders()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsShaderLibraryCase.cpp | 159 const DataType floatType = getDataTypeFloatScalars(basicType); in genVertexShader() local 160 const char* const typeStr = getDataTypeName(floatType); in genVertexShader() 259 const DataType floatType = getDataTypeFloatScalars(basicType); in genFragmentShader() local 260 const char* const floatTypeStr = getDataTypeName(floatType); in genFragmentShader() 305 const DataType floatType = getDataTypeFloatScalars(basicType); in specializeVertexShader() local 306 const char* const floatTypeStr = getDataTypeName(floatType); in specializeVertexShader() 326 const DataType floatType = getDataTypeFloatScalars(basicType); in specializeVertexShader() local 327 const char* const floatTypeStr = getDataTypeName(floatType); in specializeVertexShader() 380 const DataType floatType = getDataTypeFloatScalars(basicType); in specializeFragmentShader() local 381 const char* const floatTypeStr = getDataTypeName(floatType); in specializeFragmentShader() [all …]
|
/third_party/vk-gl-cts/framework/randomshaders/ |
D | rsgBinaryOps.cpp | 151 VariableType floatType = VariableType(VariableType::TYPE_FLOAT, 1); in CustomBinaryOp() local 152 m_leftValueRange = ValueRange(floatType); in CustomBinaryOp() 153 m_rightValueRange = ValueRange(floatType); in CustomBinaryOp() 243 VariableType floatType(VariableType::TYPE_FLOAT, 1); in createNextChild() local 244 if (m_rightValueRange.getType() == floatType) in createNextChild() 263 VariableType floatType(VariableType::TYPE_FLOAT, 1); in createNextChild() local 264 if (m_leftValueRange.getType() == floatType) in createNextChild() 283 VariableType floatType(VariableType::TYPE_FLOAT, 1); in createNextChild() local 284 if (m_leftValueRange.getType() == floatType) in createNextChild()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmFloatControlsTests.cpp | 1031 FloatType floatType() const; 1044 FloatType TypeTestResultsBase::floatType() const in floatType() function in vkt::SpirVAssembly::__anon092f1a8c0111::TypeTestResultsBase 2137 bool isFP16 = typeTestResults->floatType() == FP16; in build() 2232 bool isFP64 = typeTestResults->floatType() == FP64; in build() 2357 if (typeTestResults->floatType() == FP16) in build() 2393 else if (typeTestResults->floatType() == FP32) in build() 2812 FloatType floatType, 3156 FloatType floatType, 3309 …ationTests(TestCaseGroup* parentGroup, const char* groupName, FloatType floatType, bool argumentsF… in createOperationTests() argument 3316 m_operationTestCaseBuilder.build(testCases, m_typeData[floatType].testResults, argumentsFromInput); in createOperationTests() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 989 const glu::DataType floatType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in BitsToFloatCase() local 992 m_spec.outputs.push_back(Symbol("out0", glu::VarType(floatType, glu::PRECISION_HIGHP))); in BitsToFloatCase()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSeparateShaderTests.cpp | 215 DataType floatType = getDataTypeFloatScalars(basicType); in printInputColor() local 216 exp = string() + "(" + getDataTypeName(floatType) + "(" + exp + ") / 255.0" + ")"; in printInputColor()
|
D | es31fShaderCommonFunctionTests.cpp | 1075 const glu::DataType floatType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in BitsToFloatCase() local 1078 m_spec.outputs.push_back(Symbol("out0", glu::VarType(floatType, glu::PRECISION_HIGHP))); in BitsToFloatCase()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderOperatorTests.cpp | 976 string floatType = ""; in setupShaderData() local 980 floatType = "float"; in setupShaderData() 982 floatType = "vec" + string(1, static_cast<char>('0' + outScalarSize)); in setupShaderData() 999 op << "\t\tlsb = " << outTypeName << "(log2(" << floatType << "(diff)));\n"; in setupShaderData() 1026 op << "\tcolor." << s_outSwizzles[outScalarSize-1] << " = " << floatType << "(res);\n"; in setupShaderData()
|
D | es3fShaderCommonFunctionTests.cpp | 995 const glu::DataType floatType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in BitsToFloatCase() local 998 m_spec.outputs.push_back(Symbol("out0", glu::VarType(floatType, glu::PRECISION_HIGHP))); in BitsToFloatCase()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Program.cpp | 499 static GLenum floatType[] = { GL_FLOAT, GL_FLOAT_VEC2, GL_FLOAT_VEC3, GL_FLOAT_VEC4 }; in setUniformfv() local 520 if(targetUniform->type == floatType[index]) in setUniformfv()
|