/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingDataSpillTests.cpp | 68 enum class DataType class 137 VkDeviceSize getElementSize(DataType dataType, VectorType vectorType) in getElementSize() 144 case DataType::INT32: dataSize = sizeof(deInt32); break; in getElementSize() 145 case DataType::UINT32: dataSize = sizeof(deUint32); break; in getElementSize() 146 case DataType::INT64: dataSize = sizeof(deInt64); break; in getElementSize() 147 case DataType::UINT64: dataSize = sizeof(deUint64); break; in getElementSize() 148 case DataType::INT16: dataSize = sizeof(deInt16); break; in getElementSize() 149 case DataType::UINT16: dataSize = sizeof(deUint16); break; in getElementSize() 150 case DataType::INT8: dataSize = sizeof(deInt8); break; in getElementSize() 151 case DataType in getElementSize() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingDataSpillTests.cpp | 68 enum class DataType class 137 VkDeviceSize getElementSize(DataType dataType, VectorType vectorType) in getElementSize() 144 case DataType::INT32: dataSize = sizeof(deInt32); break; in getElementSize() 145 case DataType::UINT32: dataSize = sizeof(deUint32); break; in getElementSize() 146 case DataType::INT64: dataSize = sizeof(deInt64); break; in getElementSize() 147 case DataType::UINT64: dataSize = sizeof(deUint64); break; in getElementSize() 148 case DataType::INT16: dataSize = sizeof(deInt16); break; in getElementSize() 149 case DataType::UINT16: dataSize = sizeof(deUint16); break; in getElementSize() 150 case DataType::INT8: dataSize = sizeof(deInt8); break; in getElementSize() 151 case DataType in getElementSize() [all...] |
/third_party/skia/include/core/ |
H A D | SkYUVAPixmaps.h | 37 enum class DataType { class in SkYUVAPixmapInfo 45 static constexpr int kDataTypeCnt = static_cast<int>(DataType::kLast) + 1; 55 /** All legal combinations of PlaneConfig and DataType are supported. */ 60 * as indicated by PlaneConfig with channel data types as indicated by DataType. 62 constexpr bool supported(PlaneConfig, DataType) const; 66 * represented as DataType. 68 void enableDataType(DataType, int numChannels); 71 // The bit for DataType dt with n channels is at index kDataTypeCnt*(n-1) + dt. 76 * Gets the default SkColorType to use with numChannels channels, each represented as DataType. 79 static constexpr SkColorType DefaultColorTypeForDataType(DataType dataTyp [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluShaderUtil.hpp | 108 // DataType 110 enum DataType enum 261 const char* getDataTypeName (DataType dataType); 262 int getDataTypeScalarSize (DataType dataType); 263 DataType getDataTypeScalarType (DataType dataType); 264 DataType getDataTypeFloat16Scalars (DataType dataType); 265 DataType getDataTypeFloatScalars (DataType dataTyp [all...] |
H A D | gluShaderUtil.cpp | 196 // DataType 198 const char* getDataTypeName (DataType dataType) in getDataTypeName() 332 int getDataTypeScalarSize (DataType dataType) in getDataTypeScalarSize() 466 DataType getDataTypeScalarType (DataType dataType) in getDataTypeScalarType() 468 static const DataType s_scalarTypes[] = in getDataTypeScalarType() 600 DataType getDataTypeFloat16Scalars (DataType dataType) in getDataTypeFloat16Scalars() 602 static const DataType s_floatTypes[] = in getDataTypeFloat16Scalars() 734 DataType getDataTypeFloatScalar [all...] |
H A D | gluTextureUtil.hpp | 80 DataType getSampler1DType (tcu::TextureFormat format); 81 DataType getSampler2DType (tcu::TextureFormat format); 82 DataType getSamplerCubeType (tcu::TextureFormat format); 83 DataType getSampler1DArrayType (tcu::TextureFormat format); 84 DataType getSampler2DArrayType (tcu::TextureFormat format); 85 DataType getSampler3DType (tcu::TextureFormat format); 86 DataType getSamplerCubeArrayType (tcu::TextureFormat format);
|
/third_party/vixl/src/aarch32/ |
H A D | assembler-aarch32.h | 270 typedef void (Assembler::*InstructionDtQQ)(DataType dt, 355 typedef void (Assembler::*InstructionDtQQQ)(DataType dt, 376 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm); 378 Condition cond, DataType dt, QRegister rd, QRegister rn, QRegister rm); 380 Condition cond, DataType dt, QRegister rd, DRegister rn, DRegister rm); 382 DataType dt, 386 DataType dt, 390 DataType dt, 394 Condition cond, DataType dt, SRegister rd, SRegister rn, SRegister rm); 396 Condition cond, DataType d [all...] |
H A D | disasm-aarch32.h | 157 DataType dt_; 158 DataType default_dt_; 161 DtPrinter(DataType dt, DataType default_dt) in DtPrinter() 163 DataType GetDt() const { return dt_; } in GetDt() 164 DataType GetDefaultDt() const { return default_dt_; } in GetDefaultDt() 317 virtual DisassemblerStream& operator<<(const DataType& type) { in operator <<() 1465 Condition cond, DataType dt, DRegister rd, DRegister rn, DRegister rm); 1468 Condition cond, DataType dt, QRegister rd, QRegister rn, QRegister rm); 1471 Condition cond, DataType d [all...] |
H A D | macro-assembler-aarch32.h | 812 void Vldr(Condition cond, DataType dt, DRegister rd, RawLiteral* literal) { in MacroAssembler() 835 void Vldr(DataType dt, DRegister rd, RawLiteral* literal) { in MacroAssembler() 845 void Vldr(Condition cond, DataType dt, SRegister rd, RawLiteral* literal) { in MacroAssembler() 868 void Vldr(DataType dt, SRegister rd, RawLiteral* literal) { in MacroAssembler() 1048 DataType dt, in MacroAssembler() 1055 DataType dt, in MacroAssembler() 1062 DataType dt, in MacroAssembler() 1094 DataType dt, in MacroAssembler() 1101 DataType dt, in MacroAssembler() 1113 DataType d in MacroAssembler() [all...] |
/third_party/skia/src/core/ |
H A D | SkYUVAPixmaps.cpp | 22 if (context.defaultBackendFormat(DefaultColorTypeForDataType(DataType::kUnorm8, n), in SupportedDataTypes() 24 this->enableDataType(DataType::kUnorm8, n); in SupportedDataTypes() 26 if (context.defaultBackendFormat(DefaultColorTypeForDataType(DataType::kUnorm16, n), in SupportedDataTypes() 28 this->enableDataType(DataType::kUnorm16, n); in SupportedDataTypes() 30 if (context.defaultBackendFormat(DefaultColorTypeForDataType(DataType::kFloat16, n), in SupportedDataTypes() 32 this->enableDataType(DataType::kFloat16, n); in SupportedDataTypes() 34 if (context.defaultBackendFormat(DefaultColorTypeForDataType(DataType::kUnorm10_Unorm2, n), in SupportedDataTypes() 36 this->enableDataType(DataType::kUnorm10_Unorm2, n); in SupportedDataTypes() 42 void SkYUVAPixmapInfo::SupportedDataTypes::enableDataType(DataType type, int numChannels) { in enableDataType() 51 std::tuple<int, SkYUVAPixmapInfo::DataType> SkYUVAPixmapInf [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcLimitTest.hpp | 41 template <typename DataType> 45 LimitCase(deqp::Context& context, const char* caseName, deUint32 limitToken, DataType limitBoundary, 53 bool isWithinBoundary(DataType value, bool isBuiltin = false) const; 57 DataType getLimitValue(const glw::Functions& gl) const; 59 bool isEqual(DataType a, DataType b) const; 60 bool isGreater(DataType a, DataType b) const; 61 bool isSmaller(DataType a, DataType [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | UniformsPerf.cpp | 35 enum DataType enum 74 DataType dataType = DataType::VEC4; 92 if (dataType == DataType::VEC4) in story() 96 else if (dataType == DataType::MAT3x3) in story() 100 else if (dataType == DataType::MAT3x4) in story() 195 case DataType::MAT3x3: in initializeBenchmark() 199 case DataType::MAT3x4: in initializeBenchmark() 204 case DataType::MAT4x4: in initializeBenchmark() 275 case DataType in initShaders() [all...] |
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | resolver_test_helper.h | 183 struct DataType {}; struct 187 struct DataType<bool> { struct 209 struct DataType<i32> { struct 231 struct DataType<u32> { struct 253 struct DataType<f32> { struct 275 struct DataType<vec<N, T>> { struct 282 return b.ty.vec(DataType<T>::AST(b), N); in AST() 287 return b.create<sem::Vector>(DataType<T>::Sem(b), N); in Sem() 304 args.emplace_back(DataType<T>::Expr(b, elem_value)); in ExprArgs() 312 struct DataType<ma struct 350 struct DataType<alias<T, ID>> { global() struct 395 struct DataType<ptr<T>> { global() struct 425 struct DataType<array<N, T>> { global() struct [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | CommandLine.h | 528 template <class DataType> struct OptionValue; 532 template <class DataType, bool isClass> 535 using WrapperType = OptionValue<DataType>; 539 const DataType &getValue() const { llvm_unreachable("no default value"); } in getValue() 544 bool compare(const DataType & /*V*/) const { return false; } in compare() 555 template <class DataType> class OptionValueCopy : public GenericOptionValue { 556 DataType Value; 569 const DataType &getValue() const { in getValue() 574 void setValue(const DataType &V) { in setValue() 579 bool compare(const DataType [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | CommandLine.h | 451 template <class DataType> struct OptionValue; 455 template <class DataType, bool isClass> 458 typedef OptionValue<DataType> WrapperType; 462 const DataType &getValue() const { llvm_unreachable("no default value"); } in getValue() 467 bool compare(const DataType & /*V*/) const { return false; } in compare() 478 template <class DataType> class OptionValueCopy : public GenericOptionValue { 479 DataType Value; 492 const DataType &getValue() const { in getValue() 497 void setValue(const DataType &V) { in setValue() 502 bool compare(const DataType [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboTestUtil.hpp | 46 // Helper class for constructing DataType vectors. 49 std::vector<glu::DataType> vec; 50 DataTypes& operator<< (glu::DataType type) { vec.push_back(type); return *this; } in operator <<() 58 FlatColorShader (glu::DataType outputType); 67 const glu::DataType m_outputType; 73 GradientShader (glu::DataType outputType); 82 const glu::DataType m_outputType; 88 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f)); 112 const glu::DataType m_outputType; 118 TextureCubeShader (glu::DataType samplerTyp [all...] |
H A D | es3fShaderCommonFunctionTests.cpp | 281 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() 282 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() 377 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName() 385 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in AbsCase() 409 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 421 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 467 SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in SignCase() 491 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues() 514 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare() 573 RoundEvenCase (Context& context, glu::DataType baseTyp [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/ |
H A D | vktTypeComparisonUtil.hpp | 35 const char* getCompareFuncForType (glu::DataType type); 36 void getCompareDependencies (std::set<glu::DataType> &compareFuncs, glu::DataType basicType); 37 void collectUniqueBasicTypes (std::set<glu::DataType> &basicTypes, const glu::VarType &type); 38 glu::DataType getPromoteType (glu::DataType type);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/ |
H A D | vktTypeComparisonUtil.hpp | 35 const char* getCompareFuncForType (glu::DataType type); 36 void getCompareDependencies (std::set<glu::DataType> &compareFuncs, glu::DataType basicType); 37 void collectUniqueBasicTypes (std::set<glu::DataType> &basicTypes, const glu::VarType &type); 38 glu::DataType getPromoteType (glu::DataType type);
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_build_util.h | 52 inline Instruction *mkOp(operation, DataType, Value *); 53 Instruction *mkOp1(operation, DataType, Value *, Value *); 54 Instruction *mkOp2(operation, DataType, Value *, Value *, Value *); 55 Instruction *mkOp3(operation, DataType, Value *, Value *, Value *, Value *); 57 LValue *mkOp1v(operation, DataType, Value *, Value *); 58 LValue *mkOp2v(operation, DataType, Value *, Value *, Value *); 59 LValue *mkOp3v(operation, DataType, Value *, Value *, Value *, Value *); 61 Instruction *mkLoad(DataType, Value *dst, Symbol *, Value *ptr); 62 Instruction *mkStore(operation, DataType, Symbol *, Value *ptr, Value *val); 64 LValue *mkLoadv(DataType, Symbo [all...] |
H A D | nv50_ir_lowering_helper.cpp | 61 DataType dTy = insn->dType; in handleABS() 85 DataType dTy = insn->dType; in handleCVT() 86 DataType sTy = insn->sType; in handleCVT() 115 DataType dTy = insn->dType; in handleMAXMIN() 119 DataType sTy = typeOfSize(4, false, isSignedIntType(dTy)); in handleMAXMIN() 151 DataType dTy = insn->dType; in handleMOV() 193 DataType dTy = insn->dType; in handleSAT() 210 DataType dTy = insn->dType; in handleSLCT() 211 DataType sTy = insn->sType; in handleSLCT() 217 DataType hdT in handleSLCT() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fShaderBuiltinConstantTests.cpp | 123 template<typename DataType> 127 typedef DataType (*GetConstantValueFunc) (const glw::Functions& gl); 136 bool verifyInShaderType (glu::ShaderType shaderType, DataType reference); 143 template<typename DataType> 144 ShaderBuiltinConstantCase<DataType>::ShaderBuiltinConstantCase (Context& context, const char* varName, GetConstantValueFunc getValue, const char* requiredExt) in ShaderBuiltinConstantCase() 153 template<typename DataType> 154 ShaderBuiltinConstantCase<DataType>::~ShaderBuiltinConstantCase (void) in ~ShaderBuiltinConstantCase() 158 template<typename DataType> 159 void ShaderBuiltinConstantCase<DataType>::init (void) in init() 198 glu::DataType dataTyp in createGetConstantExecutor() [all...] |
H A D | es31fFboTestUtil.hpp | 46 // Helper class for constructing DataType vectors. 49 std::vector<glu::DataType> vec; 50 DataTypes& operator<< (glu::DataType type) { vec.push_back(type); return *this; } in operator <<() 58 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f)); 82 const glu::DataType m_outputType; 88 TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType, glu::GLSLVersion glslVersion); 106 const glu::DataType m_outputType; 124 glu::DataType getFragmentOutputType (const tcu::TextureFormat& format);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderCommonFunctionTests.cpp | 121 static int getNumMantissaBits (glu::DataType type) in getNumMantissaBits() 127 static int getMinMantissaBits (glu::DataType type, glu::Precision precision) in getMinMantissaBits() 146 static int getExponentBits (glu::DataType type) in getExponentBits() 158 static int getComponentByteSize (glu::DataType type) in getComponentByteSize() 160 const glu::DataType scalarType = glu::getDataTypeScalarType(type); in getComponentByteSize() 242 void checkTypeSupport (Context& context, glu::DataType dataType) in checkTypeSupport() 302 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() 303 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() 333 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision) in getCommonFuncCaseName() 340 static void addFunctionCases (tcu::TestCaseGroup* parent, const char* functionName, const std::vector<glu::DataType> [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderCommonFunctionTests.cpp | 121 static int getNumMantissaBits (glu::DataType type) in getNumMantissaBits() 127 static int getMinMantissaBits (glu::DataType type, glu::Precision precision) in getMinMantissaBits() 146 static int getExponentBits (glu::DataType type) in getExponentBits() 158 static int getComponentByteSize (glu::DataType type) in getComponentByteSize() 160 const glu::DataType scalarType = glu::getDataTypeScalarType(type); in getComponentByteSize() 242 void checkTypeSupport (Context& context, glu::DataType dataType) in checkTypeSupport() 302 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() 303 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() 333 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision) in getCommonFuncCaseName() 340 static void addFunctionCases (tcu::TestCaseGroup* parent, const char* functionName, const std::vector<glu::DataType> [all...] |