Home
last modified time | relevance | path

Searched refs:stencilOffset (Results 1 – 2 of 2) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp264 deUint32 stencilOffset = 0u; in uploadTestTextureInternal() local
273 stencilOffset = static_cast<deUint32>(deAlign32(static_cast<deInt32>(bufferSize), 4)); in uploadTestTextureInternal()
274 bufferSize = stencilOffset + srcStencilTexture->getSize(); in uploadTestTextureInternal()
302 DE_ASSERT(stencilOffset != 0u); in uploadTestTextureInternal()
304 srcStencilTexture->write(reinterpret_cast<deUint8*>(bufferAlloc->getHostPtr()) + stencilOffset); in uploadTestTextureInternal()
310 region.bufferOffset += stencilOffset; in uploadTestTextureInternal()
349 deUint32 stencilOffset = 0u; in uploadTestTextureInternalSparse() local
363 stencilOffset = static_cast<deUint32>(deAlign32(static_cast<deInt32>(bufferSize), 4)); in uploadTestTextureInternalSparse()
364 bufferSize = stencilOffset + srcStencilTexture->getSize(); in uploadTestTextureInternalSparse()
395 DE_ASSERT(stencilOffset != 0u); in uploadTestTextureInternalSparse()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_stencil.c356 const GLint stencilOffset = get_stencil_offset(rb->Format); in _swrast_stencil_and_ztest_span() local
375 stencilBuf = _swrast_pixel_address(rb, span->x, span->y) + stencilOffset; in _swrast_stencil_and_ztest_span()