Home
last modified time | relevance | path

Searched refs:fBool_Type (Results 1 – 6 of 6) sorted by relevance

/external/skia/tests/
DSkSLMemoryLayoutTest.cpp28 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/
DSkSLContext.h41 , fBool_Type(new Type(SkString("bool"), false))
42 , fBVec2_Type(new Type(SkString("bvec2"), *fBool_Type, 2))
43 , fBVec3_Type(new Type(SkString("bvec3"), *fBool_Type, 3))
44 , fBVec4_Type(new Type(SkString("bvec4"), *fBool_Type, 4))
127 , fGenBType_Type(new Type(SkString("$genBType"), { fBool_Type.get(), fBVec2_Type.get(),
182 const std::unique_ptr<Type> fBool_Type; variable
DSkSLIRGenerator.cpp284 *fContext.fBool_Type); in convertIf()
328 test = this->coerce(this->convertExpression(*f.fTest), *fContext.fBool_Type); in convertFor()
353 *fContext.fBool_Type); in convertWhile()
368 *fContext.fBool_Type); in convertDo()
851 *outLeftType = context.fBool_Type.get(); in determine_binary_type()
852 *outRightType = context.fBool_Type.get(); in determine_binary_type()
853 *outResultType = context.fBool_Type.get(); in determine_binary_type()
854 return left.canCoerceTo(*context.fBool_Type) && in determine_binary_type()
855 right.canCoerceTo(*context.fBool_Type); in determine_binary_type()
917 *outResultType = context.fBool_Type.get(); in determine_binary_type()
[all …]
DSkSLSPIRVCodeGenerator.cpp175 return type == *context.fBool_Type; in is_bool()
1046 if (type == *fContext.fBool_Type) { in getType()
1962 } else if (operandType == *fContext.fBool_Type) { in writeBinaryOperation()
1995 this->writeInstruction(SpvOpAll, this->getType(*fContext.fBool_Type), result, id, out); in foldToBool()
2102 ASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression()
2109 ASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression()
2116 ASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression()
2121 ASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression()
2125 ASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression()
2130 ASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression()
[all …]
/external/skia/src/sksl/ir/
DSkSLBoolLiteral.h21 : INHERITED(position, kBoolLiteral_Kind, *context.fBool_Type) in BoolLiteral()
DSkSLSwizzle.h51 } else if (base == *context.fBool_Type) { in get_type()