Home
last modified time | relevance | path

Searched refs:isDataTypeMatrix (Results 1 – 25 of 38) sorted by relevance

12

/external/deqp/modules/gles2/functional/
Des2fDefaultVertexAttributeTests.cpp326 …const int vectorSize = (glu::isDataTypeMatrix(m_dataType)) ? (glu::getDataTypeMatrixNumRows(m_da… in genVertexSource()
327 …const char* const vectorType = glu::getDataTypeName((glu::isDataTypeMatrix(m_dataType)) ? (glu::ge… in genVertexSource()
328 …const int components = (glu::isDataTypeMatrix(m_dataType)) ? (glu::getDataTypeMatrixNumRows(m_da… in genVertexSource()
340 … == glu::TYPE_FLOAT) ? ("") : (vectorType)) << "(a_value" << ((glu::isDataTypeMatrix(m_dataType)) … in genVertexSource()
342 … == glu::TYPE_FLOAT) ? ("") : (vectorType)) << "(a_value" << ((glu::isDataTypeMatrix(m_dataType)) … in genVertexSource()
387 …loadedValue = m_loader->load(gl, (glu::isDataTypeMatrix(m_dataType)) ? (valueIndex + 1) : (valueIn… in renderWithValue()
405 …const int components = (glu::isDataTypeMatrix(m_dataType)) ? (glu::getDataTypeMatrixNumRows(m_… in computeColor()
Des2fShaderMatrixTests.cpp775 bool isInDynMat0 = isDataTypeMatrix(m_in0.dataType) && m_in0.inputType == INPUTTYPE_DYNAMIC; in init()
776 bool isInDynMat1 = isDataTypeMatrix(m_in1.dataType) && m_in1.inputType == INPUTTYPE_DYNAMIC; in init()
791 if (isDataTypeMatrix(m_in0.dataType) && isDataTypeMatrix(m_in1.dataType)) in init()
803 int matNdx = isDataTypeMatrix(m_in0.dataType) ? 0 : 1; in init()
835 if (isDataTypeMatrix(in.dataType)) in init()
Des2fUniformApiTests.cpp151 return glu::isDataTypeMatrix(t) && glu::getDataTypeMatrixNumRows(t) == N; in dataTypeIsMatrixWithNRows()
529 if (glu::isDataTypeFloatOrVec(value.type) || glu::isDataTypeMatrix(value.type)) in shaderVarValueStr()
560 if (glu::isDataTypeFloatOrVec(value.type) || glu::isDataTypeMatrix(value.type)) in apiVarValueStr()
586 if (glu::isDataTypeFloatOrVec(type) || glu::isDataTypeMatrix(type)) in generateRandomVarValue()
620 if (glu::isDataTypeFloatOrVec(type) || glu::isDataTypeMatrix(type)) in generateZeroVarValue()
655 if (glu::isDataTypeFloatOrVec(a.type) || glu::isDataTypeMatrix(a.type)) in apiVarValueEquals()
1094 …{ { glu::isDataTypeFloatOrVec, glu::isDataTypeMatrix }, "mediump float compare_float (med… in writeUniformDefinitions()
1389 if (glu::isDataTypeFloatOrVec(uniform.type) || glu::isDataTypeMatrix(uniform.type)) in getUniforms()
1456 if (glu::isDataTypeFloatOrVec(uniform.type) || glu::isDataTypeMatrix(uniform.type)) in checkUniformDefaultValues()
1506 …const bool assignByValue = m_features & FEATURE_UNIFORMFUNC_VALUE && !glu::isDataTypeMatrix(uni… in assignUniforms()
[all …]
/external/deqp/modules/gles3/functional/
Des3fDefaultVertexAttributeTests.cpp402 …const int vectorSize = (glu::isDataTypeMatrix(m_dataType)) ? (glu::getDataTypeMatrixNumRows(m_da… in genVertexSource()
403 …const char* const vectorType = glu::getDataTypeName((glu::isDataTypeMatrix(m_dataType)) ? (glu::ge… in genVertexSource()
404 …const int components = (glu::isDataTypeMatrix(m_dataType)) ? (glu::getDataTypeMatrixNumRows(m_da… in genVertexSource()
417 … == glu::TYPE_FLOAT) ? ("") : (vectorType)) << "(a_value" << ((glu::isDataTypeMatrix(m_dataType)) … in genVertexSource()
419 … == glu::TYPE_FLOAT) ? ("") : (vectorType)) << "(a_value" << ((glu::isDataTypeMatrix(m_dataType)) … in genVertexSource()
464 …loadedValue = m_loader->load(gl, (glu::isDataTypeMatrix(m_dataType)) ? (valueIndex + 1) : (valueIn… in renderWithValue()
482 …const int components = (glu::isDataTypeMatrix(m_dataType)) ? (glu::getDataTypeMatrixNumRows(m_… in computeColor()
Des3fShaderMatrixTests.cpp1421 bool isInDynMat0 = isDataTypeMatrix(m_in0.dataType) && m_in0.inputType == INPUTTYPE_DYNAMIC; in init()
1422 bool isInDynMat1 = isDataTypeMatrix(m_in1.dataType) && m_in1.inputType == INPUTTYPE_DYNAMIC; in init()
1437 if (m_op == OP_MUL && isDataTypeMatrix(m_in0.dataType) && isDataTypeMatrix(m_in1.dataType)) in init()
1462 else if (isDataTypeMatrix(m_in0.dataType) && isDataTypeMatrix(m_in1.dataType)) in init()
1467 else if (isDataTypeMatrix(m_in0.dataType) || isDataTypeMatrix(m_in1.dataType)) in init()
1469 int matNdx = isDataTypeMatrix(m_in0.dataType) ? 0 : 1; in init()
1509 if (isDataTypeMatrix(in.dataType)) in init()
Des3fUniformApiTests.cpp211 return glu::isDataTypeMatrix(t) && glu::getDataTypeMatrixNumRows(t) == N; in dataTypeIsMatrixWithNRows()
607 DE_ASSERT(glu::isDataTypeMatrix(original.type)); in getTransposeMatrix()
634 if (glu::isDataTypeFloatOrVec(value.type) || glu::isDataTypeMatrix(value.type)) in shaderVarValueStr()
667 if (glu::isDataTypeFloatOrVec(value.type) || glu::isDataTypeMatrix(value.type)) in apiVarValueStr()
695 if (glu::isDataTypeFloatOrVec(type) || glu::isDataTypeMatrix(type)) in generateRandomVarValue()
747 if (glu::isDataTypeFloatOrVec(type) || glu::isDataTypeMatrix(type)) in generateZeroVarValue()
800 if (glu::isDataTypeFloatOrVec(a.type) || glu::isDataTypeMatrix(a.type)) in apiVarValueEquals()
1265 …{ { glu::isDataTypeFloatOrVec, glu::isDataTypeMatrix }, "mediump float compare_float (med… in writeUniformDefinitions()
1747 if (glu::isDataTypeFloatOrVec(uniform.type) || glu::isDataTypeMatrix(uniform.type)) in getUniforms()
1822 if (glu::isDataTypeFloatOrVec(uniform.type) || glu::isDataTypeMatrix(uniform.type)) in checkUniformDefaultValues()
[all …]
Des3fInstancedRenderingTests.cpp163 bool isMatCase = glu::isDataTypeMatrix(m_rgbAttrType); in pushVarCompAttrib()
180 bool isMatCase = glu::isDataTypeMatrix(m_rgbAttrType); in init()
476 bool isMatCase = glu::isDataTypeMatrix(m_rgbAttrType); in setupVarAttribPointer()
/external/deqp/framework/opengl/
DgluVarTypeUtil.hpp247 DE_ASSERT(isDataTypeMatrix(parentType.getBasicType())); in removeTraversed()
296 if (isDataTypeMatrix(basicType)) in findNext()
353 if (!isDataTypeMatrix(basicType)) in isValidTypePath()
DgluShaderUtil.cpp612 else if (isDataTypeMatrix(dataType)) in getDataTypeNumLocations()
623 else if (isDataTypeMatrix(dataType)) in getDataTypeNumComponents()
DgluVarTypeUtil.cpp140 else if (curType.isBasicType() && isDataTypeMatrix(curType.getBasicType())) in parseTypePath()
DgluShaderUtil.hpp209 inline bool isDataTypeMatrix (DataType dataType) { return (dataType >= TYPE_FLOAT_MAT2) && (data… in isDataTypeMatrix() function
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp294 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
335 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment()
409 if (glu::isDataTypeMatrix(basicType)) in computeReferenceLayout()
436 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
457 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
521 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
543 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
654 const bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue()
896 DE_ASSERT(glu::isDataTypeMatrix(basicType)); in generateImmMatrixSrc()
1072 const bool isMatrix = glu::isDataTypeMatrix(basicType); in generateCompareSrc()
[all …]
DvktSSBOLayoutTests.cpp813 if (glu::isDataTypeMatrix(type)) in init()
850 if (glu::isDataTypeMatrix(type)) in init()
881 if (glu::isDataTypeMatrix(type)) in init()
913 if (glu::isDataTypeMatrix(type)) in init()
947 if (glu::isDataTypeMatrix(type)) in init()
980 if (glu::isDataTypeMatrix(type)) in init()
1214 if (glu::isDataTypeMatrix(type)) in init()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp379 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
420 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment()
494 if (glu::isDataTypeMatrix(basicType)) in computeReferenceLayout()
521 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
542 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
606 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
628 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout()
739 const bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue()
981 DE_ASSERT(glu::isDataTypeMatrix(basicType)); in generateImmMatrixSrc()
1157 const bool isMatrix = glu::isDataTypeMatrix(basicType); in generateCompareSrc()
[all …]
Des31fProgramUniformTests.cpp215 return glu::isDataTypeMatrix(t) && glu::getDataTypeMatrixNumRows(t) == N; in dataTypeIsMatrixWithNRows()
558 DE_ASSERT(glu::isDataTypeMatrix(original.type)); in getTransposeMatrix()
585 if (glu::isDataTypeFloatOrVec(value.type) || glu::isDataTypeMatrix(value.type)) in shaderVarValueStr()
618 if (glu::isDataTypeFloatOrVec(value.type) || glu::isDataTypeMatrix(value.type)) in apiVarValueStr()
646 if (glu::isDataTypeFloatOrVec(type) || glu::isDataTypeMatrix(type)) in generateRandomVarValue()
699 if (glu::isDataTypeFloatOrVec(a.type) || glu::isDataTypeMatrix(a.type)) in apiVarValueEquals()
1081 …{ { glu::isDataTypeFloatOrVec, glu::isDataTypeMatrix }, "mediump float compare_float (med… in writeUniformDefinitions()
1306 if (glu::isDataTypeFloatOrVec(uniform.type) || glu::isDataTypeMatrix(uniform.type)) in getUniforms()
1380 …const bool assignByValue = m_features & FEATURE_UNIFORMFUNC_VALUE && !glu::isDataTypeMatrix(uni… in assignUniforms()
1402 …valuesToAssign.push_back(glu::isDataTypeMatrix(apiValue.type) && transpose ? getTransposeMatrix(ap… in assignUniforms()
[all …]
Des31fUniformBlockTests.cpp215 if (glu::isDataTypeMatrix(type)) in init()
248 if (glu::isDataTypeMatrix(type)) in init()
Des31fProgramInterfaceDefinition.cpp131 …cType()) && !glu::isDataTypeVector(varType.getBasicType()) && !glu::isDataTypeMatrix(varType.getBa… in isIllegalVertexOutput()
177 …cType()) && !glu::isDataTypeVector(varType.getBasicType()) && !glu::isDataTypeMatrix(varType.getBa… in isIllegalFragmentOutput()
179 …if (glu::isDataTypeBoolOrBVec(varType.getBasicType()) || isOpaqueType || glu::isDataTypeMatrix(var… in isIllegalFragmentOutput()
Des31fSSBOLayoutTests.cpp830 if (glu::isDataTypeMatrix(type)) in init()
867 if (glu::isDataTypeMatrix(type)) in init()
898 if (glu::isDataTypeMatrix(type)) in init()
930 if (glu::isDataTypeMatrix(type)) in init()
964 if (glu::isDataTypeMatrix(type)) in init()
997 if (glu::isDataTypeMatrix(type)) in init()
1231 if (glu::isDataTypeMatrix(type)) in init()
Des31fProgramInterfaceDefinitionUtil.cpp405 else if (glu::isDataTypeMatrix(varType.getBasicType())) in writeVariableReadAccumulateExpression()
572 …else if (glu::isDataTypeVector(varType.getBasicType()) || glu::isDataTypeMatrix(varType.getBasicTy… in writeVariableWriteExpression()
1010 if (glu::isDataTypeScalarOrVector(type) || glu::isDataTypeMatrix(type)) in getNumDataTypeComponents()
1022 else if (glu::isDataTypeMatrix(type)) in getNumDataTypeVectors()
1077 else if (glu::isDataTypeMatrix(type) && order == glu::MATRIXORDER_ROW_MAJOR) in getBufferTypeSize()
1079 else if (glu::isDataTypeMatrix(type) && order != glu::MATRIXORDER_ROW_MAJOR) in getBufferTypeSize()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp1487 if (in.inputType == INPUTTYPE_DYNAMIC && isDataTypeMatrix(in.dataType)) in ShaderMatrixInstance()
1683 bool isInDynMat0 = isDataTypeMatrix(m_in0.dataType) && m_in0.inputType == INPUTTYPE_DYNAMIC; in setupShader()
1684 bool isInDynMat1 = isDataTypeMatrix(m_in1.dataType) && m_in1.inputType == INPUTTYPE_DYNAMIC; in setupShader()
1699 if (m_op == OP_MUL && isDataTypeMatrix(m_in0.dataType) && isDataTypeMatrix(m_in1.dataType)) in setupShader()
1724 else if (isDataTypeMatrix(m_in0.dataType) && isDataTypeMatrix(m_in1.dataType)) in setupShader()
1729 else if (isDataTypeMatrix(m_in0.dataType) || isDataTypeMatrix(m_in1.dataType)) in setupShader()
1731 int matNdx = isDataTypeMatrix(m_in0.dataType) ? 0 : 1; in setupShader()
1774 if (isDataTypeMatrix(in.dataType)) in setupShader()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockTests.cpp449 if (glu::isDataTypeMatrix(type)) in init()
482 if (glu::isDataTypeMatrix(type)) in init()
547 if (glu::isDataTypeMatrix(type)) in init()
580 if (glu::isDataTypeMatrix(type)) in init()
735 if (glu::isDataTypeMatrix(type)) in init()
DvktUniformBlockCase.cpp345 DE_ASSERT(!glu::isDataTypeMatrix(type)); in getDataTypeArrayStride()
368 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
430 if (glu::isDataTypeMatrix(basicType)) in computeStd140Layout()
460 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout()
479 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout()
575 bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue()
899 if (glu::isDataTypeMatrix(entry.type)) in generateValueSrc()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp145 return isDataTypeMatrix(valueType) ? getDataTypeMatrixNumColumns(valueType) : 1; in getNumTransportLocations()
623 const bool isMatrix = isDataTypeMatrix(basicType); in computeStd140Layout()
646 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd430Layout()
647 …const DataType vecType = isDataTypeMatrix(basicType) ? glu::getDataTypeFloatVec(getDataTypeMatrix… in computeStd430Layout()
663 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : 1; in copyToLayout()
664 …const int numComps = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumRows(basicType) : scalarSi… in copyToLayout()
1018 const int numVecs = isDataTypeMatrix(basicType) in getVertexAttributeDescriptions()
1021 const int vecSize = isDataTypeMatrix(basicType) in getVertexAttributeDescriptions()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp399 DE_ASSERT(!glu::isDataTypeMatrix(type)); in getDataTypeArrayStride()
422 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
484 if (glu::isDataTypeMatrix(basicType)) in computeStd140Layout()
514 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout()
533 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout()
628 bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue()
953 if (glu::isDataTypeMatrix(entry.type)) in generateValueSrc()
1275 bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyUniformData()
1836 bool isMatrix = glu::isDataTypeMatrix(uniform.type); in checkLayoutBounds()
DglsShaderExecUtil.cpp329 else if (glu::isDataTypeMatrix(output.varType.getBasicType())) in generateFragShaderOutputDecl()
355 else if (glu::isDataTypeMatrix(output->varType.getBasicType())) in generateFragShaderOutAssign()
611 else if (glu::isDataTypeMatrix(basicType)) in execute()
937 else if (glu::isDataTypeMatrix(basicType)) in computeVarLayout()
973 const bool isMatrix = glu::isDataTypeMatrix(basicType); in copyToBuffer()
1000 const bool isMatrix = glu::isDataTypeMatrix(basicType); in copyFromBuffer()

12