Lines Matching refs:depth
95 float depth;
101 CompareData() : color(Vec4(0.0f)), depth(0.0f), stencil(0u)
245 VK_STENCIL_OP_INCREMENT_AND_CLAMP, // depth & stencil pass
246 VK_STENCIL_OP_KEEP, // depth only fail
252 // Always pass the depth test
329 //! Generate expected data for color, depth, and stencil samples of a given image.
357 cd.depth = wrapIncFloat(0.05f * static_cast<float>(1 + globalSample), 0.05f, 1.0f);
532 vertices.push_back(PositionColor(Vec4(loc.x(), loc.y() - y1, cd.depth, 1.0f), cd.color));
533 vertices.push_back(PositionColor(Vec4(loc.x() - x1, loc.y() + y2, cd.depth, 1.0f), cd.color));
534 vertices.push_back(PositionColor(Vec4(loc.x() + x1, loc.y() + y2, cd.depth, 1.0f), cd.color));
756 << " float depth;\n"
799 src << " // Verify depth samples\n"
802 << " float depth = texelFetch(depthImage, position, sampleNdx).r;\n"
803 << " float diff = abs(depth - sb_cmp.data[globalIndex].depth);\n"
900 //! A simple color, depth/stencil draw. Subpasses (if more than one) are independent
1398 reportSampleError(context.getTestContext().getLog(), "depth", wd.renderSize, samples.numCoverageSamples, globalSampleNdx);
1532 //! A simple color, depth/stencil draw. Single subpass, no vertex input
1802 // Minimal set of formats to cover depth and stencil
1819 // Less color than depth/stencil
2026 // Test a graphics pipeline with varying sample count per color and depth/stencil attachments