Home
last modified time | relevance | path

Searched refs:layerCount (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/src/gpu/vk/
DGrVkExtensions.cpp53 uint32_t layerCount = 0; in initInstance() local
54 VkResult res = EnumerateInstanceLayerProperties(&layerCount, nullptr); in initInstance()
58 VkLayerProperties* layers = new VkLayerProperties[layerCount]; in initInstance()
59 res = EnumerateInstanceLayerProperties(&layerCount, layers); in initInstance()
64 for (uint32_t i = 0; i < layerCount; ++i) { in initInstance()
98 layerCount = fInstanceLayerStrings->count(); in initInstance()
99 for (uint32_t layerIndex = 0; layerIndex < layerCount; ++layerIndex) { in initInstance()
142 uint32_t layerCount = 0; in initDevice() local
143 VkResult res = EnumerateDeviceLayerProperties(physDev, &layerCount, nullptr); in initDevice()
147 VkLayerProperties* layers = new VkLayerProperties[layerCount]; in initDevice()
[all …]
DGrVkGpuCommandBuffer.cpp266 clearRect.layerCount = 1; in onClearStencilClip()
350 clearRect.layerCount = 1; in onClear()
/external/skia/src/utils/
DSkCanvasStateUtils.cpp105 layerCount = 0; in SkCanvasState_v1()
114 for (int i = 0; i < layerCount; ++i) { in ~SkCanvasState_v1()
124 int32_t layerCount; member in SkCanvasState_v1
195 int layerCount = 0; in CaptureCanvasState() local
228 layerCount++; in CaptureCanvasState()
232 SkASSERT(layerWriter.bytesWritten() == layerCount * sizeof(SkCanvasLayerState)); in CaptureCanvasState()
233 canvasState->layerCount = layerCount; in CaptureCanvasState()
299 if (state_v1->layerCount < 1) { in MakeFromCanvasState()
309 for (int i = state_v1->layerCount - 1; i >= 0; --i) { in MakeFromCanvasState()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp69 …ture (const TcuFormatType format, VkImageViewType viewType, const tcu::IVec3& size, int layerCount) in createTestTexture() argument
77 if (layerCount == 1) in createTestTexture()
80 texture = MovePtr<TestTexture>(new TestTexture1DArray(format, size.x(), layerCount)); in createTestTexture()
85 if (layerCount == 1) in createTestTexture()
93 if (layerCount == tcu::CUBEFACE_LAST && viewType == VK_IMAGE_VIEW_TYPE_CUBE) in createTestTexture()
99 DE_ASSERT(layerCount % tcu::CUBEFACE_LAST == 0); in createTestTexture()
101 texture = MovePtr<TestTexture>(new TestTextureCubeArray(format, size.x(), layerCount)); in createTestTexture()
106 texture = MovePtr<TestTexture>(new TestTexture2DArray(format, size.x(), size.y(), layerCount)); in createTestTexture()
130 int layerCount, in ImageSamplingInstance() argument
143 , m_layerCount (layerCount) in ImageSamplingInstance()
[all …]
DvktPipelineImageSamplingInstance.hpp50 int layerCount,
DvktPipelineMultisampleImageTests.cpp493 … VkImageSubresourceRange makeColorSubresourceRange (const int baseArrayLayer, const int layerCount) in makeColorSubresourceRange() argument
495 …SPECT_COLOR_BIT, 0u, 1u, static_cast<deUint32>(baseArrayLayer), static_cast<deUint32>(layerCount)); in makeColorSubresourceRange()
498 …kImageSubresourceLayers makeColorSubresourceLayers (const int baseArrayLayer, const int layerCount) in makeColorSubresourceLayers() argument
500 …GE_ASPECT_COLOR_BIT, 0u, static_cast<deUint32>(baseArrayLayer), static_cast<deUint32>(layerCount)); in makeColorSubresourceLayers()
DvktPipelineRenderToImageTests.cpp397 … VkImageSubresourceRange makeColorSubresourceRange (const int baseArrayLayer, const int layerCount) in makeColorSubresourceRange() argument
399 …SPECT_COLOR_BIT, 0u, 1u, static_cast<deUint32>(baseArrayLayer), static_cast<deUint32>(layerCount)); in makeColorSubresourceRange()
/external/vulkan-validation-layers/layers/
Dimage.cpp493 if (!pCreateInfo->subresourceRange.layerCount) { in CreateImageView()
709 …(RangesIntersect(src->srcSubresource.baseArrayLayer, src->srcSubresource.layerCount, dst->dstSubre… in RegionIntersects()
710 dst->dstSubresource.layerCount))) { in RegionIntersects()
772 if (regions[i].srcSubresource.layerCount == 0) { in PreCallValidateCmdCopyImage()
780 if (regions[i].dstSubresource.layerCount == 0) { in PreCallValidateCmdCopyImage()
789 if (regions[i].srcSubresource.layerCount != regions[i].dstSubresource.layerCount) { in PreCallValidateCmdCopyImage()
830 … ((regions[i].srcSubresource.baseArrayLayer != 0) || (regions[i].srcSubresource.layerCount != 1) || in PreCallValidateCmdCopyImage()
831 … (regions[i].dstSubresource.baseArrayLayer != 0) || (regions[i].dstSubresource.layerCount != 1))) { in PreCallValidateCmdCopyImage()
860 …if ((regions[i].srcSubresource.baseArrayLayer + regions[i].srcSubresource.layerCount) > src_image_… in PreCallValidateCmdCopyImage()
864 … << (regions[i].srcSubresource.baseArrayLayer + regions[i].srcSubresource.layerCount); in PreCallValidateCmdCopyImage()
[all …]
Dparameter_validation.cpp2611 if ((pCreateInfo->subresourceRange.layerCount != 1) && in CreateImageView()
2612 (pCreateInfo->subresourceRange.layerCount != VK_REMAINING_ARRAY_LAYERS)) { in CreateImageView()
2620 if ((pCreateInfo->subresourceRange.layerCount < 1) && in CreateImageView()
2621 (pCreateInfo->subresourceRange.layerCount != VK_REMAINING_ARRAY_LAYERS)) { in CreateImageView()
2628 if ((pCreateInfo->subresourceRange.layerCount != 6) && in CreateImageView()
2629 (pCreateInfo->subresourceRange.layerCount != VK_REMAINING_ARRAY_LAYERS)) { in CreateImageView()
2635 …if (((pCreateInfo->subresourceRange.layerCount == 0) || ((pCreateInfo->subresourceRange.layerCount in CreateImageView()
2636 (pCreateInfo->subresourceRange.layerCount != VK_REMAINING_ARRAY_LAYERS)) { in CreateImageView()
2648 if ((pCreateInfo->subresourceRange.layerCount != 1) && in CreateImageView()
2649 (pCreateInfo->subresourceRange.layerCount != VK_REMAINING_ARRAY_LAYERS)) { in CreateImageView()
Dcore_validation.cpp3737 for (uint32_t k = 0; k < subRange.layerCount; k++) { in SetLayout()
6472 if (range->layerCount == VK_REMAINING_ARRAY_LAYERS) { in ResolveRemainingLevelsLayers()
6473 range->layerCount = image_state->createInfo.arrayLayers - range->baseArrayLayer; in ResolveRemainingLevelsLayers()
6485 *layers = range.layerCount; in ResolveRemainingLevelsLayers()
6491 if (range.layerCount == VK_REMAINING_ARRAY_LAYERS) { in ResolveRemainingLevelsLayers()
7958 for (uint32_t i = 0; i < subLayers.layerCount; ++i) { in VerifySourceImageLayout()
7999 for (uint32_t i = 0; i < subLayers.layerCount; ++i) { in VerifyDestImageLayout()
8712 uint32_t layerCount = 0; in TransitionImageLayouts() local
8720 …ResolveRemainingLevelsLayers(dev_data, &levelCount, &layerCount, mem_barrier->subresourceRange, me… in TransitionImageLayouts()
8724 for (uint32_t k = 0; k < layerCount; k++) { in TransitionImageLayouts()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DLevelSystem.java107 final int layerCount = (byte)byteStream.read(); in loadLevel() local
116 for (int x = 0; x < layerCount; x++) { in loadLevel()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl112 …pectMask, deUint32 baseMipLevel, deUint32 levelCount, deUint32 baseArrayLayer, deUint32 layerCount) argument
119 res.layerCount = layerCount;
323 …rs (VkImageAspectFlags aspectMask, deUint32 mipLevel, deUint32 baseArrayLayer, deUint32 layerCount) argument
329 res.layerCount = layerCount;
DvkStructTypes.inl536 deUint32 layerCount; member
1044 deUint32 layerCount; member
1104 deUint32 layerCount; member
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp151 deUint32 layerCount, in Image() argument
158 , m_layerCount (layerCount) in Image()
342 barrier.subresourceRange.layerCount = m_layerCount; in readUsingBuffer()
628 barrier.subresourceRange.layerCount = m_layerCount; in upload()
749 barrier.subresourceRange.layerCount = m_layerCount; in uploadUsingBuffer()
901 barrier.subresourceRange.layerCount = 1; in transition2DImage()
DvktDrawImageObjectUtil.hpp244 deUint32 layerCount,
DvktDrawCreateInfoUtil.hpp44 deUint32 layerCount = 1);
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp778 copy_region.srcSubresource.layerCount = 1; in CopyImage()
785 copy_region.dstSubresource.layerCount = 1; in CopyImage()
837 view.subresourceRange.layerCount = 1; in VkTextureObj()
1344 srRange.layerCount = VK_REMAINING_ARRAY_LAYERS; in ClearAllBuffers()
1372 dsRange.layerCount = VK_REMAINING_ARRAY_LAYERS; in ClearAllBuffers()
1427 srRange.layerCount = VK_REMAINING_ARRAY_LAYERS; in PrepareAttachments()
1580 view_info.subresourceRange.layerCount = 1; in Init()
Dlayer_validation_tests.cpp1908 dsvci.subresourceRange.layerCount = 1; in TEST_F()
1926 region.imageSubresource.layerCount = 1; in TEST_F()
2432 blit_region.srcSubresource.layerCount = 1; in TEST_F()
2436 blit_region.dstSubresource.layerCount = 1; in TEST_F()
2485 copy_region.imageSubresource.layerCount = 1; in TEST_F()
2549 blitRegion.srcSubresource.layerCount = 1; in TEST_F()
2553 blitRegion.dstSubresource.layerCount = 1; in TEST_F()
2655 copyRegion.srcSubresource.layerCount = 1; in TEST_F()
2662 copyRegion.dstSubresource.layerCount = 1; in TEST_F()
2692 region.imageSubresource.layerCount = 1; in TEST_F()
[all …]
Dvktestbinding.h701 subres.layerCount = array_size; in subresource()
720 range.layerCount = num_layers; in subresource_range()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp236 const deUint32 layerCount, in makeBufferImageCopy() argument
245 …makeImageSubresourceLayers(VK_IMAGE_ASPECT_COLOR_BIT, mipmapLevel, 0u, layerCount), // VkImageSubr… in makeBufferImageCopy()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp271 subresourceRange.layerCount = 1; in createVulkanImage()
509 renderBarrier.subresourceRange.layerCount = 1; in recordRenderPass()
536 copyState.imageSubresource.layerCount = 1; in copyToCPU()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp385 const deUint32 layerCount = m_textureData->getArraySize(); in updateTextureViewMipLevels() local
400 layerCount // deUint32 layerCount; in updateTextureViewMipLevels()
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.hpp2711 , layerCount( layerCount_ ) in ClearRect()
2740 layerCount = layerCount_; in setLayerCount()
2753 && ( layerCount == rhs.layerCount ); in operator ==()
2763 uint32_t layerCount; member
11220 , layerCount( layerCount_ ) in ImageSubresourceLayers()
11255 layerCount = layerCount_; in setLayerCount()
11269 && ( layerCount == rhs.layerCount ); in operator ==()
11280 uint32_t layerCount; member
11291 , layerCount( layerCount_ ) in ImageSubresourceRange()
11332 layerCount = layerCount_; in setLayerCount()
[all …]
Dvulkan.h1667 uint32_t layerCount; member
2126 uint32_t layerCount; member
2178 uint32_t layerCount; member
/external/vulkan-validation-layers/demos/smoke/
DSmoke.cpp629 view_info.subresourceRange.layerCount = 1; in prepare_framebuffers()

12