/external/deqp/modules/gles3/functional/ |
D | es3fShaderMatrixTests.cpp | 494 typename TypeTraits<DataT>::Type getInputValue (const ShaderEvalContext& evalCtx, int inputNdx); 496 …OAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInFloat… in getInputValue() argument 497 …_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec2[… in getInputValue() argument 498 …_VEC3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec3[… in getInputValue() argument 499 …_VEC4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec4[… in getInputValue() argument 501 … (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat2(s_constInM… in getInputValue() argument 502 …(const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat2x3(s_constIn… in getInputValue() argument 503 …(const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat2x4(s_constIn… in getInputValue() argument 504 …(const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat3x2(s_constIn… in getInputValue() argument 505 … (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat3(s_constInM… in getInputValue() argument [all …]
|
D | es3fShaderOperatorTests.cpp | 847 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in setupShaderData() local 849 const ShaderValue& v = m_spec.inputs[inputNdx]; in setupShaderData() 863 switch ((rowNdx + inputNdx) % 4) in setupShaderData() 875 m_userAttribTransforms[inputNdx] = attribMatrix; in setupShaderData() 1952 for (int inputNdx = 0; inputNdx < MAX_INPUTS; inputNdx++) in init() local 1954 …const Value& prevV = (inputNdx == 1) ? funcInfo.input0 : (inputNdx == 2) ? funcInfo.input1 : fun… in init() 1955 …const Value& v = (inputNdx == 0) ? funcInfo.input0 : (inputNdx == 1) ? funcInfo.input1 : funcIn… in init() 1976 if (inputNdx > 0) in init() 1981 …if (inputNdx == 0 || prevInDataType != curInDataType) // \note Only write input type to case name … in init() 1988 if (inputNdx != 0) in init() [all …]
|
D | es3fFboTestUtil.cpp | 324 void Texture2DShader::setUnit (int inputNdx, int unitNdx) in setUnit() argument 326 m_inputs[inputNdx].unitNdx = unitNdx; in setUnit() 329 void Texture2DShader::setTexScaleBias (int inputNdx, const Vec4& scale, const Vec4& bias) in setTexScaleBias() argument 331 m_inputs[inputNdx].scale = scale; in setTexScaleBias() 332 m_inputs[inputNdx].bias = bias; in setTexScaleBias()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderMatrixTests.cpp | 489 typename TypeTraits<DataT>::Type getInputValue (const ShaderEvalContext& evalCtx, int inputNdx); 491 …OAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInFloat… in getInputValue() argument 492 …_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec2[… in getInputValue() argument 493 …_VEC3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec3[… in getInputValue() argument 494 …_VEC4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec4[… in getInputValue() argument 496 … (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat2(s_constInM… in getInputValue() argument 497 …(const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat2x3(s_constIn… in getInputValue() argument 498 …(const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat2x4(s_constIn… in getInputValue() argument 499 …(const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat3x2(s_constIn… in getInputValue() argument 500 … (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat3(s_constInM… in getInputValue() argument [all …]
|
D | vktShaderRenderOperatorTests.cpp | 561 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in ShaderOperatorCaseInstance() local 563 const ShaderValue& v = m_spec.inputs[inputNdx]; in ShaderOperatorCaseInstance() 577 switch ((rowNdx + inputNdx) % 4) in ShaderOperatorCaseInstance() 589 m_userAttribTransforms[inputNdx] = attribMatrix; in ShaderOperatorCaseInstance() 591 const deUint32 location = 4u + inputNdx; in ShaderOperatorCaseInstance() 592 switch(inputNdx) in ShaderOperatorCaseInstance() 678 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in setupShaderData() local 680 const bool isBoolVal = de::inRange<int>(m_spec.inputs[inputNdx].type, TYPE_BOOL, TYPE_BOOL_VEC4); in setupShaderData() 681 const bool isIntVal = de::inRange<int>(m_spec.inputs[inputNdx].type, TYPE_INT, TYPE_INT_VEC4); in setupShaderData() 682 const bool isUintVal = de::inRange<int>(m_spec.inputs[inputNdx].type, TYPE_UINT, TYPE_UINT_VEC4); in setupShaderData() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderMatrixTests.cpp | 336 typename TypeTraits<DataT>::Type getInputValue (const ShaderEvalContext& evalCtx, int inputNdx); 338 …OAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInFloat… in getInputValue() argument 339 …_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec2[… in getInputValue() argument 340 …_VEC3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec3[… in getInputValue() argument 341 …_VEC4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec4[… in getInputValue() argument 342 …_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInMat2[… in getInputValue() argument 343 …_MAT3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInMat3[… in getInputValue() argument 344 …_MAT4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInMat4[… in getInputValue() argument 346 …DYNAMIC, TYPE_FLOAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(inputNdx); retu… in getInputValue() argument 347 …AMIC, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(inputNdx); retu… in getInputValue() argument [all …]
|
D | es2fShaderOperatorTests.cpp | 568 for (int inputNdx = 0; inputNdx < spec.numInputs; inputNdx++) in ShaderOperatorCase() local 570 const ShaderValue& v = spec.inputs[inputNdx]; in ShaderOperatorCase() 582 switch ((rowNdx + inputNdx) % 4) in ShaderOperatorCase() 594 m_userAttribTransforms[inputNdx] = attribMatrix; in ShaderOperatorCase() 1312 for (int inputNdx = 0; inputNdx < MAX_INPUTS; inputNdx++) in init() local 1314 …const Value& v = (inputNdx == 0) ? funcInfo.input0 : (inputNdx == 1) ? funcInfo.input1 : funcIn… in init() 1315 …const Value& prevV = (inputNdx == 1) ? funcInfo.input0 : (inputNdx == 2) ? funcInfo.input1 : fun… in init() 1328 if (inputNdx > 0) in init() 1333 …if (inputNdx == 0 || isScalarType(prevV.valueType) != isScalarType(v.valueType)) // \note Only wri… in init() 1340 if (inputNdx != 0) in init() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderCase.cpp | 513 for (deUint32 inputNdx = 0; inputNdx < m_shaderSpec.inputs.size(); ++inputNdx) in iterate() local 515 const VkDescriptorType descType = m_shaderSpec.inputs[inputNdx].getDescriptorType(); in iterate() 530 const BufferSp& input = m_shaderSpec.inputs[inputNdx].getBuffer(); in iterate() 547 const BufferSp& input = m_shaderSpec.inputs[inputNdx].getBuffer(); in iterate() 593 for (deUint32 inputNdx = 0; inputNdx < descriptorTypes.size(); ++inputNdx) in iterate() local 595 const VkDescriptorType descType = descriptorTypes[inputNdx]; in iterate() 775 for (deUint32 inputNdx = 0; inputNdx < m_shaderSpec.inputs.size(); ++inputNdx) in iterate() local 777 info.buffer = **inputBuffers[inputNdx]; in iterate()
|
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 3461 for (deUint32 inputNdx = 0; inputNdx < numInResources; ++inputNdx) in runAndVerifyDefaultPipeline() local 3463 const Resource& resource = instance.resources.inputs[inputNdx]; in runAndVerifyDefaultPipeline() 3524 inputNdx, // binding in runAndVerifyDefaultPipeline() 3625 for (deUint32 inputNdx = 0; inputNdx < numInResources; ++inputNdx) in runAndVerifyDefaultPipeline() local 3627 const Resource& resource = instance.resources.inputs[inputNdx]; in runAndVerifyDefaultPipeline() 3757 inputNdx, // binding in runAndVerifyDefaultPipeline() 3760 instance.resources.inputs[inputNdx].getDescriptorType(), // descriptorType in runAndVerifyDefaultPipeline()
|
D | vktSpvAsmInstructionTests.cpp | 17393 for (size_t inputNdx = 0; inputNdx < inputs.size(); ++inputNdx) in compareFP16ArithmeticFunc() local 17395 DE_ASSERT(inputs[inputNdx].getByteSize() > 0); in compareFP16ArithmeticFunc() 17396 …DE_ASSERT(inputs[inputNdx].getByteSize() == sizeof(deFloat16) * iterationsCount * inputsSteps[inpu… in compareFP16ArithmeticFunc() 17417 for (size_t inputNdx = 0; inputNdx < inputs.size(); ++inputNdx) in compareFP16ArithmeticFunc() local 17418 inputs[inputNdx].getBytes(inputBytes[inputNdx]); in compareFP16ArithmeticFunc() 17456 for (size_t inputNdx = 0; inputNdx < inputs.size(); ++inputNdx) in compareFP16ArithmeticFunc() local 17457 arguments.push_back(&inputsAsFP16[inputNdx][idx * inputsSteps[inputNdx] + componentNdx]); in compareFP16ArithmeticFunc() 17531 for (size_t inputNdx = 0; inputNdx < inputs.size(); ++inputNdx) in compareFP16ArithmeticFunc() local 17533 const size_t inputCompsCount = inputsComps[inputNdx]; in compareFP16ArithmeticFunc() 17535 inputsValues += " [" + de::toString(inputNdx) + "]=("; in compareFP16ArithmeticFunc() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 640 for (int inputNdx = 0; inputNdx < (int)m_shaderSpec.inputs.size(); inputNdx++) in FragmentOutExecutor() local 642 const Symbol& symbol = m_shaderSpec.inputs[inputNdx]; in FragmentOutExecutor() 797 for (int inputNdx = 0; inputNdx < (int)m_shaderSpec.inputs.size(); inputNdx++) in bindAttributes() local 799 const Symbol& symbol = m_shaderSpec.inputs[inputNdx]; in bindAttributes() 800 const void* ptr = inputs[inputNdx]; in bindAttributes() 1844 for (size_t inputNdx = 0; inputNdx < m_shaderSpec.inputs.size(); ++inputNdx) in uploadInputBuffer() local 1846 const glu::VarType& varType = m_shaderSpec.inputs[inputNdx].varType; in uploadInputBuffer() 1847 const VarLayout& layout = m_inputLayout[inputNdx]; in uploadInputBuffer() 1849 …copyToBuffer(varType, layout, numValues, inputPtrs[inputNdx], m_inputAlloc->getHostPtr(), packFloa… in uploadInputBuffer() 2453 for (size_t inputNdx = 0; inputNdx < inputTypes.size(); ++inputNdx) in generateSpirv() local [all …]
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderOperatorTests.cpp | 1594 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData() local 1596 const string inputName = "in" + de::toString(calcNdx) + (char)('a'+inputNdx); in generateSingleProgramData() 1597 const string incName = string() + "u_inc" + (char)('A'+inputNdx); in generateSingleProgramData() 1598 const string incExpr = incrementExpr(incName, m_paramTypes[inputNdx], m_useNearlyConstantInputs); in generateSingleProgramData() 1600 …op << "\t\t\t" << inputName << " = " << sumExpr(inputName, incExpr, m_paramTypes[inputNdx]) << ";\… in generateSingleProgramData() 1641 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData() local 1643 …op << "\t" << paramPrecisionsMaybe[inputNdx] << paramTypeNames[inputNdx] << " sumIn" << (char)('A'… in generateSingleProgramData() 1645 string expr = string() + "in0" + (char)('a'+inputNdx); in generateSingleProgramData() 1647 … = sumExpr(expr, string() + "in" + de::toString(i) + (char)('a'+inputNdx), m_paramTypes[inputNdx]); in generateSingleProgramData() 1671 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData() local [all …]
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderOperatorTests.cpp | 1602 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData() local 1604 const string inputName = "in" + de::toString(calcNdx) + (char)('a'+inputNdx); in generateSingleProgramData() 1605 const string incName = string() + "u_inc" + (char)('A'+inputNdx); in generateSingleProgramData() 1606 const string incExpr = incrementExpr(incName, m_paramTypes[inputNdx], m_useNearlyConstantInputs); in generateSingleProgramData() 1608 …op << "\t\t\t" << inputName << " = " << sumExpr(inputName, incExpr, m_paramTypes[inputNdx]) << ";\… in generateSingleProgramData() 1649 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData() local 1651 …op << "\t" << paramPrecisionsMaybe[inputNdx] << paramTypeNames[inputNdx] << " sumIn" << (char)('A'… in generateSingleProgramData() 1653 string expr = string() + "in0" + (char)('a'+inputNdx); in generateSingleProgramData() 1655 … = sumExpr(expr, string() + "in" + de::toString(i) + (char)('a'+inputNdx), m_paramTypes[inputNdx]); in generateSingleProgramData() 1679 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) in generateSingleProgramData() local [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboTestUtil.cpp | 167 void Texture2DShader::setUnit (int inputNdx, int unitNdx) in setUnit() argument 169 m_inputs[inputNdx].unitNdx = unitNdx; in setUnit() 172 void Texture2DShader::setTexScaleBias (int inputNdx, const Vec4& scale, const Vec4& bias) in setTexScaleBias() argument 174 m_inputs[inputNdx].scale = scale; in setTexScaleBias() 175 m_inputs[inputNdx].bias = bias; in setTexScaleBias()
|
D | es31fShaderCommonFunctionTests.cpp | 1982 for (int inputNdx = 0; inputNdx < 3; inputNdx++) in getInputValues() local 1985 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues() 1994 for (int inputNdx = 0; inputNdx < 3; inputNdx++) in getInputValues() local 1995 …fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[inputNdx] + of… in getInputValues() 1999 for (int inputNdx = 0; inputNdx < 3; inputNdx++) in getInputValues() local 2005 float* const valuePtr = &((float*)values[inputNdx])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
|
/external/deqp/modules/glshared/ |
D | glsShaderExecUtil.cpp | 597 for (int inputNdx = 0; inputNdx < (int)m_inputs.size(); inputNdx++) in execute() local 599 const Symbol& symbol = m_inputs[inputNdx]; in execute() 601 const void* ptr = inputs[inputNdx]; in execute() 1041 for (size_t inputNdx = 0; inputNdx < m_inputs.size(); ++inputNdx) in uploadInputBuffer() local 1043 const glu::VarType& varType = m_inputs[inputNdx].varType; in uploadInputBuffer() 1044 const VarLayout& layout = m_inputLayout[inputNdx]; in uploadInputBuffer() 1046 copyToBuffer(varType, layout, numValues, inputPtrs[inputNdx], mapPtr); in uploadInputBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 1000 for (size_t inputNdx = 0; inputNdx < inputValues.size(); inputNdx++) in getVertexAttributeDescriptions() local 1002 const Value& input = inputValues[inputNdx]; in getVertexAttributeDescriptions() 1003 const ValueBufferLayout::Entry& layoutEntry = layout.entries[inputNdx]; in getVertexAttributeDescriptions()
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.cpp | 515 for (size_t inputNdx = 0; inputNdx < fragInputs.size(); ++inputNdx) in flatshadeVertices() local 516 if (fragInputs[inputNdx].flatshade) in flatshadeVertices() 518 flatshadePrimitiveVertices(*it, inputNdx); in flatshadeVertices()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassTests.cpp | 913 for (size_t inputNdx = 0; inputNdx < inputAttachments.size(); inputNdx++) in logRenderPassInfo() local 915 …on inputAttachmentSection (log, "Input" + de::toString(inputNdx), "Input " + de::toString(inputNdx… in logRenderPassInfo() 916 const AttachmentReference& inputAttachment = inputAttachments[inputNdx]; in logRenderPassInfo()
|