Home
last modified time | relevance | path

Searched refs:isFloat (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/skia/src/sksl/ir/
DSkSLLiteral.h37 SkASSERT(type->isFloat()); in MakeFloat()
70 if (type->isFloat()) { in Make()
81 SkASSERT(this->type().isFloat()); in floatValue()
100 if (this->type().isFloat()) { in description()
DSkSLFunctionCall.cpp48 SkASSERT(expr.type().componentType().isFloat()); in type_check_expression()
269 if (type.isFloat()) { in evaluate_intrinsic_numeric()
289 if (type.isFloat()) { in evaluate_pairwise_intrinsic()
313 if (type.isFloat()) { in evaluate_3_way_intrinsic()
556 if (numericType.isFloat()) { in optimize_intrinsic_call()
/third_party/flutter/skia/src/sksl/ir/
DSkSLConstructor.h36 if (fType.isFloat()) { in constantPropagate()
95 bool isFloat = c.fType.columns() > 1 ? c.fType.componentType().isFloat() in compareConstant() local
96 : c.fType.isFloat(); in compareConstant()
98 if (isFloat) { in compareConstant()
DSkSLFloatLiteral.h41 if (target.isFloat()) { in coercionCost()
DSkSLIntLiteral.h48 if (target.isSigned() || target.isUnsigned() || target.isFloat()) { in coercionCost()
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsPartitionedTests.cpp186 bool isFloat = false; in getIdentity() local
215 isFloat = true; in getIdentity()
240 if (isFloat) in getIdentity()
260 if (isFloat) in getIdentity()
897 bool isFloat = false; in createSubgroupsPartitionedTests() local
911 isFloat = true; in createSubgroupsPartitionedTests()
940 if (isFloat && isBitwiseOp) in createSubgroupsPartitionedTests()
DglcSubgroupsClusteredTests.cpp180 bool isFloat = false; in getIdentity() local
209 isFloat = true; in getIdentity()
228 if (isFloat) in getIdentity()
246 if (isFloat) in getIdentity()
788 bool isFloat = false; in createSubgroupsClusteredTests() local
802 isFloat = true; in createSubgroupsClusteredTests()
825 if (isFloat && isBitwiseOp) in createSubgroupsClusteredTests()
DglcSubgroupsArithmeticTests.cpp236 bool isFloat = false; in getIdentity() local
265 isFloat = true; in getIdentity()
290 if (isFloat) in getIdentity()
310 if (isFloat) in getIdentity()
960 bool isFloat = false; in createSubgroupsArithmeticTests() local
974 isFloat = true; in createSubgroupsArithmeticTests()
1003 if (isFloat && isBitwiseOp) in createSubgroupsArithmeticTests()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsScanHelpers.cpp157 const bool isFloat = subgroups::isFormatFloat(format); in getIdentity() local
171 if (isFloat) in getIdentity()
220 if (isFloat) in getIdentity()
DvktSubgroupsClusteredTests.cpp336 const bool isFloat = subgroups::isFormatFloat(format); in createSubgroupsClusteredTests() local
345 if (isFloat && isBitwiseOp) in createSubgroupsClusteredTests()
409 const bool isFloat = subgroups::isFormatFloat(format); in createSubgroupsClusteredTests() local
418 if (isFloat && isBitwiseOp) in createSubgroupsClusteredTests()
DvktSubgroupsArithmeticTests.cpp409 const bool isFloat = subgroups::isFormatFloat(format); in createSubgroupsArithmeticTests() local
419 if (isFloat && isBitwiseOp) in createSubgroupsArithmeticTests()
486 const bool isFloat = subgroups::isFormatFloat(format); in createSubgroupsArithmeticTests() local
496 if (isFloat && isBitwiseOp) in createSubgroupsArithmeticTests()
DvktSubgroupsPartitionedTests.cpp460 const bool isFloat = subgroups::isFormatFloat(format); in createSubgroupsPartitionedTests() local
470 if (isFloat && isBitwiseOp) in createSubgroupsPartitionedTests()
537 const bool isFloat = subgroups::isFormatFloat(format); in createSubgroupsPartitionedTests() local
547 if (isFloat && isBitwiseOp) in createSubgroupsPartitionedTests()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DVertexFormatTests.cpp198 std::string ShaderTypeGenerator(bool isFloat, in ShaderTypeGenerator() argument
203 if (isFloat || isNormalized) { in ShaderTypeGenerator()
211 if (isNormalized || isFloat) { in ShaderTypeGenerator()
224 bool isFloat = IsFloatFormat(format); in MakeTestPipeline() local
227 bool isInputTypeFloat = isFloat || isNormalized; in MakeTestPipeline()
234 ShaderTypeGenerator(isFloat, isNormalized, isUnsigned, componentCount); in MakeTestPipeline()
235 std::string expectedDataType = ShaderTypeGenerator(isFloat, isNormalized, isUnsigned, 1); in MakeTestPipeline()
/third_party/skia/third_party/externals/oboe/src/common/
DQuirksManager.cpp125 const bool isFloat = builder.getFormat() == AudioFormat::Float; in isConversionNeeded() local
162 if (isFloat in isConversionNeeded()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h59 constexpr bool isFloat() const;
207 constexpr bool Format::isFloat() const in isFloat() function
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DVertexFormatTests.cpp201 std::string ShaderTypeGenerator(bool isFloat, in ShaderTypeGenerator() argument
206 if (isFloat || isNormalized) { in ShaderTypeGenerator()
224 bool isFloat = IsFloatFormat(format); in MakeTestPipeline() local
227 bool isInputTypeFloat = isFloat || isNormalized; in MakeTestPipeline()
234 ShaderTypeGenerator(isFloat, isNormalized, isUnsigned, componentCount); in MakeTestPipeline()
235 std::string expectedDataType = ShaderTypeGenerator(isFloat, isNormalized, isUnsigned, 1); in MakeTestPipeline()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DFormat.h62 constexpr bool isFloat() const;
223 constexpr bool Format::isFloat() const in isFloat() function
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFragmentOutputTests.cpp185 bool isFloat = glu::isDataTypeFloatOrVec(output.type); in createProgram() local
186 const char* interp = isFloat ? "smooth" : "flat"; in createProgram()
187 const char* interpPrec = isFloat ? "highp" : outputPrec; in createProgram()
628 bool isFloat = glu::isDataTypeFloatOrVec(output.type); in iterate() local
643 if (isFloat) in iterate()
780 bool isFloat = glu::isDataTypeFloatOrVec(output.type); in iterate() local
784 deUint32 glScalarType = isFloat ? GL_FLOAT : in iterate()
797 if (isFloat) in iterate()
843 const bool isFloat = glu::isDataTypeFloatOrVec(output.type); in iterate() local
863 else if (isFloat) in iterate()
[all …]
/third_party/vk-gl-cts/framework/randomshaders/
DrsgUtils.cpp132 bool isFloat = valueRange.getType().getBaseType() == VariableType::TYPE_FLOAT; in isUndefinedValueRange() local
133 Scalar infMin = isFloat ? Scalar::min<float>() : Scalar::min<int>(); in isUndefinedValueRange()
134 Scalar infMax = isFloat ? Scalar::max<float>() : Scalar::max<int>(); in isUndefinedValueRange()
/third_party/flatbuffers/ts/flexbuffers/
Dreference.ts36isFloat(): boolean { return ValueType.FLOAT === this.valueType || ValueType.INDIRECT_FLOAT === thi… method in Reference
37 isInt(): boolean { return this.isNumber() && !this.isFloat(); }
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputSPIRV.cpp2282 const bool isFloat = basicType == EbtFloat || basicType == EbtDouble; in visitOperator() local
2312 if (isFloat) in visitOperator()
2333 if (isFloat) in visitOperator()
2342 if (isFloat) in visitOperator()
2350 if (isFloat) in visitOperator()
2357 if (isFloat) in visitOperator()
2365 if (isFloat) in visitOperator()
2372 if (isFloat) in visitOperator()
2393 if (isFloat) in visitOperator()
2402 if (isFloat) in visitOperator()
[all …]
/third_party/skia/src/sksl/dsl/priv/
DDSLFPs.cpp37 SkASSERT(expr->type().componentType().isFloat()); in SampleChild()
/third_party/skia/src/sksl/dsl/
DDSLType.cpp187 bool DSLType::isFloat() const { in isFloat() function in SkSL::dsl::DSLType
188 return this->skslType().isFloat(); in isFloat()
/third_party/skia/src/sksl/
DSkSLConstantFolder.cpp505 if (leftType.componentType().isFloat()) { in Simplify()
519 if (rightType.isFloat()) { in Simplify()
534 if (leftType.isFloat()) { in Simplify()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeShaderImageLoadStoreTests.cpp216 bool isFloat = false; in getOtherFunctionArguments() local
225 isFloat = true; in getOtherFunctionArguments()
263 return isFloat ? ", 1.0" : ", 1"; in getOtherFunctionArguments()

1234