/external/deqp/framework/referencerenderer/ |
rrShadingContext.hpp | 54 void writeFragmentOutput (const FragmentShadingContext& context, int packetNdx, int fragNdx, int outputNdx, const T& value) 57 DE_ASSERT(fragNdx >= 0 && fragNdx < 4); 60 context.outputArray[outputNdx + context.numFragmentOutputs*(fragNdx + packetNdx*4)] = value; 66 tcu::Vector<T, 4> readPointVarying (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) 68 DE_UNREF(fragNdx); 75 tcu::Vector<T, 4> readLineVarying (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) 77 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() 78 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>(); 82 tcu::Vector<T, 4> readTriangleVarying (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, int fragNdx) [all...] |
rrRasterizer.cpp | 765 for (int fragNdx = 0; fragNdx < 4; fragNdx++) 767 e01[sampleNdx][fragNdx] = evaluateEdge(m_edge01, sx[fragNdx] + ox, sy[fragNdx] + oy); 768 e12[sampleNdx][fragNdx] = evaluateEdge(m_edge12, sx[fragNdx] + ox, sy[fragNdx] + oy); 769 e20[sampleNdx][fragNdx] = evaluateEdge(m_edge20, sx[fragNdx] + ox, sy[fragNdx] + oy) [all...] |
rrRenderer.cpp | [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFboTestUtil.cpp | 132 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 133 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); 138 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 139 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor); 144 for (int fragNdx = 0; fragNdx < 4; ++fragNdx [all...] |
es3fDepthTests.cpp | 104 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 105 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
|
es3fStencilTests.cpp | 108 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 109 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
|
es3fTextureUnitTests.cpp | 675 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 676 outColors[fragNdx] += colorMultiplier * (texSamples[fragNdx]*m_texScales[unitNdx] + m_texBiases[unitNdx]); 680 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 681 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, outColors[fragNdx]); [all...] |
es3fShaderBuiltinVarTests.cpp | 926 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 927 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packet, context, VARYINGLOC_COLOR, fragNdx)); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineReferenceRenderer.hpp | 149 for (int fragNdx = 0; fragNdx < 4; fragNdx++) 151 const tcu::Vec4 vtxPosition = rr::readVarying<float>(packet, context, 0, fragNdx); 152 rr::writeFragmentDepth(context, packetNdx, fragNdx, 0, vtxPosition.z()); 156 for (int fragNdx = 0; fragNdx < 4; fragNdx++) 158 const tcu::Vec4 vtxColor = rr::readVarying<float>(packet, context, 1, fragNdx); 159 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, vtxColor) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fFboTestUtil.cpp | 225 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 227 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); 228 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); 232 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 233 colors[fragNdx] = tcu::Vec4(0.0f); 245 for (int fragNdx = 0; fragNdx < 4; ++fragNdx [all...] |
es31fGeometryShaderTests.cpp | 238 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 239 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packets[packetNdx], context, 0, fragNdx)); 345 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 346 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packets[packetNdx], context, 0, fragNdx)); [all...] |
/external/deqp/framework/randomshaders/ |
rsgProgramExecutor.cpp | 322 for (int fragNdx = packetStart; fragNdx < packetEnd; fragNdx++) 324 int y = fragNdx/width; 325 int x = fragNdx - y*width; 329 interpolateFragmentInput(access, fragNdx-packetStart, 343 for (int fragNdx = packetStart; fragNdx < packetEnd; fragNdx++) 345 int y = fragNdx/width [all...] |
/external/deqp/modules/glshared/ |
glsRandomShaderProgram.cpp | 273 for (int fragNdx = 0; fragNdx < rr::NUM_FRAGMENTS_PER_PACKET; fragNdx++) 275 const tcu::Vec4 varValue = rr::readVarying<float>(packet, context, varNdx, fragNdx); 276 const int dstNdx = packetNdx*rr::NUM_FRAGMENTS_PER_PACKET + fragNdx; 291 for (int fragNdx = 0; fragNdx < rr::NUM_FRAGMENTS_PER_PACKET; fragNdx++) 293 const int srcNdx = packetNdx*rr::NUM_FRAGMENTS_PER_PACKET + fragNdx; 299 rr::writeFragmentOutput(context, packetOffset+packetNdx, fragNdx, 0, color) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fDepthTests.cpp | 101 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 102 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
|
es2fTextureSpecificationTests.cpp | 151 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 153 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); 159 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(f0, f1, 1.0f-f0, 1.0f-f1)); 216 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 218 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); 219 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()) [all...] |
es2fTextureUnitTests.cpp | 521 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 522 outColors[fragNdx] += colorMultiplier * texSamples[fragNdx]; 526 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 527 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, outColors[fragNdx]); [all...] |
es2fStencilTests.cpp | 105 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 106 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
|
es2fFboRenderTest.cpp | 106 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 107 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); 160 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 162 const tcu::Vec4 v_coord = rr::readVarying<float>(packets[packetNdx], context, 0, fragNdx); 165 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, this->m_uniforms[0].sampler.tex2D->sample(v_coord.x(), v_coord.y(), lod)); 223 for (int fragNdx = 0; fragNdx < 4; ++fragNdx [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawInstancedTests.cpp | 194 for (int fragNdx = 0; fragNdx < rr::NUM_FRAGMENTS_PER_PACKET; ++fragNdx) 196 const tcu::Vec4 color = rr::readVarying<float>(packet, context, 0, fragNdx); 197 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color);
|
vktBasicDrawTests.cpp | 243 for (deUint32 fragNdx = 0; fragNdx < rr::NUM_FRAGMENTS_PER_PACKET; ++fragNdx) 245 tcu::Vec4 color = rr::readVarying<float>(packet, context, 0, fragNdx); 246 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); [all...] |
/external/deqp/modules/internal/ |
ditFrameworkTests.cpp | 746 for (int fragNdx = 0; fragNdx < rr::NUM_FRAGMENTS_PER_PACKET; fragNdx++) 748 const tcu::Vec4 interp = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); 749 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, interp);
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiSmokeTests.cpp | 300 for (int fragNdx = 0; fragNdx < rr::NUM_FRAGMENTS_PER_PACKET; ++fragNdx) 302 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f)); [all...] |
/external/deqp/modules/egl/ |
teglRenderTests.cpp | 275 for (int fragNdx = 0; fragNdx < 4; ++fragNdx) 276 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, rr::readVarying<float>(packet, context, VaryingLoc_Color, fragNdx)); [all...] |
/external/deqp/framework/common/ |
tcuRasterizationVerifier.cpp | [all...] |