Home
last modified time | relevance | path

Searched refs:readNdx (Results 1 – 9 of 9) sorted by relevance

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp815 for (int readNdx = 0; readNdx < numReads; readNdx++) in getShaderSpec() local
817 const string varName = indicesPrefix + de::toString(readNdx); in getShaderSpec()
824 for (int readNdx = 0; readNdx < numReads; readNdx++) in getShaderSpec() local
826 const string varName = resultPrefix + de::toString(readNdx); in getShaderSpec()
830 for (int readNdx = 0; readNdx < numReads; readNdx++) in getShaderSpec() local
832 code << resultPrefix << readNdx << " = " << instanceName << "["; in getShaderSpec()
835 code << readIndices[readNdx]; in getShaderSpec()
837 code << "indexBase + " << (readIndices[readNdx]-1); in getShaderSpec()
839 code << indicesPrefix << readNdx; in getShaderSpec()
860 for (int readNdx = 0; readNdx < numReads; readNdx++) in iterate() local
[all …]
Des31fSynchronizationTests.cpp1846 for (int readNdx = 0; readNdx < m_perInvocationSize; ++readNdx) in genReadProgram() local
1850 …<< seed + readNdx*m_invocationGridSize*m_invocationGridSize << ") % " << m_invocationGridSize*m_in… in genReadProgram()
1854 …<< seed + readNdx*m_invocationGridSize*m_invocationGridSize << ") % " << m_invocationGridSize*m_in… in genReadProgram()
1860 for (int readNdx = 0; readNdx < m_perInvocationSize; ++readNdx) in genReadProgram() local
1864 …<< (seed + readNdx*100) << "u) % " << m_invocationGridSize << "u, gl_GlobalInvocationID.y + " << r… in genReadProgram()
1868 …<< (seed + readNdx*100) << "u) % " << m_invocationGridSize << "u, gl_GlobalInvocationID.y + " << r… in genReadProgram()
1922 for (int readNdx = 0; readNdx < m_perInvocationSize; ++readNdx) in genReadMultipleProgram() local
1923 …? ("atomicExchange(") : ("")) << "sb_in0.values[(groupNdx + " << seed0 + readNdx*m_invocationGridS… in genReadMultipleProgram()
1924 …? ("atomicExchange(") : ("")) << "sb_in1.values[(groupNdx + " << seed1 + readNdx*m_invocationGridS… in genReadMultipleProgram()
1928 for (int readNdx = 0; readNdx < m_perInvocationSize; ++readNdx) in genReadMultipleProgram() local
[all …]
Des31fTessellationGeometryInteractionTests.cpp1174 int readNdx = 0; in verifyFeedbackResults() local
1181 const tcu::Vec4 primitiveVertex = feedbackResult[readNdx]; in verifyFeedbackResults()
1197 …<< "Element at index " << (readNdx) << " (tessellation invocation " << tessellatedPrimitiveNdx << … in verifyFeedbackResults()
1204 ++readNdx; in verifyFeedbackResults()
1213 const tcu::Vec4 generatedElementVertex = feedbackResult[readNdx]; in verifyFeedbackResults()
1222 …<< "Element at index " << (readNdx) << " (tessellation invocation " << tessellatedPrimitiveNdx << … in verifyFeedbackResults()
1232 readNdx++; in verifyFeedbackResults()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1338 for (int readNdx = 0; readNdx < numReads; readNdx++) in iterate() local
1340 int* dst = &expandedIndices[numInvocations*readNdx]; in iterate()
1341 std::fill(dst, dst+numInvocations, m_readIndices[readNdx]); in iterate()
1344 for (int readNdx = 0; readNdx < numReads; readNdx++) in iterate() local
1345 inputs.push_back(&expandedIndices[readNdx*numInvocations]); in iterate()
1348 for (int readNdx = 0; readNdx < numReads; readNdx++) in iterate() local
1349 outputs.push_back(&outValues[readNdx*numInvocations]); in iterate()
1359 for (int readNdx = 0; readNdx < numReads; readNdx++) in iterate() local
1361 const deUint32 refValue = m_inValues[m_readIndices[readNdx]]; in iterate()
1362 const deUint32 resValue = outValues[readNdx*numInvocations + invocationNdx]; in iterate()
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuThreadUtil.cpp100 for (int readNdx = 0; readNdx < (int)m_reads.size(); readNdx++) in modify() local
102 deps.push_back(m_reads[readNdx]); in modify()
/third_party/vk-gl-cts/data/gles31/shaders/es31/
Dandroid_extension_pack.test606 highp int readNdx = abs(int(gl_FragCoord.x));
609 if (buffer0.vals[readNdx % 32] == 0.0)
612 if (buffer1.vals[readNdx % 1024] == 0.0)
614 buffer1.vals[writeNdx % 1024] = float(readNdx);
616 if (buffer2.vals[readNdx % 15] == 0)
618 buffer2.vals[writeNdx % 15] = readNdx;
620 buffer3.vals[writeNdx % 8] = vec3(float(writeNdx), 0.0, float(readNdx));
/third_party/vk-gl-cts/data/gles31/shaders/es32/
Dandroid_extension_pack.test609 highp int readNdx = abs(int(gl_FragCoord.x));
612 if (buffer0.vals[readNdx % 32] == 0.0)
615 if (buffer1.vals[readNdx % 1024] == 0.0)
617 buffer1.vals[writeNdx % 1024] = float(readNdx);
619 if (buffer2.vals[readNdx % 15] == 0)
621 buffer2.vals[writeNdx % 15] = readNdx;
623 buffer3.vals[writeNdx % 8] = vec3(float(writeNdx), 0.0, float(readNdx));
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperationMultiQueueTests.cpp228 for (int readNdx = 0; readNdx < readSize; ++readNdx) in getQueuesPairs() local
230 if (write->second.queue[writeNdx] != read->second.queue[readNdx]) in getQueuesPairs()
232 …(QueuePair(write->first, read->first, write->second.queue[writeNdx], read->second.queue[readNdx])); in getQueuesPairs()
233 writeNdx = readNdx = std::max(writeSize, readSize); //exit from the loops in getQueuesPairs()
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharingThreadedTests.cpp383 for (int readNdx = 0; readNdx < (int)m_readSyncs.size(); readNdx++) in modifyGL() local
385 if (m_readSyncs[readNdx]) in modifyGL()
386 m_readSyncs[readNdx]->addWaiter(); in modifyGL()
388 deps.push_back(m_readSyncs[readNdx]); in modifyGL()