Lines Matching defs:stencil
1143 // Create depth-stencil images and views, no color attachment
1510 // ImageSamplingInstance::verifyImage() doesn't support stencil sampling.
1532 int stencil = 1 + m_texture->getLevel(0, 0).getPixStencil(x, y, z);
1533 depth = static_cast<float>(stencil) / 255.0f;
1551 int stencil = 0;
1555 stencil = static_cast<int>(depth * 255.0f);
1560 stencil = 1 + m_texture->getLevel(0, 0).getPixStencil(x + (m_imageSize.x() / 2), y, z);
1562 stencil = m_texture->getLevel(0, 0).getPixStencil(x, y, z);
1565 stencil += 1;
1567 stencil = deClamp32(stencil, 0, 255);
1570 referenceTextureLevel->getAccess().setPixStencil(stencil, x, y, z);
1629 return tcu::TestStatus::fail("Failed stencil");
1634 return tcu::TestStatus::fail("Failed stencil");
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.