Lines Matching refs:numChannels
284 const int numChannels = getNumUsedChannels(mapVkFormat(m_inputFormat).order);
285 const deUint32 numScalarsPerVertex = numChannels * 3; // Use 3 identical attributes
290 if (numChannels == 1)
310 attributeTypeStr << numChannels;
317 for (int chanNdx = 0; chanNdx < numChannels; chanNdx++)
322 if (numChannels == 1)
679 const int numChannels = getNumUsedChannels(mapVkFormat(m_inputFormat).order);
681 m_outBufferSize = getBufferSizeInBytes(m_numVertices * m_numInstances * numChannels * 3, VK_FORMAT_R32_UINT);
836 const deUint32 numChannels = getNumUsedChannels(mapVkFormat(m_inputFormat).order);
837 const deUint32 numScalarsPerVertex = numChannels * 3; // Use 3 identical attributes
861 const deUint32 attributeIndex = (valueNdx / numChannels) % 3;
876 inBufferValueIndex = (elementIndex * numChannels) + (valueNdx % numScalarsPerVertex) - (2 * numChannels);
888 inBufferValueIndex = (getIndex(elementIndex) * (numChannels * 2)) + (valueNdx % numScalarsPerVertex) - instanceNdx * (m_numVertices * numChannels * 2);
891 if ((attributeIndex == 0) && (numInBufferValues >= numChannels))
892 numInBufferValues -= numChannels;
900 isOutOfBoundsAccess = (((inBufferValueIndex / numChannels) + 1) * numChannels > numInBufferValues);
918 if (numChannels > 1)
919 logMsg << "[" << valueNdx % numChannels << "]";
939 const bool canMatchVec4Pattern = ((valueNdx % numChannels == 3) || m_inputFormat == VK_FORMAT_A2B10G10R10_UNORM_PACK32);
1178 const deUint32 numChannels = getNumUsedChannels(mapVkFormat(format).order);
1184 { "vertex_out_of_bounds", format, numChannels * 2 * 6, numChannels, 9, 1 },
1186 { "vertex_incomplete", format, numChannels, numChannels, 3, 1 },
1188 { "instance_out_of_bounds", format, numChannels * 2 * 9, numChannels, 3, 3 },