/aosp_15_r20/external/angle/src/compiler/translator/ |
H A D | StaticType.h | 41 constexpr StaticMangledName BuildStaticMangledName(TBasicType basicType, in BuildStaticMangledName() argument 49 TBasicMangledName typeName(basicType); in BuildStaticMangledName() 65 constexpr StaticArrayMangledName BuildStaticArrayMangledName(TBasicType basicType, in BuildStaticArrayMangledName() argument 74 BuildStaticMangledName(basicType, precision, qualifier, primarySize, secondarySize); in BuildStaticArrayMangledName() 91 template <TBasicType basicType, 97 BuildStaticMangledName(basicType, precision, qualifier, primarySize, secondarySize); 100 template <TBasicType basicType, 108 BuildStaticArrayMangledName(basicType, 127 template <TBasicType basicType, 133 TType(basicType, [all …]
|
H A D | IntermNode.cpp | 53 TBasicType basicType, in UndefinedConstantFoldingError() argument 60 switch (basicType) in UndefinedConstantFoldingError() 886 TBasicType basicType = getBasicType(); in getConstantValue() local 909 constArray[resultIndex].cast(basicType, argumentConstantValue[0]); in getConstantValue() 923 constArray[resultIndex].cast(basicType, argumentConstantValue[0]); in getConstantValue() 944 basicType, argumentConstantValue[col * argumentRows + row]); in getConstantValue() 971 constArray[resultIndex].cast(basicType, argumentConstantValue[i]); in getConstantValue() 3473 TBasicType basicType = EbtVoid; in FoldAggregateBuiltIn() local 3482 basicType = argConstant->getType().getBasicType(); in FoldAggregateBuiltIn() 3504 ASSERT(basicType == EbtFloat); in FoldAggregateBuiltIn() [all …]
|
/aosp_15_r20/external/angle/third_party/glslang/src/glslang/MachineIndependent/ |
H A D | glslang.y | 1070 if ($1.basicType == EbtVoid) { 1215 parseContext.precisionQualifierCheck($$.loc, $$.basicType, $$.qualifier, $$.isCoopmat()); 1232 parseContext.precisionQualifierCheck($2.loc, $2.basicType, $2.qualifier, $2.isCoopmat()); 1380 if ($$.basicType == EbtVoid) 1381 $$.basicType = $2.basicType; 1764 $$->basicType = $1.basicType; 1786 $$.basicType = EbtVoid; 1790 $$.basicType = EbtFloat; 1794 $$.basicType = EbtInt; 1799 $$.basicType = EbtUint; [all …]
|
H A D | glslang_tab.cpp | 6415 if ((yyvsp[-1].interm.type).basicType == EbtVoid) { in yyparse() 6623 …parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyva… in yyparse() 6645 …cisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].inter… in yyparse() 6873 if ((yyval.interm.type).basicType == EbtVoid) in yyparse() 6874 (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType; in yyparse() 7540 (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType; in yyparse() 7574 (yyval.interm.type).basicType = EbtVoid; in yyparse() 7583 (yyval.interm.type).basicType = EbtFloat; in yyparse() 7592 (yyval.interm.type).basicType = EbtInt; in yyparse() 7602 (yyval.interm.type).basicType = EbtUint; in yyparse() [all …]
|
/aosp_15_r20/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | glslang.y | 1066 if ($1.basicType == EbtVoid) { 1211 parseContext.precisionQualifierCheck($$.loc, $$.basicType, $$.qualifier, $$.isCoopmat()); 1228 parseContext.precisionQualifierCheck($2.loc, $2.basicType, $2.qualifier, $2.isCoopmat()); 1376 if ($$.basicType == EbtVoid) 1377 $$.basicType = $2.basicType; 1759 $$->basicType = $1.basicType; 1781 $$.basicType = EbtVoid; 1785 $$.basicType = EbtFloat; 1789 $$.basicType = EbtInt; 1794 $$.basicType = EbtUint; [all …]
|
D | glslang_tab.cpp | 6386 if ((yyvsp[-1].interm.type).basicType == EbtVoid) { in yyparse() 6594 …parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyva… in yyparse() 6616 …cisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].inter… in yyparse() 6844 if ((yyval.interm.type).basicType == EbtVoid) in yyparse() 6845 (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType; in yyparse() 7510 (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType; in yyparse() 7544 (yyval.interm.type).basicType = EbtVoid; in yyparse() 7553 (yyval.interm.type).basicType = EbtFloat; in yyparse() 7562 (yyval.interm.type).basicType = EbtInt; in yyparse() 7572 (yyval.interm.type).basicType = EbtUint; in yyparse() [all …]
|
/aosp_15_r20/external/deqp-deps/glslang/glslang/Include/ |
D | Types.h | 1437 TTypeParameters() : basicType(EbtVoid), arraySizes(nullptr) {} in POOL_ALLOCATOR_NEW_DELETE() 1439 TBasicType basicType; variable 1442 …bool operator==(const TTypeParameters& rhs) const { return basicType == rhs.basicType && *arraySiz… 1443 …bool operator!=(const TTypeParameters& rhs) const { return basicType != rhs.basicType || *arraySiz… 1456 TBasicType basicType; 1478 basicType = EbtVoid; in initType() 1532 bool isImage() const { return basicType == EbtSampler && sampler.isImage(); } in isImage() 1533 bool isSubpass() const { return basicType == EbtSampler && sampler.isSubpass(); } in isSubpass() 1534 bool isAttachmentEXT() const { return basicType == EbtSampler && sampler.isAttachmentEXT(); } in isAttachmentEXT() 1547 …basicType(t), vectorSize(static_cast<uint32_t>(vs) & 0b1111), matrixCols(static_cast<uint32_t>(mc)… in POOL_ALLOCATOR_NEW_DELETE() [all …]
|
/aosp_15_r20/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
H A D | Type.java | 262 private final int basicType; field in Type 495 private Type(String descriptor, int basicType, int newAt) { in Type() argument 500 if ((basicType < 0) || (basicType >= BT_COUNT)) { in Type() 509 this.basicType = basicType; in Type() 525 private Type(String descriptor, int basicType) { in Type() argument 526 this(descriptor, basicType, -1); in Type() 566 switch (basicType) { in toHuman() 595 switch (basicType) { in getFrameType() 610 return basicType; in getBasicType() 615 switch (basicType) { in getBasicFrameType() [all …]
|
/aosp_15_r20/external/angle/third_party/glslang/src/glslang/Include/ |
H A D | Types.h | 1423 TTypeParameters() : basicType(EbtVoid), arraySizes(nullptr), spirvType(nullptr) {} in POOL_ALLOCATOR_NEW_DELETE() 1425 TBasicType basicType; variable 1431 bool same = basicType == rhs.basicType && *arraySizes == *rhs.arraySizes; 1432 if (same && basicType == EbtSpirvType) { 1454 TBasicType basicType; 1474 bool isTensorLayoutNV() const { return basicType == EbtTensorLayoutNV; } in isTensorLayoutNV() 1475 bool isTensorViewNV() const { return basicType == EbtTensorViewNV; } in isTensorViewNV() 1479 basicType = EbtVoid; in initType() 1533 bool isImage() const { return basicType == EbtSampler && sampler.isImage(); } in isImage() 1534 bool isSubpass() const { return basicType == EbtSampler && sampler.isSubpass(); } in isSubpass() [all …]
|
/aosp_15_r20/dalvik/dx/src/com/android/dx/rop/type/ |
H A D | Type.java | 295 private final int basicType; field in Type 475 private Type(String descriptor, int basicType, int newAt) { in Type() argument 480 if ((basicType < 0) || (basicType >= BT_COUNT)) { in Type() 489 this.basicType = basicType; in Type() 505 private Type(String descriptor, int basicType) { in Type() argument 506 this(descriptor, basicType, -1); in Type() 548 switch (basicType) { in toHuman() 579 switch (basicType) { in getFrameType() 595 return basicType; in getBasicType() 601 switch (basicType) { in getBasicFrameType() [all …]
|
/aosp_15_r20/external/deqp/framework/opengl/ |
H A D | gluVarTypeUtil.hpp | 437 DataType basicType = curType.getBasicType(); in findNext() local 439 if (isDataTypeMatrix(basicType)) in findNext() 441 else if (isDataTypeVector(basicType)) in findNext() 494 DataType basicType = curType->getBasicType(); in isValidTypePath() local 498 if (!isDataTypeMatrix(basicType)) in isValidTypePath() 501 basicType = getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)); in isValidTypePath() 507 if (!isDataTypeVector(basicType)) in isValidTypePath() 510 basicType = getDataTypeScalarType(basicType); in isValidTypePath() 541 DataType basicType = curType->getBasicType(); in getVarType() local 546 basicType = getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)); in getVarType() [all …]
|
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
H A D | vktSSBOLayoutCase.cpp | 333 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local 335 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 339 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd140BaseAlignment() 345 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment() 376 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local 378 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment() 382 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd430BaseAlignment() 387 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment() 412 glu::DataType basicType = type.getBasicType(); in computeRelaxedBlockBaseAlignment() local 414 if (glu::isDataTypeVector(basicType)) in computeRelaxedBlockBaseAlignment() [all …]
|
/aosp_15_r20/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderSharedVarTests.cpp | 74 SharedBasicVarCase(Context &context, const char *name, DataType basicType, Precision precision, 93 static std::string getBasicCaseDescription(DataType basicType, Precision precision, const tcu::UVec… in getBasicCaseDescription() argument 98 str << getDataTypeName(basicType) << ", work group size = " << workGroupSize; in getBasicCaseDescription() 102 SharedBasicVarCase::SharedBasicVarCase(Context &context, const char *name, DataType basicType, Prec… in SharedBasicVarCase() argument 104 : TestCase(context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str()) in SharedBasicVarCase() 105 , m_basicType(basicType) in SharedBasicVarCase() 407 for (int basicType = TYPE_FLOAT; basicType <= TYPE_BOOL_VEC4; basicType++) in init() local 409 if (glu::getDataTypeScalarType(DataType(basicType)) == glu::TYPE_DOUBLE) in init() 412 if (glu::isDataTypeBoolOrBVec(DataType(basicType))) in init() 415 … basicTypeGroup->addChild(new SharedBasicVarCase(m_context, getDataTypeName(DataType(basicType)), in init() [all …]
|
H A D | es31fSSBOLayoutCase.cpp | 357 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local 359 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 363 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd140BaseAlignment() 369 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment() 400 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local 402 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment() 406 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd430BaseAlignment() 412 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment() 461 const glu::DataType basicType = type.getBasicType(); in computeReferenceLayout() local 465 entry.type = basicType; in computeReferenceLayout() [all …]
|
/aosp_15_r20/dalvik/tools/hprof-conv/ |
H A D | HprofConv.c | 322 static int computeBasicLen(HprofBasicType basicType) in computeBasicLen() argument 327 assert(basicType >= 0); in computeBasicLen() 328 if (basicType >= maxSize) in computeBasicLen() 330 return sizes[basicType]; in computeBasicLen() 354 HprofBasicType basicType; in computeClassDumpLen() local 357 basicType = buf[2]; in computeClassDumpLen() 358 basicLen = computeBasicLen(basicType); in computeClassDumpLen() 360 DBUG("ERROR: invalid basicType %d\n", basicType); in computeClassDumpLen() 375 HprofBasicType basicType; in computeClassDumpLen() local 378 basicType = buf[kIdentSize]; in computeClassDumpLen() [all …]
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/5/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodTypeForm.java | 50 final MethodType basicType; // the canonical erasure, with primitives simplified field in MethodTypeForm 104 public MethodType basicType() { in basicType() method in MethodTypeForm 105 return basicType; in basicType() 110 assert(erasedType == basicType) in assertIsBasicType() 111 : "erasedType: " + erasedType + " != basicType: " + basicType; in assertIsBasicType() local 207 this.basicType = erasedType; in MethodTypeForm() 209 this.basicType = MethodType.makeImpl(bt, bpts, true); in MethodTypeForm() 211 MethodTypeForm that = this.basicType.form(); in MethodTypeForm() 262 assert(basicType == erasedType); in MethodTypeForm()
|
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodTypeForm.java | 50 final MethodType basicType; // the canonical erasure, with primitives simplified field in MethodTypeForm 104 public MethodType basicType() { in basicType() method in MethodTypeForm 105 return basicType; in basicType() 110 assert(erasedType == basicType) in assertIsBasicType() 111 : "erasedType: " + erasedType + " != basicType: " + basicType; in assertIsBasicType() local 207 this.basicType = erasedType; in MethodTypeForm() 209 this.basicType = MethodType.makeImpl(bt, bpts, true); in MethodTypeForm() 211 MethodTypeForm that = this.basicType.form(); in MethodTypeForm() 262 assert(basicType == erasedType); in MethodTypeForm()
|
/aosp_15_r20/libcore/ojluni/src/main/java/java/lang/invoke/ |
H A D | MethodTypeForm.java | 50 final MethodType basicType; // the canonical erasure, with primitives simplified field in MethodTypeForm 104 public MethodType basicType() { in basicType() method in MethodTypeForm 105 return basicType; in basicType() 110 assert(erasedType == basicType) in assertIsBasicType() 111 : "erasedType: " + erasedType + " != basicType: " + basicType; in assertIsBasicType() local 207 this.basicType = erasedType; in MethodTypeForm() 209 this.basicType = MethodType.makeImpl(bt, bpts, true); in MethodTypeForm() 211 MethodTypeForm that = this.basicType.form(); in MethodTypeForm() 262 assert(basicType == erasedType); in MethodTypeForm()
|
/aosp_15_r20/external/mesa3d/src/mesa/main/ |
H A D | uniform_query.cpp | 731 log_uniform(const void *values, enum glsl_base_type basicType, in log_uniform() argument 751 switch (basicType) { in log_uniform() 1144 enum glsl_base_type basicType, unsigned src_components) in validate_uniform() argument 1175 match = (basicType != GLSL_TYPE_DOUBLE); in validate_uniform() 1178 match = (basicType == GLSL_TYPE_INT); in validate_uniform() 1181 match = (basicType == GLSL_TYPE_INT && _mesa_is_desktop_gl(ctx)); in validate_uniform() 1184 match = basicType == GLSL_TYPE_FLOAT; in validate_uniform() 1187 match = (basicType == uni->type->base_type); in validate_uniform() 1196 glsl_type_name(basicType)); in validate_uniform() 1201 log_uniform(values, basicType, components, 1, count, in validate_uniform() [all …]
|
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/memory_model/ |
H A D | vktMemoryModelSharedLayoutCase.cpp | 219 const glu::DataType basicType = curType.getBasicType(); in generateSharedMemoryWrites() local 220 const string typeName = glu::getDataTypeName(basicType); in generateSharedMemoryWrites() 223 const glu::DataType promoteType = vkt::typecomputil::getPromoteType(basicType); in generateSharedMemoryWrites() 225 int numElements = glu::getDataTypeScalarSize(basicType); in generateSharedMemoryWrites() 226 if (glu::isDataTypeMatrix(basicType)) in generateSharedMemoryWrites() 227 …numElements = glu::getDataTypeMatrixNumColumns(basicType) * glu::getDataTypeMatrixNumRows(basicTyp… in generateSharedMemoryWrites() 235 if (basicType != promoteType || numElements > 1) in generateSharedMemoryWrites() 244 if (basicType != promoteType || numElements > 1) in generateSharedMemoryWrites() 245 src << glu::getDataTypeName(basicType) << "("; in generateSharedMemoryWrites() 251 if (basicType != promoteType) in generateSharedMemoryWrites() [all …]
|
/aosp_15_r20/external/deqp/modules/glshared/ |
H A D | glsShaderLibraryCase.cpp | 159 const DataType basicType = val.type.getBasicType(); in genVertexShader() local 160 const DataType floatType = getDataTypeFloatScalars(basicType); in genVertexShader() 165 if (getDataTypeScalarType(basicType) == TYPE_FLOAT) in genVertexShader() 260 const DataType basicType = val.type.getBasicType(); in genFragmentShader() local 261 const DataType floatType = getDataTypeFloatScalars(basicType); in genFragmentShader() 263 const char *const refTypeStr = getDataTypeName(basicType); in genFragmentShader() 265 if (getDataTypeScalarType(basicType) == TYPE_FLOAT) in genFragmentShader() 307 const DataType basicType = val.type.getBasicType(); in specializeVertexShader() local 308 const DataType floatType = getDataTypeFloatScalars(basicType); in specializeVertexShader() 310 const char *const refTypeStr = getDataTypeName(basicType); in specializeVertexShader() [all …]
|
H A D | glsShaderExecUtil.cpp | 570 const glu::DataType basicType = outputType.getBasicType(); in getRenderbufferFormatForOutput() local 571 const int numComps = glu::getDataTypeNumComponents(basicType); in getRenderbufferFormatForOutput() 574 switch (glu::getDataTypeScalarType(basicType)) in getRenderbufferFormatForOutput() 633 const glu::DataType basicType = symbol.varType.getBasicType(); in execute() local 634 const int vecSize = glu::getDataTypeScalarSize(basicType); in execute() 636 if (glu::isDataTypeFloatOrVec(basicType)) in execute() 638 else if (glu::isDataTypeIntOrIVec(basicType)) in execute() 640 else if (glu::isDataTypeUintOrUVec(basicType)) in execute() 642 else if (glu::isDataTypeMatrix(basicType)) in execute() 644 int numRows = glu::getDataTypeMatrixNumRows(basicType); in execute() [all …]
|
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
H A D | vktUniformBlockCase.cpp | 72 VarType::VarType(glu::DataType basicType, uint32_t flags) : m_type(TYPE_BASIC), m_flags(flags) in VarType() argument 74 m_data.basicType = basicType; in VarType() 408 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local 410 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 414 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd140BaseAlignment() 420 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment() 451 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local 453 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment() 457 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd430BaseAlignment() 462 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment() [all …]
|
/aosp_15_r20/frameworks/compile/slang/tests/P_reduce_general_input/ |
D | gen-input.pl | 34 foreach my $basicType (@basicTypes) { 38 next if ($vecLen > 1) && (($basicType eq "bool") || ($basicType eq "MyStruct")); 41 next if ($vecLen > 1) && (substr($basicType, 0, 3) eq "rs_"); 43 my $eltName = $basicType;
|
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/ |
H A D | vktShaderLibrary.cpp | 418 const DataType basicType = val.type.getBasicType(); in specializeFragmentShader() local 419 const char *const refTypeStr = getDataTypeName(basicType); in specializeFragmentShader() 638 const DataType basicType = values[ndx].type.getBasicType(); in computeStd140Layout() local 639 const bool isMatrix = isDataTypeMatrix(basicType); in computeStd140Layout() 640 const int numVecs = isMatrix ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd140Layout() 641 …e vecType = isMatrix ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)) : basicType; in computeStd140Layout() 661 const DataType basicType = values[ndx].type.getBasicType(); in computeStd430Layout() local 662 …const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : … in computeStd430Layout() 664 …isDataTypeMatrix(basicType) ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)) : basi… in computeStd430Layout() 678 const DataType basicType = value.type.getBasicType(); in copyToLayout() local [all …]
|