Searched refs:hasLayer (Results 1 – 18 of 18) sorted by relevance
38 EXPECT_FALSE(nextIndex.hasLayer()); in TEST()66 EXPECT_TRUE(nextIndex.hasLayer()); in TEST()91 EXPECT_TRUE(nextIndex.hasLayer()); in TEST()119 EXPECT_TRUE(nextIndex.hasLayer()); in TEST()149 EXPECT_TRUE(nextIndex.hasLayer()); in TEST()
91 bool ImageIndex::hasLayer() const in hasLayer() function in gl::ImageIndex115 ASSERT(!hasLayer() || ((mType != TextureType::CubeMap) == usesTex3D())); in has3DLayer()116 return (hasLayer() && mType != TextureType::CubeMap); in has3DLayer()249 ASSERT(mType != TextureType::_2D && !hasLayer()); in getLayerIterator()343 ASSERT(mCurrentIndex.hasLayer()); in maxLayer()361 if (mCurrentIndex.hasLayer() && mCurrentIndex.getLayerIndex() < maxLayer() - 1) in next()
34 bool hasLayer() const;
335 if (imageIndex.usesTex3D() && imageIndex.hasLayer()) in initializeContents()
2328 return !imageIndex.hasLayer() || copyTextureLayer == ImageIndex::kEntireLevel || in formsCopyingFeedbackLoopWith()
168 return mState.imageIndex.hasLayer() ? mState.imageIndex.getLayerIndex() : 0; in getImageLayer()
227 *layerIndex = index.hasLayer() ? index.getLayerIndex() : 0; in GetRenderTargetLayerCountAndIndex()241 ASSERT(!index.hasLayer() || in GetRenderTargetLayerCountAndIndex()1031 offsetImageIndex.hasLayer() ? offsetImageIndex.getLayerIndex() : dstOffset.z; in copySubTextureImpl()1104 uint32_t baseLayer = index.hasLayer() ? index.getLayerIndex() : dstOffset.z; in copySubImageImplWithTransfer()1296 uint32_t baseLayer = index.hasLayer() ? index.getLayerIndex() : dstOffset.z; in copySubImageImplWithDraw()1581 ASSERT(!inputImageIndex.hasLayer() && inputImageIndex.getLevelIndex() == 0); in getNativeImageIndex()1741 uint32_t layerIndex = index.hasLayer() ? index.getLayerIndex() : 0; in redefineLevel()
7441 copy.imageSubresource.baseArrayLayer = index.hasLayer() ? index.getLayerIndex() : 0; in stageSubresourceUpdateImpl()7903 copy.imageSubresource.baseArrayLayer = imageIndex.hasLayer() ? imageIndex.getLayerIndex() : 0; in stageSubresourceUpdateAndGetData()8013 copyToImage.imageSubresource.baseArrayLayer = index.hasLayer() ? index.getLayerIndex() : 0; in stageSubresourceUpdateFromFramebuffer()8052 ASSERT(destOffset.z == (index.hasLayer() ? index.getLayerIndex() : 0)); in stageSubresourceUpdateFromImage()8056 copyToImage.dstSubresource.baseArrayLayer = index.hasLayer() ? index.getLayerIndex() : 0; in stageSubresourceUpdateFromImage()8147 copyRegion.imageSubresource.baseArrayLayer = index.hasLayer() ? index.getLayerIndex() : 0; in stageResourceClearWithFormat()9794 imageIndex.hasLayer() ? imageIndex.getLayerIndex() : 0, in SubresourceUpdate()9795 imageIndex.hasLayer() ? imageIndex.getLayerCount() : VK_REMAINING_ARRAY_LAYERS) in SubresourceUpdate()9823 data.clear.layerIndex = imageIndex.hasLayer() ? imageIndex.getLayerIndex() : 0; in SubresourceUpdate()9825 imageIndex.hasLayer() ? imageIndex.getLayerCount() : VK_REMAINING_ARRAY_LAYERS; in SubresourceUpdate()
447 bool hasLayer() const { return mNativeIndex.hasLayer(); } in ANGLE_GL_OBJECTS_X()
247 if (!index.hasLayer())582 uint32_t layer = index.hasLayer() ? index.getLayerIndex() : 0;
998 imageIndex.getType() == gl::TextureType::_2DMultisample || imageIndex.hasLayer());2268 ASSERT(index.hasLayer());2272 ASSERT(index.hasLayer());
812 if (index.hasLayer())
1941 rpDesc.colorAttachments[0].sliceOrDepth = index.hasLayer() ? index.getLayerIndex() : 0;
212 UINT arraySlice = static_cast<UINT>(index.hasLayer() ? index.getLayerIndex() : 0); in getSubresourceIndex()1324 ASSERT(!index.hasLayer()); in findRenderTarget()1358 ASSERT(!index.hasLayer()); in getRenderTarget()1984 ASSERT(!index.hasLayer()); in getRenderTarget()3122 if (!index.hasLayer()) in findRenderTarget()3156 if (!index.hasLayer()) in getRenderTarget()3516 ASSERT(index.hasLayer()); in findRenderTarget()3562 ASSERT(index.hasLayer()); in getRenderTarget()3843 ASSERT(!index.hasLayer()); in findRenderTarget()3858 ASSERT(!index.hasLayer()); in getRenderTarget()[all …]
649 ASSERT(index.getType() != gl::TextureType::_2DMultisampleArray || index.hasLayer()); in canCreateRenderTargetForImage()806 else if (index.getType() == gl::TextureType::_2DArray && !index.hasLayer()) in initializeContents()820 else if (index.getType() == gl::TextureType::_2DMultisampleArray && !index.hasLayer()) in initializeContents()954 ASSERT(!index.hasLayer()); in getImage()1486 ASSERT(!index.hasLayer()); in getRenderTarget()2511 ASSERT(!index.hasLayer()); in getImage()2920 if (index.hasLayer()) in getRenderTarget()3197 ASSERT(index.hasLayer()); in getImage()3955 return (!index.hasLayer() || (index.getLayerIndex() >= 0 && in isValidIndex()4230 ASSERT(!index.hasLayer()); in getRenderTarget()
341 ASSERT(!index.hasLayer()); in getRenderTarget()
954 if (mFunctions->framebufferTexture && !imageIndex.hasLayer()) in clearRenderableTexture()980 if (imageIndex.hasLayer()) in clearRenderableTexture()
1268 if (imageIter.current().hasLayer()) in SerializeTextureData()