Home
last modified time | relevance | path

Searched refs:dataType (Results 1 – 25 of 181) sorted by relevance

12345678

/third_party/vk-gl-cts/framework/opengl/
DgluShaderUtil.hpp261 const char* getDataTypeName (DataType dataType);
262 int getDataTypeScalarSize (DataType dataType);
263 DataType getDataTypeScalarType (DataType dataType);
264 DataType getDataTypeFloat16Scalars (DataType dataType);
265 DataType getDataTypeFloatScalars (DataType dataType);
266 DataType getDataTypeDoubleScalars (DataType dataType);
275 …ine bool isDataTypeFloat16OrVec (DataType dataType) { return (dataType >= TYPE_FLOAT16) && … in isDataTypeFloat16OrVec() argument
276 …nline bool isDataTypeFloatOrVec (DataType dataType) { return (dataType >= TYPE_FLOAT) && … in isDataTypeFloatOrVec() argument
277 …nline bool isDataTypeFloatType (DataType dataType) { return (dataType >= TYPE_FLOAT) && … in isDataTypeFloatType() argument
278 …nline bool isDataTypeDoubleType (DataType dataType) { return (dataType >= TYPE_DOUBLE) && … in isDataTypeDoubleType() argument
[all …]
DgluShaderUtil.cpp198 const char* getDataTypeName (DataType dataType) in getDataTypeName() argument
328 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_names))); in getDataTypeName()
329 return s_names[(int)dataType]; in getDataTypeName()
332 int getDataTypeScalarSize (DataType dataType) in getDataTypeScalarSize() argument
462 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_sizes))); in getDataTypeScalarSize()
463 return s_sizes[(int)dataType]; in getDataTypeScalarSize()
466 DataType getDataTypeScalarType (DataType dataType) in getDataTypeScalarType() argument
596 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_scalarTypes))); in getDataTypeScalarType()
597 return s_scalarTypes[(int)dataType]; in getDataTypeScalarType()
600 DataType getDataTypeFloat16Scalars (DataType dataType) in getDataTypeFloat16Scalars() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDataSpillTests.cpp137 VkDeviceSize getElementSize(DataType dataType, VectorType vectorType) in getElementSize() argument
142 switch (dataType) in getElementSize()
215 bool samplersNeeded (DataType dataType) in samplersNeeded() argument
219 switch (dataType) in samplersNeeded()
237 bool storageImageNeeded (DataType dataType) in storageImageNeeded() argument
239 return (dataType == DataType::PTR_TEXEL); in storageImageNeeded()
245 std::pair<std::string, std::string> getGLSLInputValDecl (DataType dataType, VectorType vectorType) in getGLSLInputValDecl() argument
251 const auto dataTypeIdx = static_cast<int>(dataType); in getGLSLInputValDecl()
315 const auto key = std::make_pair(dataType, vectorType); in getGLSLInputValDecl()
325 else if (dataType == DataType::STRUCT) in getGLSLInputValDecl()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp126 int scalarSize = getDataTypeScalarSize(val.dataType); in setUniformValue()
136 switch (val.dataType) in setUniformValue()
380 DataType dataType = val.dataType; in execute() local
381 int scalarSize = getDataTypeScalarSize(val.dataType); in execute()
390 if (isDataTypeFloatOrVec(dataType) || isDataTypeMatrix(dataType)) in execute()
413 if ((m_caseType == CASETYPE_FRAGMENT_ONLY) || (getDataTypeScalarType(dataType) != TYPE_FLOAT)) in execute()
426 if (isDataTypeMatrix(dataType)) in execute()
428 int numCols = getDataTypeMatrixNumColumns(dataType); in execute()
429 int numRows = getDataTypeMatrixNumRows(dataType); in execute()
439 DE_ASSERT(isDataTypeFloatOrVec(dataType) || isDataTypeIntOrIVec(dataType) || in execute()
[all …]
/third_party/vk-gl-cts/modules/gles3/scripts/
Dgen-swizzles.py107 for (inputType, dataType, precision) in combinations.iterate():
108 scalarSize = getDataTypeScalarSize(dataType)
109 print(inputType, precision, dataType)
171 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): argument
174 self.dataType = dataType
255 for dataType in VECTOR_TYPES:
256 scalarSize = getDataTypeScalarSize(dataType)
262 caseName = "%s_%s_%s" % (precision, dataType, swizzle)
263 inputs = INPUTS[dataType]
266 …torSwizzleCases.append(SwizzleCase(caseName, precision, dataType, swizzle, [("%s in0" % dataType, …
Dgen-large-constant-arrays.py76 def genArray(dataType, size): argument
79 if dataType == "float":
81 if dataType == "vec4":
100 for dataType in DATA_TYPES:
103 array = genArray(dataType, arraySize)
106 caseName = "%s_%s" % (dataType, arraySize)
Dgen-swizzle-math-operations.py164 for dataType in VECTOR_TYPES:
165 scalarSize = getDataTypeScalarSize(dataType)
174 operands1 = INPUTS[dataType]
175 operands2 = INPUTS[dataType] # these input values will be swizzled
179 caseName = "%s_%s_%s_%s" % (precision, dataType, swizzle1, swizzle2)
184 [("%s in0" % dataType, operands1)],
185 [("%s in1" % dataType, operands2)],
/third_party/vk-gl-cts/modules/gles2/scripts/
Dgen-swizzles.py107 for (inputType, dataType, precision) in combinations.iterate():
108 scalarSize = getDataTypeScalarSize(dataType)
109 print(inputType, precision, dataType)
167 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): argument
170 self.dataType = dataType
251 for dataType in VECTOR_TYPES:
252 scalarSize = getDataTypeScalarSize(dataType)
258 caseName = "%s_%s_%s" % (precision, dataType, swizzle)
259 inputs = INPUTS[dataType]
262 …torSwizzleCases.append(SwizzleCase(caseName, precision, dataType, swizzle, [("%s in0" % dataType, …
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp340 glu::DataType dataType, in verifyConstantDerivate() argument
347 const int numComps = glu::getDataTypeFloatScalars(dataType); in verifyConstantDerivate()
348 const tcu::BVec4 mask = tcu::logicalNot(getDerivateMask(dataType)); in verifyConstantDerivate()
404 glu::DataType dataType, in reverifyConstantDerivateWithFlushRelaxations() argument
420 const int numComponents = glu::getDataTypeFloatScalars(dataType); in reverifyConstantDerivateWithFlushRelaxations()
529 dataType = glu::TYPE_LAST; in DerivateCaseDefinition()
539 glu::DataType dataType; member
755 DE_ASSERT(glu::isDataTypeFloatOrVec(definitions.dataType)); in setup()
757 …_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float),… in setup()
758 …_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float),… in setup()
[all …]
DvktShaderRenderMatrixTests.cpp214 , dataType (dataType_) in ShaderInput()
220 DataType dataType; member
1172 switch (PACK_EVAL_CASE(op, in0.dataType, in1.dataType)) in getEvalFunc()
1365 BaseAttributeType getAttributeType(const glu::DataType dataType) in getAttributeType() argument
1367 switch(dataType) in getAttributeType()
1400 void addMatrixUniform (deUint32 bindingLocation, DataType dataType, const float* dataPtr);
1472 if (in.inputType == INPUTTYPE_DYNAMIC && isDataTypeMatrix(in.dataType)) in ShaderMatrixInstance()
1474 useAttribute(4u + inNdx, getAttributeType(in.dataType)); in ShaderMatrixInstance()
1484 void ShaderMatrixInstance::addMatrixUniform(deUint32 bindingLocation, DataType dataType, const floa… in addMatrixUniform() argument
1489 switch(dataType) in addMatrixUniform()
[all …]
/third_party/skia/platform_tools/debugging/lldb/
Dskia.py70 offset, self.dataType)
78 self.dataType = self.fItemArray.GetType().GetPointeeType()
79 self.dataSize = self.dataType.GetByteSize()
116 offset, self.dataType)
127 self.dataType = self.fValue.GetType().GetPointeeType()
128 self.dataSize = self.dataType.GetByteSize()
165 offset, self.dataType)
173 self.dataType = self.fPtr.GetType().GetPointeeType()
174 self.dataSize = self.dataType.GetByteSize()
/third_party/typescript/tests/baselines/reference/
DexcessPropertyCheckWithNestedArrayIntersection.types27 dataType: ValueAndKeyFields & ValueOnlyFields;
28 >dataType : ValueAndKeyFields & ValueOnlyFields
32 >{ dataType: { fields: [{ key: 'bla', // should be OK: Not excess value: null, }],…
34 dataType: {
35 >dataType : { fields: { key: string; value: null; }[]; }
DexcessPropertyCheckWithNestedArrayIntersection.symbols32 dataType: ValueAndKeyFields & ValueOnlyFields;
33 >dataType : Symbol(BugRepro.dataType, Decl(excessPropertyCheckWithNestedArrayIntersection.ts, 11, 2…
41 dataType: {
42 >dataType : Symbol(dataType, Decl(excessPropertyCheckWithNestedArrayIntersection.ts, 14, 25))
DobjectLiteralParameterResolution.types18 >s : { type: string; data: string; success: any; error: any; dataType: string; converters: { "text …
19dataType: "json" , converters: { "text json": "" }, traditional: true , timeout: 12, }…
23dataType: "json" , converters: { "text json": "" }, traditional: true , timeout: 12, }…
47 dataType: "json" ,
48 >dataType : string
/third_party/protobuf/objectivec/
DGPBType.pbobjc.m136 .dataType = GPBDataTypeString,
145 .dataType = GPBDataTypeMessage,
154 .dataType = GPBDataTypeString,
163 .dataType = GPBDataTypeMessage,
172 .dataType = GPBDataTypeMessage,
181 .dataType = GPBDataTypeEnum,
255 .dataType = GPBDataTypeEnum,
264 .dataType = GPBDataTypeEnum,
273 .dataType = GPBDataTypeInt32,
282 .dataType = GPBDataTypeString,
[all …]
DGPBApi.pbobjc.m100 .dataType = GPBDataTypeString,
109 .dataType = GPBDataTypeMessage,
118 .dataType = GPBDataTypeMessage,
127 .dataType = GPBDataTypeString,
136 .dataType = GPBDataTypeMessage,
145 .dataType = GPBDataTypeMessage,
154 .dataType = GPBDataTypeEnum,
221 .dataType = GPBDataTypeString,
230 .dataType = GPBDataTypeString,
239 .dataType = GPBDataTypeBool,
[all …]
DGPBExtensionInternals.m47 GPB_INLINE size_t DataTypeSize(GPBDataType dataType) {
50 switch (dataType) {
67 static size_t ComputePBSerializedSizeNoTagOfObject(GPBDataType dataType, id object) {
74 switch (dataType) {
107 switch (description->dataType) {
141 size_t typeSize = DataTypeSize(description->dataType);
147 ComputePBSerializedSizeNoTagOfObject(description->dataType, value);
173 switch (description->dataType) {
214 switch (description->dataType) {
247 size_t typeSize = DataTypeSize(description->dataType);
[all …]
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pTextureFormatTests.cpp54 deUint32 dataType; in init() member
70 deUint32 dataType = texFormats[formatNdx].dataType; in init() local
77 …g descriptionBase = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType); in init()
79 …enderCase(m_context, nameBase.c_str(), descriptionBase.c_str(), format, dataType, wrapS, wrapT, mi… in init()
Des2pTextureCountTests.cpp56 deUint32 dataType; in init() member
71 deUint32 dataType = texFormats[formatNdx].dataType; in init() local
78 …ring description = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType); in init()
80 …addChild(new Texture2DRenderCase(m_context, name.c_str(), description.c_str(), format, dataType, w… in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationShaderInputOutputTests.cpp792 DataType dataType; member
806 const std::string dataType = typeStr[caseDef.dataType]; in initPrograms() local
838 src << "layout(location = 1) out mediump " << dataType << " in_te_data0[];\n" in initPrograms()
839 …<< "layout(location = " << varyingSize[caseDef.dataType] + 1 << ") out mediump " << dataType << " … in initPrograms()
841 …src << "layout(location = 1) patch out mediump " << dataType << " in_te_data0[" << OUTPUT_PATCH_SI… in initPrograms()
842 …ion = " << OUTPUT_PATCH_SIZE * varyingSize[caseDef.dataType] + 1 << ") patch out mediump " << data… in initPrograms()
847 << " " << dataType << " d = " << dataType << "(gl_InvocationID);\n" in initPrograms()
881 src << "layout(location = 1) in mediump " << dataType << " in_te_data0[];\n" in initPrograms()
882 …<< "layout(location = " << varyingSize[caseDef.dataType] + 1 << ") in mediump " << dataType << " i… in initPrograms()
884 …src << "layout(location = 1) patch in mediump " << dataType << " in_te_data0[" << OUTPUT_PATCH_SIZ… in initPrograms()
[all …]
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrContext.cpp45 deUint32 dataType = GL_NONE; in texImage2D() local
55 dataType = GL_UNSIGNED_BYTE; in texImage2D()
62 dataType = transferFmt.dataType; in texImage2D()
67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL); in texImage2D()
/third_party/skia/include/core/
DSkYUVAPixmaps.h79 static constexpr SkColorType DefaultColorTypeForDataType(DataType dataType, int numChannels);
125 DataType dataType() const { return fDataType; } in dataType() function
222 DataType dataType() const { return fDataType; } in dataType() function
292 constexpr SkColorType SkYUVAPixmapInfo::DefaultColorTypeForDataType(DataType dataType, in DefaultColorTypeForDataType() argument
296 switch (dataType) { in DefaultColorTypeForDataType()
304 switch (dataType) { in DefaultColorTypeForDataType()
317 switch (dataType) { in DefaultColorTypeForDataType()
325 switch (dataType) { in DefaultColorTypeForDataType()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp620 … context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, … in BasicTexImage2DCase() argument
621 …: TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType)… in BasicTexImage2DCase()
623 , m_dataType (dataType) in BasicTexImage2DCase()
665 … context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, … in BasicTexImageCubeCase() argument
666 …context, name, desc, TEXTURETYPE_CUBE, glu::mapGLTransferFormat(format, dataType), flags, width, h… in BasicTexImageCubeCase()
668 , m_dataType (dataType) in BasicTexImageCubeCase()
717 … context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, … in RandomOrderTexImage2DCase() argument
718 …: TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType)… in RandomOrderTexImage2DCase()
720 , m_dataType (dataType) in RandomOrderTexImage2DCase()
769 … context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, … in RandomOrderTexImageCubeCase() argument
[all …]
/third_party/skia/third_party/externals/angle2/samples/sample_util/
Dtga_utils.cpp38 template <typename dataType>
39 void readBinary(std::ifstream &stream, dataType &item) in readBinary()
41 stream.read(reinterpret_cast<char *>(&item), sizeof(dataType)); in readBinary()
44 template <typename dataType>
45 void readBinary(std::ifstream &stream, std::vector<dataType> &items) in readBinary()
47 stream.read(reinterpret_cast<char *>(items.data()), sizeof(dataType) * items.size()); in readBinary()
/third_party/skia/src/core/
DSkYUVAPixmaps.cpp120 DataType dataType, in SkYUVAPixmapInfo() argument
126 colorTypes[i] = DefaultColorTypeForDataType(dataType, numChannels); in SkYUVAPixmapInfo()
179 SkColorType SkYUVAPixmaps::RecommendedRGBAColorType(DataType dataType) { in RecommendedRGBAColorType() argument
180 switch (dataType) { in RecommendedRGBAColorType()
237 return SkYUVAPixmaps(yuvaPixmapInfo.yuvaInfo(), yuvaPixmapInfo.dataType(), pixmaps); in FromExternalMemory()
253 return SkYUVAPixmaps(yuvaInfo, yuvaPixmapInfo.dataType(), pixmaps); in FromExternalPixmaps()
259 , fDataType(yuvaPixmapInfo.dataType()) { in SkYUVAPixmaps()
267 DataType dataType, in SkYUVAPixmaps() argument
269 : fYUVAInfo(yuvaInfo), fDataType(dataType) { in SkYUVAPixmaps()

12345678