Lines Matching full:m_spec
2035 , m_spec (spec)
2048 const size_t primitiveSize = (m_spec.primitive == Array::PRIMITIVE_TRIANGLES) ? (6) : (1); // in non-indexed draw Triangles means rectangles
2054 m_testCtx.getLog() << TestLog::Message << m_spec.getDesc() << TestLog::EndMessage;
2060 Spec::ArraySpec arraySpec = m_spec.arrays[0];
2085 for (int arrayNdx = 1; arrayNdx < (int)m_spec.arrays.size(); arrayNdx++)
2087 Spec::ArraySpec arraySpec = m_spec.arrays[arrayNdx];
2096 for (int arrayNdx = 0; arrayNdx < (int)m_spec.arrays.size(); arrayNdx++)
2098 Spec::ArraySpec arraySpec = m_spec.arrays[arrayNdx];
2099 const int seed = int(arraySpec.inputType) + 10 * int(arraySpec.outputType) + 100 * int(arraySpec.storage) + 1000 * int(m_spec.primitive) + 10000 * int(arraySpec.usage) + int(m_spec.drawCount) + 12 * int(arraySpec.componentCount) + int(arraySpec.stride) + int(arraySpec.normalize);
2102 const size_t bufferSize = arraySpec.offset + stride * (m_spec.drawCount * primitiveSize - 1) + arraySpec.componentCount * Array::inputTypeSize(arraySpec.inputType);
2104 switch (m_spec.primitive)
2112 data = RandomArrayGenerator::generateQuads(seed, m_spec.drawCount, arraySpec.componentCount, arraySpec.offset, arraySpec.stride, m_spec.primitive, arraySpec.inputType, arraySpec.min, arraySpec.max);
2117 data = RandomArrayGenerator::generatePerQuad(seed, m_spec.drawCount, arraySpec.componentCount, arraySpec.stride, m_spec.primitive, arraySpec.inputType, arraySpec.min, arraySpec.max);
2140 m_glArrayPack->render(m_spec.primitive, m_spec.first, m_spec.drawCount * (int)primitiveSize, useVao, coordScale, colorScale);
2141 m_rrArrayPack->render(m_spec.primitive, m_spec.first, m_spec.drawCount * (int)primitiveSize, useVao, coordScale, colorScale);
2193 for (size_t i = 0; i < m_spec.arrays.size(); ++i)
2195 if (m_spec.arrays[i].storage == Array::STORAGE_BUFFER)
2197 const bool inputTypePacked = m_spec.arrays[i].inputType == Array::INPUTTYPE_UNSIGNED_INT_2_10_10_10 || m_spec
2199 int dataTypeSize = Array::inputTypeSize(m_spec.arrays[i].inputType);
2203 if (m_spec.arrays[i].offset % dataTypeSize != 0)
2214 for (size_t i = 0; i < m_spec.arrays.size(); ++i)
2216 if (m_spec.arrays[i].storage == Array::STORAGE_BUFFER)
2218 const bool inputTypePacked = m_spec.arrays[i].inputType == Array::INPUTTYPE_UNSIGNED_INT_2_10_10_10 || m_spec.arrays[i].inputType == Array::INPUTTYPE_INT_2_10_10_10;
2220 int dataTypeSize = Array::inputTypeSize(m_spec.arrays[i].inputType);
2224 if (m_spec.arrays[i].stride % dataTypeSize != 0)