Home
last modified time | relevance | path

Searched refs:inNdx (Results 1 – 12 of 12) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp1469 for (int inNdx = 0; inNdx < numInputs; inNdx++) in ShaderMatrixInstance() local
1471 const ShaderInput& in = inNdx > 0 ? m_in1 : m_in0; in ShaderMatrixInstance()
1475 useAttribute(4u + inNdx, getAttributeType(in.dataType)); in ShaderMatrixInstance()
1577 for (int inNdx = 0; inNdx < numInputs; inNdx++) in setupUniforms() local
1579 const ShaderInput& in = inNdx > 0 ? m_in1 : m_in0; in setupUniforms()
1585 …mBinding, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, sizeof(float), &s_constInFloat[inNdx]); break; in setupUniforms()
1586 …: addUniform(uniformBinding, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, s_constInVec2[inNdx]); break; in setupUniforms()
1587 …: addUniform(uniformBinding, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, s_constInVec3[inNdx]); break; in setupUniforms()
1588 …: addUniform(uniformBinding, vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, s_constInVec4[inNdx]); break; in setupUniforms()
1590 …case TYPE_FLOAT_MAT2: addMatrixUniform(uniformBinding, in.dataType, s_constInMat2x2[inNdx]); break; in setupUniforms()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderMatrixTests.cpp824 for (int inNdx = 0; inNdx < numInputs; inNdx++) in init() local
826 const ShaderInput& in = inNdx > 0 ? m_in1 : m_in0; in init()
829 string& inValue = inNdx > 0 ? inValue1 : inValue0; in init()
864 op << "uniform " << precName << " " << typeName << " u_in" << inNdx << ";\n"; in init()
865 inValue = string("u_in") + de::toString(inNdx); in init()
869 op << "const " << precName << " " << typeName << " in" << inNdx << " = "; in init()
874 case TYPE_FLOAT: op << de::floatToString(s_constInFloat[inNdx], 1); break; in init()
875 case TYPE_FLOAT_VEC2: writeVectorConstructor<2>(op, s_constInVec2[inNdx]); break; in init()
876 case TYPE_FLOAT_VEC3: writeVectorConstructor<3>(op, s_constInVec3[inNdx]); break; in init()
877 case TYPE_FLOAT_VEC4: writeVectorConstructor<4>(op, s_constInVec4[inNdx]); break; in init()
[all …]
/external/deqp/modules/gles3/functional/
Des3fShaderMatrixTests.cpp1484 for (int inNdx = 0; inNdx < numInputs; inNdx++) in init() local
1486 const ShaderInput& in = inNdx > 0 ? m_in1 : m_in0; in init()
1489 string& inValue = inNdx > 0 ? inValue1 : inValue0; in init()
1524 op << "uniform " << precName << " " << typeName << " u_in" << inNdx << ";\n"; in init()
1525 inValue = string("u_in") + de::toString(inNdx); in init()
1529 op << "const " << precName << " " << typeName << " in" << inNdx << " = "; in init()
1534 case TYPE_FLOAT: op << de::floatToString(s_constInFloat[inNdx], 1); break; in init()
1535 case TYPE_FLOAT_VEC2: writeVectorConstructor<2>(op, s_constInVec2[inNdx]); break; in init()
1536 case TYPE_FLOAT_VEC3: writeVectorConstructor<3>(op, s_constInVec3[inNdx]); break; in init()
1537 case TYPE_FLOAT_VEC4: writeVectorConstructor<4>(op, s_constInVec4[inNdx]); break; in init()
[all …]
Des3fShaderCommonFunctionTests.cpp338 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); ++inNdx) in iterate() local
339 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
351 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); inNdx++) in iterate() local
352 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate()
353 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
Des3fFboTestUtil.cpp261 for (int inNdx = 0; inNdx < (int)samplerTypes.size(); inNdx++) in genTexFragmentShader() local
263 …<< "texture(u_sampler" << inNdx << ", v_coord)) * u_texScale" << inNdx << " + u_texBias" << inNdx in genTexFragmentShader()
Des3fTransformFeedbackTests.cpp707 int inNdx = outNdx/2 + outNdx%2; in getAttributeIndex() local
708 return inNdx < numInputs ? inNdx : 0; in getAttributeIndex()
733 int inNdx = getAttributeIndex(primitiveType, numInputs, outNdx); in compareTransformFeedbackOutput() local
737 const deUint8* inPtr = inBasePtr + inStride*inNdx + attribute.offset + compNdx*sizeof(deUint32); in compareTransformFeedbackOutput()
766 … << " (" << attribute.name << "), output = " << outNdx << ", input = " << inNdx << ", component = … in compareTransformFeedbackOutput()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp452 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); ++inNdx) in iterate() local
453 …curInputPtr[inNdx] = (deUint8*)inputPointers[inNdx] + inScalarSizes[inNdx]*inCompByteSizes[inNdx]*… in iterate()
465 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); inNdx++) in iterate() local
466 testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate()
467 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
DvktShaderIntegerFunctionTests.cpp389 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); ++inNdx) in iterate() local
390 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
402 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); inNdx++) in iterate() local
403 testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate()
404 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
/external/deqp/modules/gles31/functional/
Des31fShaderIntegerFunctionTests.cpp283 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); ++inNdx) in iterate() local
284 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
296 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); inNdx++) in iterate() local
297 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate()
298 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
Des31fFboTestUtil.cpp104 for (int inNdx = 0; inNdx < (int)samplerTypes.size(); inNdx++) in genTexFragmentShader() local
106 …<< "texture(u_sampler" << inNdx << ", v_coord)) * u_texScale" << inNdx << " + u_texBias" << inNdx in genTexFragmentShader()
Des31fShaderCommonFunctionTests.cpp413 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); ++inNdx) in iterate() local
414 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate()
426 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); inNdx++) in iterate() local
427 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate()
428 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
/external/deqp/executor/
DxeTestResultParser.cpp825 for (int inNdx = 0; inNdx < numBytesIn; inNdx++) in handleData() local
827 deUint8 byte = m_xmlParser.getDataByte(inNdx); in handleData()