Home
last modified time | relevance | path

Searched refs:dataType (Results 1 - 25 of 163) sorted by relevance

1234567

/third_party/vk-gl-cts/framework/opengl/
H A 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 inline bool isDataTypeFloat16OrVec (DataType dataType) { return (dataType >= TYPE_FLOAT16) && (dataType <= TYPE_FLOAT16_MAT4); } in isDataTypeFloat16OrVec() argument
276 inline bool isDataTypeFloatOrVec (DataType dataType) { retur in isDataTypeFloat16OrVec() argument
277 isDataTypeFloatType(DataType dataType) isDataTypeFloatType() argument
278 isDataTypeDoubleType(DataType dataType) isDataTypeDoubleType() argument
279 isDataTypeDoubleOrDVec(DataType dataType) isDataTypeDoubleOrDVec() argument
280 isDataTypeMatrix(DataType dataType) isDataTypeMatrix() argument
286 isDataTypeIntOrIVec(DataType dataType) isDataTypeIntOrIVec() argument
287 isDataTypeUintOrUVec(DataType dataType) isDataTypeUintOrUVec() argument
288 isDataTypeIntOrIVec8Bit(DataType dataType) isDataTypeIntOrIVec8Bit() argument
289 isDataTypeUintOrUVec8Bit(DataType dataType) isDataTypeUintOrUVec8Bit() argument
290 isDataTypeIntOrIVec16Bit(DataType dataType) isDataTypeIntOrIVec16Bit() argument
291 isDataTypeUintOrUVec16Bit(DataType dataType) isDataTypeUintOrUVec16Bit() argument
292 isDataTypeBoolOrBVec(DataType dataType) isDataTypeBoolOrBVec() argument
293 isDataTypeScalar(DataType dataType) isDataTypeScalar() argument
306 isDataTypeVector(DataType dataType) isDataTypeVector() argument
319 isDataTypeScalarOrVector(DataType dataType) isDataTypeScalarOrVector() argument
332 isDataTypeSampler(DataType dataType) isDataTypeSampler() argument
333 isDataTypeImage(DataType dataType) isDataTypeImage() argument
334 isDataTypeSamplerMultisample(DataType dataType) isDataTypeSamplerMultisample() argument
335 isDataTypeAtomicCounter(DataType dataType) isDataTypeAtomicCounter() argument
336 isDataTypeSamplerBuffer(DataType dataType) isDataTypeSamplerBuffer() argument
337 isDataTypeSamplerMSArray(DataType dataType) isDataTypeSamplerMSArray() argument
338 isDataTypeImageBuffer(DataType dataType) isDataTypeImageBuffer() argument
339 isDataTypeExplicitPrecision(DataType dataType) isDataTypeExplicitPrecision() argument
348 dataTypeSupportsPrecisionModifier(DataType dataType) dataTypeSupportsPrecisionModifier() argument
[all...]
H A 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
734 getDataTypeFloatScalars(DataType dataType) getDataTypeFloatScalars() argument
868 getDataTypeDoubleScalars(DataType dataType) getDataTypeDoubleScalars() argument
1049 getDataTypeMatrixNumRows(DataType dataType) getDataTypeMatrixNumRows() argument
1086 getDataTypeMatrixNumColumns(DataType dataType) getDataTypeMatrixNumColumns() argument
1123 getDataTypeMatrixColumnType(DataType dataType) getDataTypeMatrixColumnType() argument
1160 getDataTypeNumLocations(DataType dataType) getDataTypeNumLocations() argument
1171 getDataTypeNumComponents(DataType dataType) getDataTypeNumComponents() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A 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 in getGLSLInputValDecl()
353 DataType dataType; global() member
1476 fillInputBuffer(DataType dataType, VectorType vectorType, void* bufferPtr) fillInputBuffer() argument
2707 DataType dataType; createDataSpillTests() member
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A 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 in getGLSLInputValDecl()
353 DataType dataType; global() member
1476 fillInputBuffer(DataType dataType, VectorType vectorType, void* bufferPtr) fillInputBuffer() argument
2706 DataType dataType; createDataSpillTests() member
[all...]
/third_party/vk-gl-cts/modules/gles3/scripts/
H A 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):
174 self.dataType = dataType
255 for dataType in VECTOR_TYPES:
256 scalarSize = getDataTypeScalarSize(dataType)
261 #print("%s %s .%s" % (precision, dataType, swizzle))
262 caseName = "%s_%s_%s" % (precision, dataType, swizzl
[all...]
H A Dgen-large-constant-arrays.py76 def genArray(dataType, size):
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)
H A 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/
H A 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):
170 self.dataType = dataType
251 for dataType in VECTOR_TYPES:
252 scalarSize = getDataTypeScalarSize(dataType)
257 #print("%s %s .%s" % (precision, dataType, swizzle))
258 caseName = "%s_%s_%s" % (precision, dataType, swizzl
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A 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()
995 DataType dataType = val.dataType; dumpValues() local
[all...]
/third_party/skia/platform_tools/debugging/lldb/
H A 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/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderDerivateTests.cpp358 glu::DataType dataType, in verifyConstantDerivate()
365 const int numComps = glu::getDataTypeFloatScalars(dataType); in verifyConstantDerivate()
366 const tcu::BVec4 mask = tcu::logicalNot(getDerivateMask(dataType)); in verifyConstantDerivate()
425 glu::DataType dataType, in reverifyConstantDerivateWithFlushRelaxations()
441 const int numComponents = glu::getDataTypeFloatScalars(dataType); in reverifyConstantDerivateWithFlushRelaxations()
553 dataType = glu::TYPE_LAST; in DerivateCaseDefinition()
563 glu::DataType dataType; member
753 DE_ASSERT(glu::isDataTypeFloatOrVec(definitions.dataType)); in setup()
755 instance.addUniform(0u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float), values.derivScale.getPtr()); in setup()
756 instance.addUniform(1u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeo in setup()
355 verifyConstantDerivate(tcu::TestLog& log, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask, glu::DataType dataType, const tcu::Vec4& reference, const tcu::Vec4& threshold, const tcu::Vec4& scale, const tcu::Vec4& bias, VerificationLogging logPolicy = LOG_ALL) verifyConstantDerivate() argument
422 reverifyConstantDerivateWithFlushRelaxations(tcu::TestLog& log, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask, glu::DataType dataType, glu::Precision precision, const tcu::Vec4& derivScale, const tcu::Vec4& derivBias, const tcu::Vec4& surfaceThreshold, DerivateFunc derivateFunc, const Linear2DFunctionEvaluator& function) reverifyConstantDerivateWithFlushRelaxations() argument
1591 glu::DataType dataType; global() member
1973 const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; init() local
1992 const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; init() local
2026 const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; init() local
2057 const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; init() local
[all...]
H A 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, cons argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderDerivateTests.cpp340 glu::DataType dataType, in verifyConstantDerivate()
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()
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 instance.addUniform(0u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float), values.derivScale.getPtr()); in setup()
758 instance.addUniform(1u, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeo in setup()
337 verifyConstantDerivate(tcu::TestLog& log, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask, glu::DataType dataType, const tcu::Vec4& reference, const tcu::Vec4& threshold, const tcu::Vec4& scale, const tcu::Vec4& bias, VerificationLogging logPolicy = LOG_ALL) verifyConstantDerivate() argument
401 reverifyConstantDerivateWithFlushRelaxations(tcu::TestLog& log, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask, glu::DataType dataType, glu::Precision precision, const tcu::Vec4& derivScale, const tcu::Vec4& derivBias, const tcu::Vec4& surfaceThreshold, DerivateFunc derivateFunc, const Linear2DFunctionEvaluator& function) reverifyConstantDerivateWithFlushRelaxations() argument
1567 glu::DataType dataType; global() member
1890 const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; init() local
1907 const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; init() local
1937 const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; init() local
1967 const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; init() local
[all...]
H A 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, cons argument
[all...]
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pTextureCountTests.cpp56 deUint32 dataType; in init() member
71 deUint32 dataType = texFormats[formatNdx].dataType; in init() local
78 string description = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType); in init()
80 addChild(new Texture2DRenderCase(m_context, name.c_str(), description.c_str(), format, dataType, wrapS, wrapT, minFilter, magFilter, tcu::Mat3(), numTextures, false /* npot */)); in init()
H A Des2pTextureFormatTests.cpp54 deUint32 dataType; in init() member
70 deUint32 dataType = texFormats[formatNdx].dataType; in init() local
77 string descriptionBase = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType); in init()
79 addChild(new Texture2DRenderCase(m_context, nameBase.c_str(), descriptionBase.c_str(), format, dataType, wrapS, wrapT, minFilter, magFilter, tcu::Mat3(), numTextures, false /* npot */)); in init()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A 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/
H A DSkYUVAPixmaps.h79 static constexpr SkColorType DefaultColorTypeForDataType(DataType dataType, int numChannels);
125 DataType dataType() const { return fDataType; } in dataType() function in SkYUVAPixmapInfo::DataType
222 DataType dataType() const { return fDataType; } in dataType() function in SkYUVAPixmapInfo::SkYUVAPixmaps
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/
H A Des2fTextureSpecificationTests.cpp620 BasicTexImage2DCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) in BasicTexImage2DCase() argument
621 : TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType), flags, width, height) in BasicTexImage2DCase()
623 , m_dataType (dataType) in BasicTexImage2DCase()
665 BasicTexImageCubeCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) in BasicTexImageCubeCase() argument
666 : TextureSpecCase (context, name, desc, TEXTURETYPE_CUBE, glu::mapGLTransferFormat(format, dataType), flags, width, height) in BasicTexImageCubeCase()
668 , m_dataType (dataType) in BasicTexImageCubeCase()
717 RandomOrderTexImage2DCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) in RandomOrderTexImage2DCase() argument
718 : TextureSpecCase (context, name, desc, TEXTURETYPE_2D, glu::mapGLTransferFormat(format, dataType), flags, width, height) in RandomOrderTexImage2DCase()
720 , m_dataType (dataType) in RandomOrderTexImage2DCase()
769 RandomOrderTexImageCubeCase (Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint3 argument
833 TexImage2DAlignCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height, int alignment) TexImage2DAlignCase() argument
881 TexImageCubeAlignCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height, int alignment) TexImageCubeAlignCase() argument
932 BasicTexSubImage2DCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) BasicTexSubImage2DCase() argument
999 BasicTexSubImageCubeCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) BasicTexSubImageCubeCase() argument
1075 TexSubImage2DEmptyTexCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) TexSubImage2DEmptyTexCase() argument
1130 TexSubImageCubeEmptyTexCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) TexSubImageCubeEmptyTexCase() argument
1193 TexSubImage2DAlignCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, int width, int height, int subX, int subY, int subW, int subH, int alignment) TexSubImage2DAlignCase() argument
1247 TexSubImageCubeAlignCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, int width, int height, int subX, int subY, int subW, int subH, int alignment) TexSubImageCubeAlignCase() argument
1411 BasicCopyTexSubImage2DCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) BasicCopyTexSubImage2DCase() argument
1489 BasicCopyTexSubImageCubeCase(Context& context, const char* name, const char* desc, deUint32 format, deUint32 dataType, deUint32 flags, int width, int height) BasicCopyTexSubImageCubeCase() argument
1585 deUint32 dataType; init() member
1611 deUint32 dataType = texFormats[formatNdx].dataType; init() local
1698 deUint32 dataType = texFormats[formatNdx].dataType; init() local
1716 deUint32 dataType = texFormats[formatNdx].dataType; init() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineInputAttributeOffsetTests.cpp96 uint32_t getTypeSize (glu::DataType dataType) in getTypeSize() argument
98 switch (dataType) in getTypeSize()
112 const glu::DataType dataType; // vec2 or vec4. member
120 return getTypeSize(dataType); in attributeSize()
130 switch (dataType) in attributeFormat()
176 DE_ASSERT(params.dataType == glu::TYPE_FLOAT_VEC2);
324 const auto extraComponents = ((m_params.dataType == glu::TYPE_FLOAT_VEC4) in initPrograms()
335 << "layout (location=0) in " << glu::getDataTypeName(m_params.isOverlapping() ? glu::TYPE_FLOAT_VEC4 : m_params.dataType) << " inPos;\n" in initPrograms()
498 for (const auto dataType : { glu::TYPE_FLOAT_VEC2, glu::TYPE_FLOAT_VEC4 }) in createInputAttributeOffsetTests()
500 const auto typeSize = getTypeSize(dataType); in createInputAttributeOffsetTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationShaderInputOutputTests.cpp793 DataType dataType; member
807 const std::string dataType = typeStr[caseDef.dataType]; in initPrograms() local
839 src << "layout(location = 1) out mediump " << dataType << " in_te_data0[];\n" in initPrograms()
840 << "layout(location = " << varyingSize[caseDef.dataType] + 1 << ") out mediump " << dataType << " in_te_data1[];\n"; in initPrograms() local
842 src << "layout(location = 1) patch out mediump " << dataType << " in_te_data0[" << OUTPUT_PATCH_SIZE << "];\n" in initPrograms()
843 << "layout(location = " << OUTPUT_PATCH_SIZE * varyingSize[caseDef.dataType] + 1 << ") patch out mediump " << dataType << " in_te_data1[" << OUTPUT_PATCH_SIZE << "];\n"; in initPrograms()
848 << " " << dataType << " in initPrograms()
883 << "layout(location = " << varyingSize[caseDef.dataType] + 1 << ") in mediump " << dataType << " in_te_data1[];\\n"; initPrograms() local
898 << " if (in_te_data1[i] != " << dataType << "(ref)) ok = false;\\n" initPrograms() local
1047 CrossInvocation::DataType dataType; createShaderInputOutputTests() member
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationShaderInputOutputTests.cpp794 DataType dataType; member
808 const std::string dataType = typeStr[caseDef.dataType]; in initPrograms() local
840 src << "layout(location = 1) out mediump " << dataType << " in_te_data0[];\n" in initPrograms()
841 << "layout(location = " << varyingSize[caseDef.dataType] + 1 << ") out mediump " << dataType << " in_te_data1[];\n"; in initPrograms() local
843 src << "layout(location = 1) patch out mediump " << dataType << " in_te_data0[" << OUTPUT_PATCH_SIZE << "];\n" in initPrograms()
844 << "layout(location = " << OUTPUT_PATCH_SIZE * varyingSize[caseDef.dataType] + 1 << ") patch out mediump " << dataType << " in_te_data1[" << OUTPUT_PATCH_SIZE << "];\n"; in initPrograms()
849 << " " << dataType << " in initPrograms()
884 << "layout(location = " << varyingSize[caseDef.dataType] + 1 << ") in mediump " << dataType << " in_te_data1[];\\n"; initPrograms() local
899 << " if (in_te_data1[i] != " << dataType << "(ref)) ok = false;\\n" initPrograms() local
1035 CrossInvocation::DataType dataType; createShaderInputOutputTests() member
[all...]
/third_party/skia/src/core/
H A DSkYUVAPixmaps.cpp120 DataType dataType, in SkYUVAPixmapInfo()
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()
269 : fYUVAInfo(yuvaInfo), fDataType(dataType) { in SkYUVAPixmaps()
119 SkYUVAPixmapInfo(const SkYUVAInfo& yuvaInfo, DataType dataType, const size_t rowBytes[kMaxPlanes]) SkYUVAPixmapInfo() argument
266 SkYUVAPixmaps(const SkYUVAInfo& yuvaInfo, DataType dataType, const SkPixmap pixmaps[kMaxPlanes]) SkYUVAPixmaps() argument
/third_party/skia/third_party/externals/angle2/samples/sample_util/
H A 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/typescript/tests/baselines/reference/
H A DexcessPropertyCheckWithNestedArrayIntersection.js14 dataType: ValueAndKeyFields & ValueOnlyFields;
17 dataType: {
28 dataType: {

Completed in 28 milliseconds

1234567