/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fDefaultVertexAttributeTests.cpp | 326 …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()
|
D | es2fShaderMatrixTests.cpp | 775 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()
|
D | es2fUniformApiTests.cpp | 151 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() 1084 …{ { glu::isDataTypeFloatOrVec, glu::isDataTypeMatrix }, "mediump float compare_float (med… in writeUniformDefinitions() 1379 if (glu::isDataTypeFloatOrVec(uniform.type) || glu::isDataTypeMatrix(uniform.type)) in getUniforms() 1446 if (glu::isDataTypeFloatOrVec(uniform.type) || glu::isDataTypeMatrix(uniform.type)) in checkUniformDefaultValues() 1496 …const bool assignByValue = m_features & FEATURE_UNIFORMFUNC_VALUE && !glu::isDataTypeMatrix(uni… in assignUniforms() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fDefaultVertexAttributeTests.cpp | 402 …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()
|
D | es3fShaderMatrixTests.cpp | 1408 bool isInDynMat0 = isDataTypeMatrix(m_in0.dataType) && m_in0.inputType == INPUTTYPE_DYNAMIC; in init() 1409 bool isInDynMat1 = isDataTypeMatrix(m_in1.dataType) && m_in1.inputType == INPUTTYPE_DYNAMIC; in init() 1424 if (m_op == OP_MUL && isDataTypeMatrix(m_in0.dataType) && isDataTypeMatrix(m_in1.dataType)) in init() 1449 else if (isDataTypeMatrix(m_in0.dataType) && isDataTypeMatrix(m_in1.dataType)) in init() 1454 else if (isDataTypeMatrix(m_in0.dataType) || isDataTypeMatrix(m_in1.dataType)) in init() 1456 int matNdx = isDataTypeMatrix(m_in0.dataType) ? 0 : 1; in init() 1496 if (isDataTypeMatrix(in.dataType)) in init()
|
D | es3fUniformApiTests.cpp | 211 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() 1255 …{ { glu::isDataTypeFloatOrVec, glu::isDataTypeMatrix }, "mediump float compare_float (med… in writeUniformDefinitions() 1737 if (glu::isDataTypeFloatOrVec(uniform.type) || glu::isDataTypeMatrix(uniform.type)) in getUniforms() 1812 if (glu::isDataTypeFloatOrVec(uniform.type) || glu::isDataTypeMatrix(uniform.type)) in checkUniformDefaultValues() [all …]
|
D | es3fInstancedRenderingTests.cpp | 163 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()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluVarTypeUtil.hpp | 247 DE_ASSERT(isDataTypeMatrix(parentType.getBasicType())); in removeTraversed() 296 if (isDataTypeMatrix(basicType)) in findNext() 353 if (!isDataTypeMatrix(basicType)) in isValidTypePath()
|
D | gluVarTypeUtil.cpp | 140 else if (curType.isBasicType() && isDataTypeMatrix(curType.getBasicType())) in parseTypePath()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 411 DE_ASSERT(!glu::isDataTypeMatrix(type)); in getDataTypeArrayStride() 418 DE_ASSERT(!glu::isDataTypeMatrix(type)); in getDataTypeArrayStrideForLocation() 432 if (glu::isDataTypeMatrix(basicType) || isDataTypeVector(basicType)) in computeInterfaceBlockMemberAlignment() 465 const bool isMatrix = glu::isDataTypeMatrix(entry.type); in createMask() 582 if (glu::isDataTypeMatrix(basicType)) in computeXfbLayout() 615 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeXfbLayout() 640 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeXfbLayout() 908 const bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() 1216 if (glu::isDataTypeMatrix(entry.type)) in generateValueSrc() 1281 if (glu::isDataTypeMatrix(entry.type)) in writeMatrixTypeSrc() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 330 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 371 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment() 408 if (glu::isDataTypeMatrix(basicType)) in computeRelaxedBlockBaseAlignment() 499 if (glu::isDataTypeMatrix(basicType)) in computeReferenceLayout() 534 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 555 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 625 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 650 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 774 const bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() 1015 DE_ASSERT(glu::isDataTypeMatrix(basicType)); in generateImmMatrixSrc() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderMatrixTests.cpp | 1472 if (in.inputType == INPUTTYPE_DYNAMIC && isDataTypeMatrix(in.dataType)) in ShaderMatrixInstance() 1668 bool isInDynMat0 = isDataTypeMatrix(m_in0.dataType) && m_in0.inputType == INPUTTYPE_DYNAMIC; in setupShader() 1669 bool isInDynMat1 = isDataTypeMatrix(m_in1.dataType) && m_in1.inputType == INPUTTYPE_DYNAMIC; in setupShader() 1684 if (m_op == OP_MUL && isDataTypeMatrix(m_in0.dataType) && isDataTypeMatrix(m_in1.dataType)) in setupShader() 1709 else if (isDataTypeMatrix(m_in0.dataType) && isDataTypeMatrix(m_in1.dataType)) in setupShader() 1714 else if (isDataTypeMatrix(m_in0.dataType) || isDataTypeMatrix(m_in1.dataType)) in setupShader() 1716 int matNdx = isDataTypeMatrix(m_in0.dataType) ? 0 : 1; in setupShader() 1759 if (isDataTypeMatrix(in.dataType)) in setupShader()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fProgramUniformTests.cpp | 215 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() 1071 …{ { glu::isDataTypeFloatOrVec, glu::isDataTypeMatrix }, "mediump float compare_float (med… in writeUniformDefinitions() 1296 if (glu::isDataTypeFloatOrVec(uniform.type) || glu::isDataTypeMatrix(uniform.type)) in getUniforms() 1370 …const bool assignByValue = m_features & FEATURE_UNIFORMFUNC_VALUE && !glu::isDataTypeMatrix(uni… in assignUniforms() 1392 …valuesToAssign.push_back(glu::isDataTypeMatrix(apiValue.type) && transpose ? getTransposeMatrix(ap… in assignUniforms() [all …]
|
D | es31fUniformBlockTests.cpp | 215 if (glu::isDataTypeMatrix(type)) in init() 248 if (glu::isDataTypeMatrix(type)) in init()
|
D | es31fSSBOLayoutCase.cpp | 374 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 415 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment() 489 if (glu::isDataTypeMatrix(basicType)) in computeReferenceLayout() 516 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 537 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 601 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 623 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 734 const bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() 976 DE_ASSERT(glu::isDataTypeMatrix(basicType)); in generateImmMatrixSrc() 1152 const bool isMatrix = glu::isDataTypeMatrix(basicType); in generateCompareSrc() [all …]
|
D | es31fProgramInterfaceDefinition.cpp | 141 …cType()) && !glu::isDataTypeVector(varType.getBasicType()) && !glu::isDataTypeMatrix(varType.getBa… in isIllegalVertexOutput() 187 …cType()) && !glu::isDataTypeVector(varType.getBasicType()) && !glu::isDataTypeMatrix(varType.getBa… in isIllegalFragmentOutput() 189 …if (glu::isDataTypeBoolOrBVec(varType.getBasicType()) || isOpaqueType || glu::isDataTypeMatrix(var… in isIllegalFragmentOutput()
|
D | es31fSSBOLayoutTests.cpp | 834 if (glu::isDataTypeMatrix(type)) in init() 871 if (glu::isDataTypeMatrix(type)) in init() 902 if (glu::isDataTypeMatrix(type)) in init() 934 if (glu::isDataTypeMatrix(type)) in init() 968 if (glu::isDataTypeMatrix(type)) in init() 1001 if (glu::isDataTypeMatrix(type)) in init() 1235 if (glu::isDataTypeMatrix(type)) in init()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 371 DE_ASSERT(!glu::isDataTypeMatrix(type)); in getDataTypeArrayStride() 388 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 452 if (glu::isDataTypeMatrix(basicType)) in computeStd140Layout() 482 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout() 501 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout() 600 bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() 868 if (glu::isDataTypeMatrix(entry.type)) in generateValueSrc() 1221 bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyUniformData() 1796 bool isMatrix = glu::isDataTypeMatrix(uniform.type); in checkLayoutBounds()
|
D | glcShaderLibraryCase.cpp | 390 if (isDataTypeFloatOrVec(dataType) || isDataTypeMatrix(dataType)) in execute() 426 if (isDataTypeMatrix(dataType)) in execute() 1013 else if (isDataTypeMatrix(dataType)) in dumpValues() 1032 else if (isDataTypeMatrix(dataType)) in dumpValues()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 148 return isDataTypeMatrix(valueType) ? getDataTypeMatrixNumColumns(valueType) : 1; in getNumTransportLocations() 626 const bool isMatrix = isDataTypeMatrix(basicType); in computeStd140Layout() 649 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd430Layout() 650 …const DataType vecType = isDataTypeMatrix(basicType) ? glu::getDataTypeFloatVec(getDataTypeMatrix… in computeStd430Layout() 666 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : 1; in copyToLayout() 667 …const int numComps = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumRows(basicType) : scalarSi… in copyToLayout() 1005 const int numVecs = isDataTypeMatrix(basicType) in getVertexAttributeDescriptions() 1008 const int vecSize = isDataTypeMatrix(basicType) in getVertexAttributeDescriptions()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsUniformBlockCase.cpp | 400 DE_ASSERT(!glu::isDataTypeMatrix(type)); in getDataTypeArrayStride() 417 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 479 if (glu::isDataTypeMatrix(basicType)) in computeStd140Layout() 510 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout() 529 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeStd140Layout() 629 bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() 956 if (glu::isDataTypeMatrix(entry.type)) in generateValueSrc() 1278 bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyUniformData() 1839 bool isMatrix = glu::isDataTypeMatrix(uniform.type); in checkLayoutBounds()
|
D | glsShaderExecUtil.cpp | 329 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() 938 else if (glu::isDataTypeMatrix(basicType)) in computeVarLayout() 974 const bool isMatrix = glu::isDataTypeMatrix(basicType); in copyToBuffer() 1001 const bool isMatrix = glu::isDataTypeMatrix(basicType); in copyFromBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 413 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 454 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment() 491 if (glu::isDataTypeMatrix(basicType)) in computeRelaxedBlockBaseAlignment() 584 if (glu::isDataTypeMatrix(basicType)) in computeReferenceLayout() 619 if (elemType.isBasicType() && !glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 640 else if (elemType.isBasicType() && glu::isDataTypeMatrix(elemType.getBasicType())) in computeReferenceLayout() 742 bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() 1209 if (glu::isDataTypeMatrix(entry.type)) in generateValueSrc() 1282 if (glu::isDataTypeMatrix(entry.type)) in writeMatrixTypeSrc() 1315 if (glu::isDataTypeMatrix(entry.type)) in writeMatrixTypeSrc()
|
D | vktUniformBlockTests.cpp | 482 if (glu::isDataTypeMatrix(type)) in init() 515 if (glu::isDataTypeMatrix(type)) in init() 591 if (glu::isDataTypeMatrix(type)) in init() 626 if (glu::isDataTypeMatrix(type)) in init() 793 if (glu::isDataTypeMatrix(type)) in init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/ |
D | vktMemoryModelSharedLayoutCase.cpp | 95 const bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() 226 if (glu::isDataTypeMatrix(basicType)) in generateSharedMemoryWrites()
|