Home
last modified time | relevance | path

Searched refs:baseType (Results 1 - 25 of 87) sorted by relevance

1234

/third_party/skia/src/sksl/ir/
H A DSkSLVarDeclarations.cpp21 &this->baseType(), in clone()
27 String result = this->var().modifiers().description() + this->baseType().description() + " " + in description()
40 const Type* baseType, Variable::Storage storage) { in ErrorCheck()
41 if (*baseType == *context.fTypes.fInvalid) { in ErrorCheck()
45 if (context.fConfig->strictES2Mode() && baseType->isArray()) { in ErrorCheck()
49 if (baseType->componentType().isOpaque() && storage != Variable::Storage::kGlobal) { in ErrorCheck()
51 "variables of type '" + baseType->displayName() + "' must be global"); in ErrorCheck()
53 if ((modifiers.fFlags & Modifiers::kIn_Flag) && baseType->isMatrix()) { in ErrorCheck()
64 if (baseType->isEffectChild() && !(modifiers.fFlags & Modifiers::kUniform_Flag)) { in ErrorCheck()
66 "variables of type '" + baseType in ErrorCheck()
39 ErrorCheck(const Context& context, int line, const Modifiers& modifiers, const Type* baseType, Variable::Storage storage) ErrorCheck() argument
98 const Type* baseType = &var.type(); ErrorCheckAndCoerce() local
162 const Type* baseType = &var->type(); Convert() local
204 Make(const Context& context, Variable* var, const Type* baseType, int arraySize, std::unique_ptr<Expression> value) Make() argument
[all...]
H A DSkSLIndexExpression.cpp58 const Type& baseType = base->as<TypeReference>().value(); in Convert() local
59 SKSL_INT arraySize = baseType.convertArraySize(context, std::move(index)); in Convert()
64 symbolTable.addArrayDimension(&baseType, arraySize)); in Convert()
67 const Type& baseType = base->type(); in Convert() local
68 if (!baseType.isArray() && !baseType.isMatrix() && !baseType.isVector()) { in Convert()
70 "expected array, but found '" + baseType.displayName() + "'"); in Convert()
93 const Type& baseType = base->type(); in Make() local
94 SkASSERT(baseType in Make()
[all...]
H A DSkSLPrefixExpression.cpp151 const Type& baseType = base->type(); in Convert() local
154 if (baseType.isArray() || !baseType.componentType().isNumber()) { in Convert()
156 "'+' cannot operate on '" + baseType.displayName() + "'"); in Convert()
162 if (baseType.isArray() || !baseType.componentType().isNumber()) { in Convert()
164 "'-' cannot operate on '" + baseType.displayName() + "'"); in Convert()
171 if (!baseType.isNumber()) { in Convert()
174 baseType.displayName() + "'"); in Convert()
184 if (!baseType in Convert()
[all...]
H A DSkSLFieldAccess.cpp21 const Type& baseType = base->type(); in Convert() local
22 if (baseType.isEffectChild()) { in Convert()
45 "type '" + baseType.displayName() + "' has no method named '" + field + "'"); in Convert()
48 if (baseType.isStruct()) { in Convert()
49 const std::vector<Type::Field>& fields = baseType.fields(); in Convert()
56 if (baseType == *context.fTypes.fSkCaps) { in Convert()
60 context.fErrors->error(base->fLine, "type '" + baseType.displayName() + in Convert()
H A DSkSLVarDeclarations.h32 const Type* baseType, in VarDeclaration()
37 , fBaseType(*baseType) in VarDeclaration()
48 // Checks the modifiers, baseType, and storage for compatibility with one another and reports
52 const Type* baseType, Variable::Storage storage);
61 const Type* baseType,
64 const Type& baseType() const { in baseType() function in SkSL::final
31 VarDeclaration(const Variable* var, const Type* baseType, int arraySize, std::unique_ptr<Expression> value) VarDeclaration() argument
H A DSkSLPostfixExpression.cpp20 const Type& baseType = base->type(); in Convert() local
21 if (!baseType.isNumber()) { in Convert()
24 baseType.displayName() + "'"); in Convert()
H A DSkSLVariable.cpp32 const Modifiers& modifiers, const Type* baseType, skstd::string_view name, bool isArray, in Convert()
39 return Make(context, line, modifiers, baseType, name, isArray, std::move(arraySize), storage); in Convert()
43 const Modifiers& modifiers, const Type* baseType, skstd::string_view name, bool isArray, in Make()
45 const Type* type = baseType; in Make()
31 Convert(const Context& context, int line, const Modifiers& modifiers, const Type* baseType, skstd::string_view name, bool isArray, std::unique_ptr<Expression> arraySize, Variable::Storage storage) Convert() argument
42 Make(const Context& context, int line, const Modifiers& modifiers, const Type* baseType, skstd::string_view name, bool isArray, std::unique_ptr<Expression> arraySize, Variable::Storage storage) Make() argument
H A DSkSLSwizzle.cpp284 const Type& baseType = base->type(); in Convert() local
286 if (!baseType.isVector() && !baseType.isScalar()) { in Convert()
288 line, "cannot swizzle value of type '" + baseType.displayName() + "'"); in Convert()
318 if (baseType.columns() >= 2) { in Convert()
328 if (baseType.columns() >= 3) { in Convert()
338 if (baseType.columns() >= 4) { in Convert()
358 base = baseType.scalarTypeForLiteral().coerceExpression(std::move(base), context); in Convert()
391 const Type* scalarType = &baseType.componentType(); in Convert()
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgVariableType.hpp132 VariableType (Type baseType, int numElements = 0);
133 VariableType (Type baseType, const VariableType& elementType, int numElements);
134 VariableType (Type baseType, const char* typeName);
166 static const VariableType& getScalarType (Type baseType);
186 inline VariableType::VariableType (Type baseType, int numElements) in VariableType() argument
187 : m_baseType (baseType) in VariableType()
193 DE_ASSERT(baseType != TYPE_ARRAY && baseType != TYPE_STRUCT); in VariableType()
196 inline VariableType::VariableType (Type baseType, const VariableType& elementType, int numElements) in VariableType() argument
197 : m_baseType (baseType) in VariableType()
206 VariableType(Type baseType, const char* typeName) VariableType() argument
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderCommonFunctionTests.cpp377 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName() argument
379 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getCommonFuncCaseName()
385 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in AbsCase() argument
386 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "abs", shaderType) in AbsCase()
388 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase()
389 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase()
467 SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in SignCase() argument
468 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType) in SignCase()
470 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in SignCase()
471 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precisio in SignCase()
573 RoundEvenCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) RoundEvenCase() argument
684 ModfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) ModfCase() argument
750 IsnanCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) IsnanCase() argument
831 IsinfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) IsinfCase() argument
912 FloatBitsToUintIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned) FloatBitsToUintIntCase() argument
972 FloatBitsToIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FloatBitsToIntCase() argument
981 FloatBitsToUintCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FloatBitsToUintCase() argument
990 BitsToFloatCase(Context& context, glu::DataType baseType, glu::ShaderType shaderType) BitsToFloatCase() argument
1040 FloorCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FloorCase() argument
1136 TruncCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) TruncCase() argument
1244 RoundCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) RoundCase() argument
1372 CeilCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) CeilCase() argument
1477 FractCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FractCase() argument
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderCommonFunctionTests.cpp452 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName() argument
454 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getCommonFuncCaseName()
460 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in AbsCase() argument
461 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "abs", shaderType) in AbsCase()
463 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase()
464 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase()
542 SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in SignCase() argument
543 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType) in SignCase()
545 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in SignCase()
546 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precisio in SignCase()
648 RoundEvenCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) RoundEvenCase() argument
759 ModfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) ModfCase() argument
825 IsnanCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) IsnanCase() argument
908 IsinfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) IsinfCase() argument
992 FloatBitsToUintIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned) FloatBitsToUintIntCase() argument
1052 FloatBitsToIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FloatBitsToIntCase() argument
1061 FloatBitsToUintCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FloatBitsToUintCase() argument
1070 BitsToFloatCase(Context& context, glu::DataType baseType, glu::ShaderType shaderType) BitsToFloatCase() argument
1120 FloorCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FloorCase() argument
1216 TruncCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) TruncCase() argument
1324 RoundCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) RoundCase() argument
1452 CeilCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) CeilCase() argument
1557 FractCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FractCase() argument
[all...]
H A Des31fShaderIntegerFunctionTests.cpp322 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName() argument
324 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getIntegerFuncCaseName()
330 UaddCarryCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in UaddCarryCase() argument
331 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "uaddCarry", shaderType) in UaddCarryCase()
333 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UaddCarryCase()
334 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UaddCarryCase()
335 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); in UaddCarryCase()
336 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase()
426 UsubBorrowCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in UsubBorrowCase() argument
427 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precisio in UsubBorrowCase()
520 UmulExtendedCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) UmulExtendedCase() argument
610 ImulExtendedCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) ImulExtendedCase() argument
701 BitfieldExtractCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldExtractCase() argument
774 BitfieldInsertCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldInsertCase() argument
851 BitfieldReverseCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldReverseCase() argument
897 BitCountCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitCountCase() argument
957 FindLSBCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FindLSBCase() argument
1017 FindMSBCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FindMSBCase() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderCommonFunctionTests.cpp333 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision) in getCommonFuncCaseName() argument
335 const bool isDouble = glu::isDataTypeDoubleOrDVec(baseType); in getCommonFuncCaseName()
336 return string(glu::getDataTypeName(baseType)) + (isDouble ? "" : getPrecisionPostfix(precision)) + "_compute"; in getCommonFuncCaseName()
547 AbsCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) in AbsCase() argument
548 : CommonFunctionCase (testCtx, getCommonFuncCaseName(baseType, precision).c_str(), "abs") in AbsCase()
550 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase()
551 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase()
619 SignCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) in SignCase() argument
620 : CommonFunctionCase (testCtx, getCommonFuncCaseName(baseType, precision).c_str(), "sign") in SignCase()
622 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precisio in SignCase()
741 IsnanCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) IsnanCase() argument
828 IsinfCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) IsinfCase() argument
909 FloatBitsToUintIntCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, bool outIsSigned) FloatBitsToUintIntCase() argument
930 FloatBitsToIntCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) FloatBitsToIntCase() argument
940 FloatBitsToUintCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) FloatBitsToUintCase() argument
992 BitsToFloatCase(tcu::TestContext& testCtx, glu::DataType baseType) BitsToFloatCase() argument
[all...]
H A DvktShaderIntegerFunctionTests.cpp196 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName() argument
198 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getIntegerFuncCaseName()
496 UaddCarryCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in UaddCarryCase() argument
497 : IntegerFunctionCase (testCtx, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "uaddCarry", shaderType) in UaddCarryCase()
499 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UaddCarryCase()
500 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UaddCarryCase()
501 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); in UaddCarryCase()
502 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase()
604 UsubBorrowCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in UsubBorrowCase() argument
605 : IntegerFunctionCase (testCtx, getIntegerFuncCaseName(baseType, precisio in UsubBorrowCase()
708 UmulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) UmulExtendedCase() argument
813 ImulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) ImulExtendedCase() argument
890 BitfieldExtractCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldExtractCase() argument
971 BitfieldInsertCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldInsertCase() argument
1034 BitfieldReverseCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldReverseCase() argument
1095 BitCountCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitCountCase() argument
1159 FindLSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FindLSBCase() argument
1223 findMSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) findMSBCase() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderCommonFunctionTests.cpp333 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision) in getCommonFuncCaseName() argument
335 const bool isDouble = glu::isDataTypeDoubleOrDVec(baseType); in getCommonFuncCaseName()
336 return string(glu::getDataTypeName(baseType)) + (isDouble ? "" : getPrecisionPostfix(precision)) + "_compute"; in getCommonFuncCaseName()
547 AbsCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) in AbsCase() argument
548 : CommonFunctionCase (testCtx, getCommonFuncCaseName(baseType, precision).c_str()) in AbsCase()
550 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase()
551 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase()
619 SignCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) in SignCase() argument
620 : CommonFunctionCase (testCtx, getCommonFuncCaseName(baseType, precision).c_str()) in SignCase()
622 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precisio in SignCase()
745 IsnanCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) IsnanCase() argument
832 IsinfCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) IsinfCase() argument
913 FloatBitsToUintIntCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, bool outIsSigned) FloatBitsToUintIntCase() argument
934 FloatBitsToIntCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) FloatBitsToIntCase() argument
944 FloatBitsToUintCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision) FloatBitsToUintCase() argument
996 BitsToFloatCase(tcu::TestContext& testCtx, glu::DataType baseType) BitsToFloatCase() argument
[all...]
H A DvktShaderIntegerFunctionTests.cpp196 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName() argument
198 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getIntegerFuncCaseName()
496 UaddCarryCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in UaddCarryCase() argument
497 : IntegerFunctionCase (testCtx, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), shaderType) in UaddCarryCase()
499 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UaddCarryCase()
500 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UaddCarryCase()
501 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); in UaddCarryCase()
502 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase()
604 UsubBorrowCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in UsubBorrowCase() argument
605 : IntegerFunctionCase (testCtx, getIntegerFuncCaseName(baseType, precisio in UsubBorrowCase()
708 UmulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) UmulExtendedCase() argument
813 ImulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) ImulExtendedCase() argument
890 BitfieldExtractCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldExtractCase() argument
971 BitfieldInsertCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldInsertCase() argument
1034 BitfieldReverseCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitfieldReverseCase() argument
1095 BitCountCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) BitCountCase() argument
1159 FindLSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) FindLSBCase() argument
1223 findMSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) findMSBCase() argument
[all...]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dscriptgenerator.py159 def addMapping(self, baseType, refType):
164 if not self.apiName(baseType) or not self.apiName(refType):
165 self.logMsg('diag', 'ScriptOutputGenerator::addMapping: IGNORE map from', baseType, '<->', refType)
169 baseType, '<->', refType)
171 if baseType not in self.mapDict:
173 self.mapDict[baseType] = baseDict
175 baseDict = self.mapDict[baseType]
183 refDict[baseType] = None
H A Djson_parser.py368 for baseType in self.baseTypeDict:
369 printStr = self.baseTypeDict[baseType]
370 if baseType == "uint8_t" or baseType == "uint16_t" or baseType.startswith('NvSci'):
371 write("static void parse_%s(const char* s, Json::Value& obj, %s& o)\n" %(baseType, self.baseTypeListMap[baseType]) +
373 " o = static_cast<%s>(%s);\n" %(self.baseTypeListMap[baseType],printStr) +
379 code += "static void parse_%s(const char* s, Json::Value& obj, %s& o)\n" %(baseType, self.baseTypeListMap[baseType])
[all...]
H A Dpygenerator.py73 for baseType in sorted(self.mapDict.keys()):
74 write('{} : {},'.format(enquote(baseType),
75 pprint.pformat(self.mapDict[baseType])), file=self.outFile)
H A Djson_generator.py332 for baseType in self.baseTypeList:
336 if baseType == 'char':
337 write("static void print_%s(const %s * const* o, const std::string& s, bool commaNeeded=true)\n" %(baseType, self.baseTypeListMap[baseType]) +
344 if self.isCTS and baseType == "float":
358 write("static void print_%s(%s o, const std::string& s, bool commaNeeded=true)\n" %(baseType, self.baseTypeListMap[baseType]) +
365 if baseType == 'char':
368 if self.isCTS and baseType == "float":
382 write("static void print_%s(const %s * o, const std::string& s, bool commaNeeded=true)\n" %(baseType, sel
[all...]
/third_party/skia/src/sksl/dsl/priv/
H A DDSLWriter.cpp47 const SkSL::Type* baseType = &var.fType.skslType(); in Var() local
48 if (baseType->isArray()) { in Var()
49 baseType = &baseType->componentType(); in Var()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmTrinaryMinMaxTests.cpp95 BaseType baseType; member
319 const Case paramCase{params.baseType, params.typeSize, params.operation};
475 if (m_params.baseType == BaseType::TYPE_INT || m_params.baseType == BaseType::TYPE_UINT) in checkSupport()
499 if (m_params.baseType == BaseType::TYPE_INT || m_params.baseType == BaseType::TYPE_UINT) in getSpirVReplacements()
540 if (m_params.baseType == BaseType::TYPE_INT || m_params.baseType == BaseType::TYPE_UINT) in getSpirVReplacements()
542 const std::string signBit = (m_params.baseType == BaseType::TYPE_INT ? "1" : "0"); in getSpirVReplacements()
543 const std::string typePrefix = (m_params.baseType in getSpirVReplacements()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmTrinaryMinMaxTests.cpp95 BaseType baseType; member
319 const Case paramCase{params.baseType, params.typeSize, params.operation};
475 if (m_params.baseType == BaseType::TYPE_INT || m_params.baseType == BaseType::TYPE_UINT) in checkSupport()
499 if (m_params.baseType == BaseType::TYPE_INT || m_params.baseType == BaseType::TYPE_UINT) in getSpirVReplacements()
540 if (m_params.baseType == BaseType::TYPE_INT || m_params.baseType == BaseType::TYPE_UINT) in getSpirVReplacements()
542 const std::string signBit = (m_params.baseType == BaseType::TYPE_INT ? "1" : "0"); in getSpirVReplacements()
543 const std::string typePrefix = (m_params.baseType in getSpirVReplacements()
[all...]
/third_party/glslang/glslang/MachineIndependent/
H A Dreflection.cpp193 int getArrayStride(const TType& baseType, const TType& type) in getArrayStride() argument
204 baseType.getQualifier().layoutPacking, in getArrayStride()
207 : baseType.getQualifier().layoutMatrix == ElmRowMajor); in getArrayStride()
249 void blowUpActiveAggregate(const TType& baseType, const TString& baseName, const TList<TIntermBinary*>& derefs, in blowUpActiveAggregate() argument
261 bool blockParent = (baseType.getBasicType() == EbtBlock && baseType.getQualifier().storage == EvqBuffer); in blowUpActiveAggregate()
265 const TType* terminalType = &baseType; in blowUpActiveAggregate()
272 int stride = getArrayStride(baseType, visitNode->getLeft()->getType()); in blowUpActiveAggregate()
283 else if (strictArraySuffix || baseType.getBasicType() != EbtBlock) in blowUpActiveAggregate()
298 int stride = getArrayStride(baseType, visitNod in blowUpActiveAggregate()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DFormat.cpp179 firstAspect->baseType = wgpu::TextureComponentType::Float; in BuildFormatTable()
182 firstAspect->baseType = wgpu::TextureComponentType::Sint; in BuildFormatTable()
185 firstAspect->baseType = wgpu::TextureComponentType::Uint; in BuildFormatTable()
192 firstAspect->baseType = wgpu::TextureComponentType::Float; in BuildFormatTable()
213 firstAspect->baseType = wgpu::TextureComponentType::Float; in BuildFormatTable()
232 firstAspect->baseType = wgpu::TextureComponentType::Uint; in BuildFormatTable()
253 firstAspect->baseType = wgpu::TextureComponentType::Float; in BuildFormatTable()

Completed in 25 milliseconds

1234