Searched refs:fBool_Type (Results 1 – 10 of 10) sorted by relevance
/external/skqp/tests/ |
D | SkSLMemoryLayoutTest.cpp | 26 REPORTER_ASSERT(r, 1 == layout.size(*context.fBool_Type)); in DEF_TEST() 43 REPORTER_ASSERT(r, 1 == layout.alignment(*context.fBool_Type)); in DEF_TEST() 65 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fBool_Type.get()); in DEF_TEST() 107 REPORTER_ASSERT(r, 1 == layout.size(*context.fBool_Type)); in DEF_TEST() 124 REPORTER_ASSERT(r, 1 == layout.alignment(*context.fBool_Type)); in DEF_TEST() 146 fields1.emplace_back(SkSL::Modifiers(), SkSL::StringFragment("c"), context.fBool_Type.get()); in DEF_TEST()
|
/external/skqp/src/sksl/ |
D | SkSLContext.h | 60 , fBool_Type(new Type("bool", Type::kNonnumeric_NumberKind, -1)) in Context() 61 , fBool2_Type(new Type("bool2", *fBool_Type, 2)) in Context() 62 , fBool3_Type(new Type("bool3", *fBool_Type, 3)) in Context() 63 , fBool4_Type(new Type("bool4", *fBool_Type, 4)) in Context() 157 , fGenBType_Type(new Type("$genBType", { fBool_Type.get(), fBool2_Type.get(), 199 , fFragmentProcessor_Type(fp_type(fInt_Type.get(), fBool_Type.get())) 255 const std::unique_ptr<Type> fBool_Type; variable
|
D | SkSLIRGenerator.cpp | 366 *fContext.fBool_Type); in convertIf() 410 test = this->coerce(this->convertExpression(*f.fTest), *fContext.fBool_Type); in convertFor() 435 *fContext.fBool_Type); in convertWhile() 450 *fContext.fBool_Type); in convertDo() 595 *fContext.fBool_Type)); in applyInvocationIDWorkaround() 1146 *outResultType = context.fBool_Type.get(); in determine_binary_type() 1151 *outResultType = context.fBool_Type.get(); in determine_binary_type() 1168 *outLeftType = context.fBool_Type.get(); in determine_binary_type() 1169 *outRightType = context.fBool_Type.get(); in determine_binary_type() 1170 *outResultType = context.fBool_Type.get(); in determine_binary_type() [all …]
|
D | SkSLSPIRVCodeGenerator.cpp | 174 return type == *context.fBool_Type; in is_bool() 473 if (type == *fContext.fBool_Type) { in getType() 1692 this->writeInstruction(SpvOpPhi, this->getType(*fContext.fBool_Type), result, ifTrue, in getLValue() 1790 this->writeInstruction(SpvOpLogicalNot, this->getType(*fContext.fBool_Type), inverse, in writeVariableReference() 1844 } else if (operandType == *fContext.fBool_Type) { in writeBinaryOperation() 1878 this->writeInstruction(op, this->getType(*fContext.fBool_Type), result, id, out); in foldToBool() 1893 SpvId bvecType = this->getType(fContext.fBool_Type->toCompound(fContext, in writeMatrixComparison() 1896 SpvId boolType = this->getType(*fContext.fBool_Type); in writeMatrixComparison() 2059 SkASSERT(resultType == *fContext.fBool_Type); in writeBinaryExpression() 2062 tmpType = &fContext.fBool_Type->toCompound(fContext, in writeBinaryExpression() [all …]
|
D | SkSLGLSLCodeGenerator.cpp | 103 else if (component == *fContext.fBool_Type) { in getTypeName() 1346 *fContext.fBool_Type)); in writeFunctionCall()
|
D | SkSLCPPCodeGenerator.cpp | 162 } else if (type == *fContext.fBool_Type) { in writeRuntimeValue()
|
/external/skqp/src/sksl/ir/ |
D | SkSLBoolLiteral.h | 21 : INHERITED(offset, kBoolLiteral_Kind, *context.fBool_Type) in BoolLiteral()
|
D | SkSLSwizzle.h | 83 } else if (base == *context.fBool_Type) { in get_type()
|
D | SkSLType.cpp | 216 } else if (*this == *context.fBool_Type) { in toCompound()
|
/external/skqp/src/gpu/effects/ |
D | GrSkSLFP.cpp | 61 } else if (&v->fType == fCompiler.context().fBool_Type.get()) { in getSpecialization() 109 } else if (type == *fContext.fBool_Type) { in uniformType() 217 } else if (&v->fType == context.fBool_Type.get()) { in onSetData() 333 } else if (&v->fType == context.fBool_Type.get()) { in onGetGLSLProcessorKey()
|