Home
last modified time | relevance | path

Searched refs:packetNdx (Results 1 – 25 of 33) sorted by relevance

12

/external/deqp/modules/gles3/functional/
Des3fFboTestUtil.cpp113 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
115 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
131 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
133 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
137 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
139 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor); in shadeFragments()
143 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
145 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, uicolor); in shadeFragments()
198 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
200 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
[all …]
Des3fDepthTests.cpp93 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
94 …packets[packetNdx]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNd… in shadeVertices()
103 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
105 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
Des3fStencilTests.cpp93 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
95 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
107 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
109 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
Des3fShaderBuiltinVarTests.cpp905 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
910 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
922 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
924 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments()
927 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packet, context, VA… in shadeFragments()
Des3fPolygonOffsetTests.cpp228 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
233 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
245 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
247 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments()
250 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readTriangleVarying<float>(packet, con… in shadeFragments()
Des3fTextureUnitTests.cpp610 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
612 rr::VertexPacket& packet = *(packets[packetNdx]); in shadeVertices()
625 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
627 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments()
680 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, outColors[fragNdx]); in shadeFragments()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.hpp66 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in shadeVertices() local
68 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices()
101 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in shadeVertices() local
103 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices()
143 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in shadeFragments() local
145 const rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments()
152 rr::writeFragmentDepth(context, packetNdx, fragNdx, 0, vtxPosition.z()); in shadeFragments()
159 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, vtxColor); in shadeFragments()
241 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in shadeFragments() local
243 const rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments()
[all …]
/external/deqp/modules/glshared/
DglsRandomShaderProgram.cpp192 const int packetNdx = ndx+packetOffset; in shadeVertices() local
193 const rr::VertexPacket* packet = packets[packetNdx]; in shadeVertices()
211 const int packetNdx = ndx+packetOffset; in shadeVertices() local
212 rr::VertexPacket* packet = packets[packetNdx]; in shadeVertices()
233 const int packetNdx = ndx+packetOffset; in shadeVertices() local
234 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices()
269 for (int packetNdx = 0; packetNdx < numPacketsToExecute; packetNdx++) in shadeFragments() local
271 const rr::FragmentPacket& packet = packets[packetOffset+packetNdx]; in shadeFragments()
276 const int dstNdx = packetNdx*rr::NUM_FRAGMENTS_PER_PACKET + fragNdx; in shadeFragments()
289 for (int packetNdx = 0; packetNdx < numPacketsToExecute; packetNdx++) in shadeFragments() local
[all …]
DglsTextureBufferCase.cpp166 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in shadeVertices() local
168 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices()
192 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in shadeVertices() local
194 rr::VertexPacket* const packet = packets[packetNdx]; in shadeVertices()
224 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in shadeFragments() local
226 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments()
238 …rr::writeFragmentOutput(context, packetNdx, 0, 0, tcu::Vec4(color0.x() * color0.w(), color0.y() * … in shadeFragments()
239 …rr::writeFragmentOutput(context, packetNdx, 1, 0, tcu::Vec4(color1.x() * color1.w(), color1.y() * … in shadeFragments()
240 …rr::writeFragmentOutput(context, packetNdx, 2, 0, tcu::Vec4(color2.x() * color2.w(), color2.y() * … in shadeFragments()
241 …rr::writeFragmentOutput(context, packetNdx, 3, 0, tcu::Vec4(color3.x() * color3.w(), color3.y() * … in shadeFragments()
[all …]
/external/deqp/modules/gles31/functional/
Des31fFboTestUtil.cpp205 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
207 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
222 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
227 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
256 …if (m_outputType == glu::TYPE_FLOAT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0… in shadeFragments()
257 …else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx,… in shadeFragments()
258 …else if (m_outputType == glu::TYPE_UINT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx… in shadeFragments()
368 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
370 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
387 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
[all …]
Des31fGeometryShaderTests.cpp237 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
239 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packets[packetNdx],… in shadeFragments()
344 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
346 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packets[packetNdx],… in shadeFragments()
489 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
495 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f)); in shadeFragments()
500 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readTriangleVarying<float>(packets[pac… in shadeFragments()
505 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readTriangleVarying<float>(packets[p… in shadeFragments()
506 … + rr::readTriangleVarying<float>(packets[packetNdx], context, 1, fragNdx).swizzle(1, 0, 2, 3)); in shadeFragments()
828 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
[all …]
Des31fDrawBuffersIndexedTests.cpp688 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
690 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
738 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
740 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments()
767 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
778 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
789 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
/external/deqp/modules/gles2/functional/
Des2fDepthTests.cpp90 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
91 …packets[packetNdx]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNd… in shadeVertices()
100 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
102 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
Des2fTextureSpecificationTests.cpp139 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
141 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
150 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
153 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
159 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(f0, f1, 1.0f-f0, 1.0f-f1)); in shadeFragments()
199 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
201 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
213 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
218 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
227 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, colors[fragNdx]); in shadeFragments()
[all …]
Des2fFboRenderTest.cpp95 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
96 …packets[packetNdx]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNd… in shadeVertices()
105 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
107 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
148 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
150 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
159 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
162 const tcu::Vec4 v_coord = rr::readVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
165 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, this->m_uniforms[0].sampler.tex2D->sample(… in shadeFragments()
211 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
[all …]
Des2fStencilTests.cpp90 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
92 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
104 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
106 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
Des2fTextureUnitTests.cpp454 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
456 rr::VertexPacket& packet = *(packets[packetNdx]); in shadeVertices()
469 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
471 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments()
526 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, outColors[fragNdx]); in shadeFragments()
Des2fPolygonOffsetTests.cpp225 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
230 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
242 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
244 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments()
247 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readTriangleVarying<float>(packet, con… in shadeFragments()
/external/deqp/framework/referencerenderer/
DrrShadingContext.hpp53 void writeFragmentOutput (const FragmentShadingContext& context, int packetNdx, int fragNdx, int ou… in writeFragmentOutput() argument
55 DE_ASSERT(packetNdx >= 0); in writeFragmentOutput()
59 context.outputArray[outputNdx + context.numFragmentOutputs*(fragNdx + packetNdx*4)] = value; in writeFragmentOutput()
158 inline float readFragmentDepth (const FragmentShadingContext& context, int packetNdx, int fragNdx, … in readFragmentDepth() argument
162 return context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx]; in readFragmentDepth()
165 inline void writeFragmentDepth (const FragmentShadingContext& context, int packetNdx, int fragNdx, … in writeFragmentDepth() argument
169 context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx] = depthValue; in writeFragmentDepth()
DrrRasterizer.cpp536 int packetNdx = 0; in rasterizeSingleSample() local
545 while (m_curPos.y() <= m_bboxMax.y() && packetNdx < maxFragmentPackets) in rasterizeSingleSample()
611 depthValues[packetNdx*4+0] = z0[0]*za + z1[0]*zb + zc; in rasterizeSingleSample()
612 depthValues[packetNdx*4+1] = z0[1]*za + z1[1]*zb + zc; in rasterizeSingleSample()
613 depthValues[packetNdx*4+2] = z0[2]*za + z1[2]*zb + zc; in rasterizeSingleSample()
614 depthValues[packetNdx*4+3] = z0[3]*za + z1[3]*zb + zc; in rasterizeSingleSample()
619 FragmentPacket& packet = fragmentPackets[packetNdx]; in rasterizeSingleSample()
632 packetNdx += 1; in rasterizeSingleSample()
636 DE_ASSERT(packetNdx <= maxFragmentPackets); in rasterizeSingleSample()
637 numPacketsRasterized = packetNdx; in rasterizeSingleSample()
[all …]
/external/deqp/framework/randomshaders/
DrsgProgramExecutor.cpp232 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in execute() local
234 int packetStart = packetNdx*EXEC_VEC_WIDTH; in execute()
235 int packetEnd = deMin32((packetNdx+1)*EXEC_VEC_WIDTH, numVertices); in execute()
308 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in execute() local
310 int packetStart = packetNdx*EXEC_VEC_WIDTH; in execute()
311 int packetEnd = deMin32((packetNdx+1)*EXEC_VEC_WIDTH, width*height); in execute()
/external/deqp/modules/egl/
DteglColorClearCase.cpp367 for (int packetNdx = 0; packetNdx < numPacketsPerThread; packetNdx++) in executeForContexts() local
369 ClearPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts()
372 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts()
373 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts()
378 if (threadNdx == 0 && packetNdx == 0 && clearNdx == 0) in executeForContexts()
416 for (int packetNdx = 0; packetNdx < numPacketsPerThread; packetNdx++) in executeForContexts() local
420 const ClearPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts()
DteglRenderTests.cpp254 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
259 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices()
271 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
273 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments()
276 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packet, context, Va… in shadeFragments()
948 for (int packetNdx = 0; packetNdx < packetsPerThread; packetNdx++) in executeForContexts() local
950 DrawOpPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts()
953 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts()
954 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts()
956 packet.drawOps = &drawOps[(packetNdx*numThreads + threadNdx)*opsPerPacket]; in executeForContexts()
/external/deqp/modules/internal/
DditFrameworkTests.cpp724 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in runCase() local
726 …rr::readVertexAttrib(packets[packetNdx]->position, inputs[0], packets[packetNdx]->instanceNdx, pac… in runCase()
727 …packets[packetNdx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[packetNdx]->instance… in runCase()
744 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in runCase() local
748 … const tcu::Vec4 interp = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in runCase()
749 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, interp); in runCase()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp278 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local
280 packets[packetNdx]->position = rr::readVertexAttribFloat(inputs[0], in shadeVertices()
281 packets[packetNdx]->instanceNdx, in shadeVertices()
282 packets[packetNdx]->vertexNdx); in shadeVertices()
298 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local
302 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f)); in shadeFragments()

12