Searched refs:fBool_Type (Results 1 – 8 of 8) sorted by relevance
/external/skia/tests/ |
D | SkSLMemoryLayoutTest.cpp | 28 REPORTER_ASSERT(r, 1 == layout.size(*context.fBool_Type)); in DEF_TEST() 45 REPORTER_ASSERT(r, 1 == layout.alignment(*context.fBool_Type)); in DEF_TEST() 67 fields1.emplace_back(SkSL::Modifiers(), SkString("c"), context.fBool_Type.get()); in DEF_TEST() 109 REPORTER_ASSERT(r, 1 == layout.size(*context.fBool_Type)); in DEF_TEST() 126 REPORTER_ASSERT(r, 1 == layout.alignment(*context.fBool_Type)); in DEF_TEST() 148 fields1.emplace_back(SkSL::Modifiers(), SkString("c"), context.fBool_Type.get()); in DEF_TEST()
|
/external/skia/src/sksl/ |
D | SkSLContext.h | 41 , fBool_Type(new Type(String("bool"), false)) 42 , fBVec2_Type(new Type(String("bvec2"), *fBool_Type, 2)) 43 , fBVec3_Type(new Type(String("bvec3"), *fBool_Type, 3)) 44 , fBVec4_Type(new Type(String("bvec4"), *fBool_Type, 4)) 127 , fGenBType_Type(new Type(String("$genBType"), { fBool_Type.get(), fBVec2_Type.get(), 184 const std::unique_ptr<Type> fBool_Type; variable
|
D | SkSLIRGenerator.cpp | 313 *fContext.fBool_Type); in convertIf() 357 test = this->coerce(this->convertExpression(*f.fTest), *fContext.fBool_Type); in convertFor() 382 *fContext.fBool_Type); in convertWhile() 397 *fContext.fBool_Type); in convertDo() 542 *fContext.fBool_Type)); in applyInvocationIDWorkaround() 979 *outLeftType = context.fBool_Type.get(); in determine_binary_type() 980 *outRightType = context.fBool_Type.get(); in determine_binary_type() 981 *outResultType = context.fBool_Type.get(); in determine_binary_type() 982 return left.canCoerceTo(*context.fBool_Type) && in determine_binary_type() 983 right.canCoerceTo(*context.fBool_Type); in determine_binary_type() [all …]
|
D | SkSLSPIRVCodeGenerator.cpp | 172 return type == *context.fBool_Type; in is_bool() 1043 if (type == *fContext.fBool_Type) { in getType() 2019 } else if (operandType == *fContext.fBool_Type) { in writeBinaryOperation() 2052 this->writeInstruction(SpvOpAll, this->getType(*fContext.fBool_Type), result, id, out); in foldToBool() 2066 SpvId bvecType = this->getType(fContext.fBool_Type->toCompound(fContext, in writeMatrixComparison() 2069 SpvId boolType = this->getType(*fContext.fBool_Type); in writeMatrixComparison() 2200 ASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression() 2211 ASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression() 2218 ASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression() 2223 ASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression() [all …]
|
D | SkSLCPPCodeGenerator.cpp | 143 } else if (type == *fContext.fBool_Type) { in writeRuntimeValue()
|
/external/skia/src/sksl/ir/ |
D | SkSLBoolLiteral.h | 21 : INHERITED(position, kBoolLiteral_Kind, *context.fBool_Type) in BoolLiteral()
|
D | SkSLSwizzle.h | 53 } else if (base == *context.fBool_Type) { in get_type()
|
D | SkSLType.cpp | 131 } else if (*this == *context.fBool_Type) { in toCompound()
|