Home
last modified time | relevance | path

Searched refs:inputNdx (Results 1 – 20 of 20) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fShaderMatrixTests.cpp494 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 …]
Des3fShaderOperatorTests.cpp847 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 …]
Des3fFboTestUtil.cpp324 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/
DvktShaderRenderMatrixTests.cpp489 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 …]
DvktShaderRenderOperatorTests.cpp573 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in ShaderOperatorCaseInstance() local
575 const ShaderValue& v = m_spec.inputs[inputNdx]; in ShaderOperatorCaseInstance()
589 switch ((rowNdx + inputNdx) % 4) in ShaderOperatorCaseInstance()
601 m_userAttribTransforms[inputNdx] = attribMatrix; in ShaderOperatorCaseInstance()
603 const deUint32 location = 4u + inputNdx; in ShaderOperatorCaseInstance()
604 switch(inputNdx) in ShaderOperatorCaseInstance()
690 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) in setupShaderData() local
692 const bool isBoolVal = de::inRange<int>(m_spec.inputs[inputNdx].type, TYPE_BOOL, TYPE_BOOL_VEC4); in setupShaderData()
693 const bool isIntVal = de::inRange<int>(m_spec.inputs[inputNdx].type, TYPE_INT, TYPE_INT_VEC4); in setupShaderData()
694 const bool isUintVal = de::inRange<int>(m_spec.inputs[inputNdx].type, TYPE_UINT, TYPE_UINT_VEC4); in setupShaderData()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderMatrixTests.cpp336 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 …]
Des2fShaderOperatorTests.cpp568 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/modules/gles2/performance/
Des2pShaderOperatorTests.cpp1594 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/
Des3pShaderOperatorTests.cpp1602 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/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp472 for (deUint32 inputNdx = 0; inputNdx < m_shaderSpec.inputs.size(); ++inputNdx) in iterate() local
474 const VkDescriptorType descType = m_shaderSpec.inputs[inputNdx].getDescriptorType(); in iterate()
489 const BufferSp& input = m_shaderSpec.inputs[inputNdx].getBuffer(); in iterate()
506 const BufferSp& input = m_shaderSpec.inputs[inputNdx].getBuffer(); in iterate()
552 for (deUint32 inputNdx = 0; inputNdx < descriptorTypes.size(); ++inputNdx) in iterate() local
554 const VkDescriptorType descType = descriptorTypes[inputNdx]; in iterate()
DvktSpvAsmGraphicsShaderTestUtil.cpp2917 for (deUint32 inputNdx = 0; inputNdx < numInResources; ++inputNdx) in runAndVerifyDefaultPipeline() local
2919 const Resource& resource = instance.resources.inputs[inputNdx]; in runAndVerifyDefaultPipeline()
2998 inputNdx, // binding in runAndVerifyDefaultPipeline()
3108 for (deUint32 inputNdx = 0; inputNdx < numInResources; ++inputNdx) in runAndVerifyDefaultPipeline() local
3110 const Resource& resource = instance.resources.inputs[inputNdx]; in runAndVerifyDefaultPipeline()
3240 inputNdx, // binding in runAndVerifyDefaultPipeline()
3243 instance.resources.inputs[inputNdx].getDescriptorType(), // descriptorType in runAndVerifyDefaultPipeline()
DvktSpvAsmInstructionTests.cpp15478 for (size_t inputNdx = 0; inputNdx < inputs.size(); ++inputNdx) in compareFP16ArithmeticFunc() local
15480 DE_ASSERT(inputs[inputNdx].getByteSize() > 0); in compareFP16ArithmeticFunc()
15481 …DE_ASSERT(inputs[inputNdx].getByteSize() == sizeof(deFloat16) * iterationsCount * inputsSteps[inpu… in compareFP16ArithmeticFunc()
15502 for (size_t inputNdx = 0; inputNdx < inputs.size(); ++inputNdx) in compareFP16ArithmeticFunc() local
15503 inputs[inputNdx].getBytes(inputBytes[inputNdx]); in compareFP16ArithmeticFunc()
15541 for (size_t inputNdx = 0; inputNdx < inputs.size(); ++inputNdx) in compareFP16ArithmeticFunc() local
15542 arguments.push_back(&inputsAsFP16[inputNdx][idx * inputsSteps[inputNdx] + componentNdx]); in compareFP16ArithmeticFunc()
15614 for (size_t inputNdx = 0; inputNdx < inputs.size(); ++inputNdx) in compareFP16ArithmeticFunc() local
15616 const size_t inputCompsCount = inputsComps[inputNdx]; in compareFP16ArithmeticFunc()
15618 inputsValues += " [" + de::toString(inputNdx) + "]=("; in compareFP16ArithmeticFunc()
[all …]
/external/deqp/modules/gles31/functional/
Des31fFboTestUtil.cpp167 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()
Des31fShaderCommonFunctionTests.cpp2021 for (int inputNdx = 0; inputNdx < 3; inputNdx++) in getInputValues() local
2024 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues()
2033 for (int inputNdx = 0; inputNdx < 3; inputNdx++) in getInputValues() local
2034 …fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[inputNdx] + of… in getInputValues()
2038 for (int inputNdx = 0; inputNdx < 3; inputNdx++) in getInputValues() local
2044 float* const valuePtr = &((float*)values[inputNdx])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp597 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()
1040 for (size_t inputNdx = 0; inputNdx < m_inputs.size(); ++inputNdx) in uploadInputBuffer() local
1042 const glu::VarType& varType = m_inputs[inputNdx].varType; in uploadInputBuffer()
1043 const VarLayout& layout = m_inputLayout[inputNdx]; in uploadInputBuffer()
1045 copyToBuffer(varType, layout, numValues, inputPtrs[inputNdx], mapPtr); in uploadInputBuffer()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp639 for (int inputNdx = 0; inputNdx < (int)m_shaderSpec.inputs.size(); inputNdx++) in FragmentOutExecutor() local
641 const Symbol& symbol = m_shaderSpec.inputs[inputNdx]; in FragmentOutExecutor()
796 for (int inputNdx = 0; inputNdx < (int)m_shaderSpec.inputs.size(); inputNdx++) in bindAttributes() local
798 const Symbol& symbol = m_shaderSpec.inputs[inputNdx]; in bindAttributes()
799 const void* ptr = inputs[inputNdx]; in bindAttributes()
1805 for (size_t inputNdx = 0; inputNdx < m_shaderSpec.inputs.size(); ++inputNdx) in uploadInputBuffer() local
1807 const glu::VarType& varType = m_shaderSpec.inputs[inputNdx].varType; in uploadInputBuffer()
1808 const VarLayout& layout = m_inputLayout[inputNdx]; in uploadInputBuffer()
1810 copyToBuffer(varType, layout, numValues, inputPtrs[inputNdx], m_inputAlloc->getHostPtr()); in uploadInputBuffer()
DvktShaderCommonFunctionTests.cpp2281 for (int inputNdx = 0; inputNdx < 3; inputNdx++) in getInputValues() local
2284 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; in getInputValues()
2293 for (int inputNdx = 0; inputNdx < 3; inputNdx++) in getInputValues() local
2294 …fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[inputNdx] + of… in getInputValues()
2298 for (int inputNdx = 0; inputNdx < 3; inputNdx++) in getInputValues() local
2304 float* const valuePtr = &((float*)values[inputNdx])[caseNdx * scalarSize + scalarNdx]; in getInputValues()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp1000 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/
DrrRenderer.cpp511 for (size_t inputNdx = 0; inputNdx < fragInputs.size(); ++inputNdx) in flatshadeVertices() local
512 if (fragInputs[inputNdx].flatshade) in flatshadeVertices()
514 flatshadePrimitiveVertices(*it, inputNdx); in flatshadeVertices()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp851 for (size_t inputNdx = 0; inputNdx < inputAttachments.size(); inputNdx++) in logRenderPassInfo() local
853 …on inputAttachmentSection (log, "Input" + de::toString(inputNdx), "Input " + de::toString(inputNdx in logRenderPassInfo()
854 const AttachmentReference& inputAttachment = inputAttachments[inputNdx]; in logRenderPassInfo()