/external/deqp/modules/gles3/functional/ |
D | es3fFboTestUtil.cpp | 113 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 …]
|
D | es3fDepthTests.cpp | 93 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()
|
D | es3fStencilTests.cpp | 93 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()
|
D | es3fShaderBuiltinVarTests.cpp | 926 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local 931 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices() 943 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local 945 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments() 948 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packet, context, VA… in shadeFragments()
|
D | es3fPolygonOffsetTests.cpp | 228 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()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineReferenceRenderer.hpp | 66 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() 184 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in shadeFragments() local 186 const rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments() [all …]
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 192 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 …]
|
D | glsTextureBufferCase.cpp | 166 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/ |
D | es31fFboTestUtil.cpp | 205 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() 374 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local 376 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices() 393 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local [all …]
|
D | es31fGeometryShaderTests.cpp | 237 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 …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthTests.cpp | 90 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()
|
D | es2fFboRenderTest.cpp | 95 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 …]
|
D | es2fTextureSpecificationTests.cpp | 139 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 …]
|
D | es2fStencilTests.cpp | 90 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()
|
D | es2fTextureUnitTests.cpp | 455 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local 457 rr::VertexPacket& packet = *(packets[packetNdx]); in shadeVertices() 470 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local 472 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments() 527 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, outColors[fragNdx]); in shadeFragments()
|
/external/deqp/framework/referencerenderer/ |
D | rrShadingContext.hpp | 54 void writeFragmentOutput (const FragmentShadingContext& context, int packetNdx, int fragNdx, int ou… in writeFragmentOutput() argument 56 DE_ASSERT(packetNdx >= 0); in writeFragmentOutput() 60 context.outputArray[outputNdx + context.numFragmentOutputs*(fragNdx + packetNdx*4)] = value; in writeFragmentOutput() 159 inline float readFragmentDepth (const FragmentShadingContext& context, int packetNdx, int fragNdx, … in readFragmentDepth() argument 163 return context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx]; in readFragmentDepth() 166 inline void writeFragmentDepth (const FragmentShadingContext& context, int packetNdx, int fragNdx, … in writeFragmentDepth() argument 170 context.fragmentDepths[(packetNdx * 4 + fragNdx) * context.numSamples + sampleNdx] = depthValue; in writeFragmentDepth()
|
D | rrRasterizer.cpp | 541 int packetNdx = 0; in rasterizeSingleSample() local 550 while (m_curPos.y() <= m_bboxMax.y() && packetNdx < maxFragmentPackets) in rasterizeSingleSample() 616 depthValues[packetNdx*4+0] = z0[0]*za + z1[0]*zb + zc; in rasterizeSingleSample() 617 depthValues[packetNdx*4+1] = z0[1]*za + z1[1]*zb + zc; in rasterizeSingleSample() 618 depthValues[packetNdx*4+2] = z0[2]*za + z1[2]*zb + zc; in rasterizeSingleSample() 619 depthValues[packetNdx*4+3] = z0[3]*za + z1[3]*zb + zc; in rasterizeSingleSample() 624 FragmentPacket& packet = fragmentPackets[packetNdx]; in rasterizeSingleSample() 637 packetNdx += 1; in rasterizeSingleSample() 641 DE_ASSERT(packetNdx <= maxFragmentPackets); in rasterizeSingleSample() 642 numPacketsRasterized = packetNdx; in rasterizeSingleSample() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawInstancedTests.cpp | 170 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local 172 const int instanceNdx = packets[packetNdx]->instanceNdx + m_firstInstance; in shadeVertices() 173 …sition = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packetNdx]… in shadeVertices() 174 …color = rr::readVertexAttribFloat(inputs[1], packets[packetNdx]->instanceNdx, packets[packetNdx]… in shadeVertices() 175 …olor2 = rr::readVertexAttribFloat(inputs[2], packets[packetNdx]->instanceNdx, packets[packetNdx]… in shadeVertices() 176 …packets[packetNdx]->position = position + tcu::Vec4((float)(packets[packetNdx]->instanceNdx * 2.0 … in shadeVertices() 177 …packets[packetNdx]->outputs[0] = color + tcu::Vec4((float)instanceNdx / (float)m_numInstances, 0.0… in shadeVertices() 200 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local 202 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments() 206 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
|
D | vktBasicDrawTests.cpp | 215 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local 217 packets[packetNdx]->position = rr::readVertexAttribFloat(inputs[0], in shadeVertices() 218 packets[packetNdx]->instanceNdx, in shadeVertices() 219 packets[packetNdx]->vertexNdx); in shadeVertices() 222 packets[packetNdx]->instanceNdx, in shadeVertices() 223 packets[packetNdx]->vertexNdx); in shadeVertices() 225 packets[packetNdx]->outputs[0] = color; in shadeVertices() 242 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local 244 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments() 248 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
|
/external/deqp/framework/randomshaders/ |
D | rsgProgramExecutor.cpp | 232 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/ |
D | teglColorClearCase.cpp | 369 for (int packetNdx = 0; packetNdx < numPacketsPerThread; packetNdx++) in executeForContexts() local 371 ClearPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts() 374 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts() 375 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts() 380 if (threadNdx == 0 && packetNdx == 0 && clearNdx == 0) in executeForContexts() 418 for (int packetNdx = 0; packetNdx < numPacketsPerThread; packetNdx++) in executeForContexts() local 422 const ClearPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts()
|
D | teglRenderTests.cpp | 260 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local 265 rr::VertexPacket& packet = *packets[packetNdx]; in shadeVertices() 277 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local 279 rr::FragmentPacket& packet = packets[packetNdx]; in shadeFragments() 282 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packet, context, Va… in shadeFragments() 986 for (int packetNdx = 0; packetNdx < packetsPerThread; packetNdx++) in executeForContexts() local 988 DrawOpPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts() 991 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts() 992 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts() 994 packet.drawOps = &drawOps[(packetNdx*numThreads + threadNdx)*opsPerPacket]; in executeForContexts()
|
/external/deqp/modules/internal/ |
D | ditFrameworkTests.cpp | 738 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in runCase() local 740 …rr::readVertexAttrib(packets[packetNdx]->position, inputs[0], packets[packetNdx]->instanceNdx, pac… in runCase() 741 …packets[packetNdx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[packetNdx]->instance… in runCase() 758 for (int packetNdx = 0; packetNdx < numPackets; packetNdx++) in runCase() local 762 … const tcu::Vec4 interp = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); in runCase() 763 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, interp); in runCase()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiSmokeTests.cpp | 280 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local 282 packets[packetNdx]->position = rr::readVertexAttribFloat(inputs[0], in shadeVertices() 283 packets[packetNdx]->instanceNdx, in shadeVertices() 284 packets[packetNdx]->vertexNdx); in shadeVertices() 300 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local 304 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f)); in shadeFragments()
|
/external/deqp/external/vulkancts/modules/vulkan/clipping/ |
D | vktClippingTests.cpp | 701 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeVertices() local 703 …osition = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packetNdx]… in shadeVertices() 705 packets[packetNdx]->position = position; in shadeVertices() 706 packets[packetNdx]->outputs[0] = position; in shadeVertices() 723 for (int packetNdx = 0; packetNdx < numPackets; ++packetNdx) in shadeFragments() local 727 const float depth = rr::readVarying<float>(packets[packetNdx], context, 0, fragNdx).z(); in shadeFragments() 728 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(1.0f, depth, 0.0f, 1.0f)); in shadeFragments()
|