/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderMatrixTests.cpp | 1469 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/ |
D | es2fShaderMatrixTests.cpp | 824 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/ |
D | es3fShaderMatrixTests.cpp | 1484 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 …]
|
D | es3fShaderCommonFunctionTests.cpp | 351 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); ++inNdx) in iterate() local 352 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate() 364 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); inNdx++) in iterate() local 365 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate() 366 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
|
D | es3fFboTestUtil.cpp | 261 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()
|
D | es3fTransformFeedbackTests.cpp | 707 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/modules/gles31/functional/ |
D | es31fShaderIntegerFunctionTests.cpp | 283 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()
|
D | es31fFboTestUtil.cpp | 104 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()
|
D | es31fShaderCommonFunctionTests.cpp | 425 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); ++inNdx) in iterate() local 426 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate() 438 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); inNdx++) in iterate() local 439 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate() 440 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 410 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); ++inNdx) in iterate() local 411 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate() 423 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); inNdx++) in iterate() local 424 testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate() 425 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
|
D | vktShaderCommonFunctionTests.cpp | 534 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); ++inNdx) in iterate() local 535 curInputPtr[inNdx] = (deUint32*)inputPointers[inNdx] + inScalarSizes[inNdx]*valNdx; in iterate() 547 for (int inNdx = 0; inNdx < (int)curInputPtr.size(); inNdx++) in iterate() local 548 testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate() 549 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
|
/external/deqp/executor/ |
D | xeTestResultParser.cpp | 813 for (int inNdx = 0; inNdx < numBytesIn; inNdx++) in handleData() local 815 deUint8 byte = m_xmlParser.getDataByte(inNdx); in handleData()
|