Lines Matching defs:depth
1143 // Create depth-stencil images and views, no color attachment
1529 float depth = 0.0f;
1533 depth = static_cast<float>(stencil) / 255.0f;
1538 depth = m_texture->getLevel(0, 0).getPixDepth(x + (m_imageSize.x() / 2), y, z) + 0.1f;
1540 depth = m_texture->getLevel(0, 0).getPixDepth(x, y, z);
1543 depth += 0.1f;
1546 depth = deFloatClamp(depth, 0.0f, 1.0f);
1547 referenceTextureLevel->getAccess().setPixDepth(depth, x, y, z);
1554 float depth = m_texture->getLevel(0, 0).getPixDepth(x, y, z) + 0.1f;
1555 stencil = static_cast<int>(depth * 255.0f);
1598 return tcu::TestStatus::fail("Failed depth");
1603 return tcu::TestStatus::fail("Failed depth");
2556 // If the format is depth-only or stencil-only, do not read one component and write it to the other, as it is missing.
2568 // Image is depth-stencil. Add the stencil case as well.