Searched defs:basicType (Results 1 - 25 of 30) sorted by relevance

12

/external/swiftshader/src/OpenGL/compiler/
H A DparseConst.cpp168 TBasicType basicType = type.getBasicType(); local
180 leftUnionArray[index].cast(basicType, rightUnionArray[i]);
193 leftUnionArray[i].cast(basicType, rightUnionArray[count]);
207 leftUnionArray[i].cast(basicType, rightUnionArray[0]);
H A DIntermediate.cpp1011 TBasicType basicType = left->getBasicType(); local
1018 setType(TType(basicType, higherPrecision, EvqTemporary,
1023 setType(TType(basicType, higherPrecision, EvqTemporary,
1029 setType(TType(basicType, higherPrecision, EvqTemporary,
1036 setType(TType(basicType, higherPrecision, EvqTemporary,
1043 setType(TType(basicType, higherPrecision, EvqTemporary,
1071 setType(TType(basicType, higherPrecision, EvqTemporary,
1080 setType(TType(basicType, higherPrecision, EvqTemporary,
1143 setType(TType(basicType, higherPrecision, EvqTemporary,
H A DSymbolTable.h254 TBasicType basicType = type->getBasicType(); local
255 return basicType == EbtGenType || basicType == EbtGenIType || basicType == EbtGenUType || basicType == EbtGenBType;
265 TBasicType basicType = type->getBasicType(); local
266 return basicType == EbtVec || basicType == EbtIVec || basicType == EbtUVec || basicType
[all...]
/external/deqp/framework/opengl/
H A DgluVarType.cpp42 VarType::VarType (DataType basicType, Precision precision) argument
45 m_data.basic.type = basicType;
H A DgluVarTypeUtil.hpp294 DataType basicType = curType.getBasicType(); local
296 if (isDataTypeMatrix(basicType))
298 else if (isDataTypeVector(basicType))
349 DataType basicType = curType->getBasicType();
353 if (!isDataTypeMatrix(basicType))
356 basicType = getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType));
362 if (!isDataTypeVector(basicType))
365 basicType = getDataTypeScalarType(basicType);
396 DataType basicType = curType->getBasicType(); local
[all...]
H A DgluShaderLibrary.cpp1021 DataType basicType = TYPE_LAST; local
1036 basicType = mapDataTypeToken(m_curToken);
1037 if (basicType == TYPE_INVALID)
1059 value.type = VarType(basicType, PRECISION_LAST);
1072 parseValueElement(basicType, dstBlock->back());
1090 parseValueElement(basicType, dstBlock->back());
/external/deqp/modules/gles31/functional/
H A Des31fSeparateShaderTests.cpp204 const DataType basicType = input.varType.getBasicType(); local
207 switch (getDataTypeScalarType(basicType))
215 DataType floatType = getDataTypeFloatScalars(basicType);
224 if (isDataTypeScalarOrVector(basicType))
226 switch (getDataTypeScalarSize(basicType))
244 else if (isDataTypeMatrix(basicType))
246 int rows = getDataTypeMatrixNumRows(basicType);
247 int columns = getDataTypeMatrixNumColumns(basicType);
H A Des31fShaderSharedVarTests.cpp74 SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize);
92 static std::string getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) argument
97 str << getDataTypeName(basicType) << ", work group size = " << workGroupSize;
101 SharedBasicVarCase::SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) argument
102 : TestCase (context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str())
103 , m_basicType (basicType)
368 for (int basicType = TYPE_FLOAT; basicType <= TYPE_BOOL_VEC4; basicType++)
370 if (glu::getDataTypeScalarType(DataType(basicType))
[all...]
H A Des31fShaderIntegerFunctionTests.cpp81 const glu::DataType basicType = varValue.type.getBasicType(); local
82 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType);
83 const int numComponents = glu::getDataTypeScalarSize(basicType);
86 str << glu::getDataTypeName(basicType) << "(";
H A Des31fShaderCommonFunctionTests.cpp368 const glu::DataType basicType = varValue.type.getBasicType(); local
369 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType);
370 const int numComponents = glu::getDataTypeScalarSize(basicType);
373 str << glu::getDataTypeName(basicType) << "(";
H A Des31fProgramUniformTests.cpp239 const glu::DataType basicType = type.getBasicType(); local
240 if (glu::isDataTypeSampler(basicType) && std::find(dst.begin(), dst.end(), basicType) == dst.end())
241 dst.push_back(basicType);
/external/deqp/modules/glshared/
H A DglsShaderLibraryCase.cpp154 const DataType basicType = val.type.getBasicType(); local
155 const DataType floatType = getDataTypeFloatScalars(basicType);
160 if (getDataTypeScalarType(basicType) == TYPE_FLOAT)
254 const DataType basicType = val.type.getBasicType(); local
255 const DataType floatType = getDataTypeFloatScalars(basicType);
257 const char* const refTypeStr = getDataTypeName(basicType);
259 if (getDataTypeScalarType(basicType) == TYPE_FLOAT)
300 const DataType basicType = val.type.getBasicType(); local
301 const DataType floatType = getDataTypeFloatScalars(basicType);
303 const char* const refTypeStr = getDataTypeName(basicType);
321 const DataType basicType = val.type.getBasicType(); local
375 const DataType basicType = val.type.getBasicType(); local
395 const DataType basicType = val.type.getBasicType(); local
443 const DataType basicType = val.type.getBasicType(); local
[all...]
H A DglsUniformBlockCase.hpp76 VarType (glu::DataType basicType, deUint32 flags);
86 glu::DataType getBasicType (void) const { return m_data.basicType; }
109 glu::DataType basicType; member in union:deqp::gls::ub::VarType::Data
H A DglsShaderExecUtil.cpp547 const glu::DataType basicType = outputType.getBasicType(); local
548 const int numComps = glu::getDataTypeNumComponents(basicType);
551 switch (glu::getDataTypeScalarType(basicType))
602 const glu::DataType basicType = symbol.varType.getBasicType(); local
603 const int vecSize = glu::getDataTypeScalarSize(basicType);
605 if (glu::isDataTypeFloatOrVec(basicType))
607 else if (glu::isDataTypeIntOrIVec(basicType))
609 else if (glu::isDataTypeUintOrUVec(basicType))
611 else if (glu::isDataTypeMatrix(basicType))
613 int numRows = glu::getDataTypeMatrixNumRows(basicType);
921 const glu::DataType basicType = symbol.varType.getBasicType(); local
972 const glu::DataType basicType = varType.getBasicType(); local
999 const glu::DataType basicType = varType.getBasicType(); local
[all...]
H A DglsUniformBlockCase.cpp128 VarType::VarType (glu::DataType basicType, deUint32 flags) argument
132 m_data.basicType = basicType;
420 glu::DataType basicType = type.getBasicType(); local
422 if (glu::isDataTypeMatrix(basicType))
425 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType)
426 : glu::getDataTypeMatrixNumRows(basicType);
431 return getDataTypeByteAlignment(basicType);
474 glu::DataType basicType = type.getBasicType(); local
478 entry.type = basicType;
719 getCompareDependencies(std::set<glu::DataType>& compareFuncs, glu::DataType basicType) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Duniform_query.cpp472 log_uniform(const void *values, enum glsl_base_type basicType, argument
492 switch (basicType) {
701 enum glsl_base_type basicType,
705 int size_mul = glsl_base_type_is_64bit(basicType) ? 2 : 1;
738 match = (basicType != GLSL_TYPE_DOUBLE);
741 match = (basicType == GLSL_TYPE_INT);
744 match = (basicType == GLSL_TYPE_INT && _mesa_is_desktop_gl(ctx));
747 match = (basicType == uni->type->base_type);
756 glsl_type_name(basicType));
761 log_uniform(values, basicType, component
698 _mesa_uniform(struct gl_context *ctx, struct gl_shader_program *shProg, GLint location, GLsizei count, const GLvoid *values, enum glsl_base_type basicType, unsigned src_components) argument
912 _mesa_uniform_matrix(struct gl_context *ctx, struct gl_shader_program *shProg, GLuint cols, GLuint rows, GLint location, GLsizei count, GLboolean transpose, const GLvoid *values, enum glsl_base_type basicType) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderIntegerFunctionTests.cpp83 const glu::DataType basicType = varValue.type.getBasicType(); local
84 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType);
85 const int numComponents = glu::getDataTypeScalarSize(basicType);
88 str << glu::getDataTypeName(basicType) << "(";
H A DvktShaderCommonFunctionTests.cpp311 const glu::DataType basicType = varValue.type.getBasicType(); local
312 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType);
313 const int numComponents = glu::getDataTypeScalarSize(basicType);
316 str << glu::getDataTypeName(basicType) << "(";
H A DvktShaderExecutor.cpp533 const glu::DataType basicType = outputType.getBasicType(); local
534 const int numComps = glu::getDataTypeNumComponents(basicType);
537 switch (glu::getDataTypeScalarType(basicType))
647 const glu::DataType basicType = symbol.varType.getBasicType(); local
648 const int vecSize = glu::getDataTypeScalarSize(basicType);
649 const VkFormat format = getAttributeFormat(basicType);
653 if (glu::isDataTypeFloatOrVec(basicType))
655 else if (glu::isDataTypeIntOrIVec(basicType))
657 else if (glu::isDataTypeUintOrUVec(basicType))
659 else if (glu::isDataTypeMatrix(basicType))
1597 const glu::DataType basicType = symbol.varType.getBasicType(); local
1702 const glu::DataType basicType = varType.getBasicType(); local
1729 const glu::DataType basicType = varType.getBasicType(); local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
H A DvktUniformBlockCase.hpp78 VarType (glu::DataType basicType, deUint32 flags);
88 glu::DataType getBasicType (void) const { return m_data.basicType; }
111 glu::DataType basicType; member in union:vkt::ubo::VarType::Data
H A DvktUniformBlockCase.cpp71 VarType::VarType (glu::DataType basicType, deUint32 flags) argument
75 m_data.basicType = basicType;
370 glu::DataType basicType = type.getBasicType(); local
372 if (glu::isDataTypeMatrix(basicType))
375 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType)
376 : glu::getDataTypeMatrixNumRows(basicType);
381 return getDataTypeByteAlignment(basicType);
424 glu::DataType basicType = type.getBasicType(); local
428 entry.type = basicType;
670 getCompareDependencies(std::set<glu::DataType>& compareFuncs, glu::DataType basicType) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineVertexInputTests.cpp160 GlslBasicType basicType; member in struct:vkt::pipeline::__anon3928::VertexInputTest::GlslTypeDescription
303 if (s_glslTypeDescriptions[m_attributeInfos[attributeNdx].glslType].basicType == GLSL_BASIC_TYPE_DOUBLE)
593 if (VertexInputTest::s_glslTypeDescriptions[attributeInfo.glslType].basicType == VertexInputTest::GLSL_BASIC_TYPE_DOUBLE)
1367 switch (glslTypeDesc.basicType)
/external/deqp/external/vulkancts/modules/vulkan/
H A DvktShaderLibrary.cpp411 const DataType basicType = val.type.getBasicType(); local
412 const char* const refTypeStr = getDataTypeName(basicType);
622 const DataType basicType = values[ndx].type.getBasicType(); local
623 const bool isMatrix = isDataTypeMatrix(basicType);
624 const int numVecs = isMatrix ? getDataTypeMatrixNumColumns(basicType) : 1;
625 const DataType vecType = isMatrix ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)) : basicType;
645 const DataType basicType = values[ndx].type.getBasicType(); local
646 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType)
661 const DataType basicType = value.type.getBasicType(); local
1017 const DataType basicType = input.type.getBasicType(); local
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fShaderCommonFunctionTests.cpp294 const glu::DataType basicType = varValue.type.getBasicType(); local
295 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType);
296 const int numComponents = glu::getDataTypeScalarSize(basicType);
299 str << glu::getDataTypeName(basicType) << "(";
/external/deqp/modules/gles2/functional/
H A Des2fUniformApiTests.cpp175 const glu::DataType basicType = type.getBasicType(); local
176 if (glu::isDataTypeSampler(basicType) && std::find(dst.begin(), dst.end(), basicType) == dst.end())
177 dst.push_back(basicType);
225 const glu::DataType basicType = (glu::DataType)s_testDataTypes[rnd.getInt(0, DE_LENGTH_OF_ARRAY(s_testDataTypes)-1)];
226 const glu::Precision precision = glu::isDataTypeBoolOrBVec(basicType) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP;
227 return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType(basicType, precision);

Completed in 586 milliseconds

12