Home
last modified time | relevance | path

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

123

/external/skia/src/gpu/vk/
DGrVkExtensions.cpp57 uint32_t layerCount = 0; in initInstance() local
58 VkResult res = EnumerateInstanceLayerProperties(&layerCount, nullptr); in initInstance()
62 VkLayerProperties* layers = new VkLayerProperties[layerCount]; in initInstance()
63 res = EnumerateInstanceLayerProperties(&layerCount, layers); in initInstance()
68 for (uint32_t i = 0; i < layerCount; ++i) { in initInstance()
102 layerCount = fInstanceLayerStrings->count(); in initInstance()
103 for (uint32_t layerIndex = 0; layerIndex < layerCount; ++layerIndex) { in initInstance()
150 uint32_t layerCount = 0; in initDevice() local
151 VkResult res = EnumerateDeviceLayerProperties(physDev, &layerCount, nullptr); in initDevice()
155 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.cpp129 …ture (const TcuFormatType format, VkImageViewType viewType, const tcu::IVec3& size, int layerCount) in createTestTexture() argument
137 if (layerCount == 1) in createTestTexture()
140 texture = MovePtr<TestTexture>(new TestTexture1DArray(format, size.x(), layerCount)); in createTestTexture()
145 if (layerCount == 1) in createTestTexture()
153 if (layerCount == tcu::CUBEFACE_LAST && viewType == VK_IMAGE_VIEW_TYPE_CUBE) in createTestTexture()
159 DE_ASSERT(layerCount % tcu::CUBEFACE_LAST == 0); in createTestTexture()
161 texture = MovePtr<TestTexture>(new TestTextureCubeArray(format, size.x(), layerCount)); in createTestTexture()
166 texture = MovePtr<TestTexture>(new TestTexture2DArray(format, size.x(), size.y(), layerCount)); in createTestTexture()
190 int layerCount, in ImageSamplingInstance() argument
205 , m_layerCount (layerCount) in ImageSamplingInstance()
[all …]
DvktPipelineImageSamplingInstance.hpp56 int layerCount,
DvktPipelineMultisampleImageTests.cpp494 … VkImageSubresourceRange makeColorSubresourceRange (const int baseArrayLayer, const int layerCount) in makeColorSubresourceRange() argument
496 …SPECT_COLOR_BIT, 0u, 1u, static_cast<deUint32>(baseArrayLayer), static_cast<deUint32>(layerCount)); in makeColorSubresourceRange()
499 …kImageSubresourceLayers makeColorSubresourceLayers (const int baseArrayLayer, const int layerCount) in makeColorSubresourceLayers() argument
501 …GE_ASPECT_COLOR_BIT, 0u, static_cast<deUint32>(baseArrayLayer), static_cast<deUint32>(layerCount)); in makeColorSubresourceLayers()
/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 …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c444 assert(region->srcSubresource.layerCount == in radv_CmdResolveImage()
445 region->dstSubresource.layerCount); in radv_CmdResolveImage()
474 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; in radv_CmdResolveImage()
489 .layerCount = 1, in radv_CmdResolveImage()
506 .layerCount = 1, in radv_CmdResolveImage()
Dradv_meta_resolve_cs.c336 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_compute_image()
353 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; in radv_meta_resolve_compute_image()
369 .layerCount = 1, in radv_meta_resolve_compute_image()
386 .layerCount = 1, in radv_meta_resolve_compute_image()
Dradv_meta_copy.c174 unsigned num_slices_array = pRegions[r].imageSubresource.layerCount; in meta_copy_buffer_to_image()
281 unsigned num_slices_array = pRegions[r].imageSubresource.layerCount; in meta_copy_image_to_buffer()
382 unsigned num_slices_array = pRegions[r].dstSubresource.layerCount; in meta_copy_image()
Dradv_meta_clear.c460 radv_CmdDraw(cmd_buffer_h, 3, clear_rect->layerCount, 0, 0); in emit_color_clear()
739 radv_CmdDraw(cmd_buffer_h, 3, clear_rect->layerCount, 0, 0); in emit_depthstencil_clear()
878 if (clear_rect->layerCount != iview->image->array_size) in emit_fast_color_clear()
973 .layerCount = cmd_state->framebuffer->layers, in radv_cmd_buffer_clear_subpass()
1035 .layerCount = 1 in radv_clear_image_layer()
1129 .layerCount = 1, /* FINISHME: clear multi-layer framebuffer */ in radv_clear_image_layer()
Dradv_meta_blit.c525 .layerCount = 1 in radv_CmdBlitImage()
537 dst_end = dst_start + dst_res->layerCount; in radv_CmdBlitImage()
547 src_end = src_start + src_res->layerCount; in radv_CmdBlitImage()
619 .layerCount = 1 in radv_CmdBlitImage()
Dradv_meta_decompress.c398 .layerCount = 1, in radv_process_depth_image_inplace()
Dradv_meta_fast_clear.c437 .layerCount = 1, in radv_fast_clear_flush_image_inplace()
Dradv_private.h1057 return range->layerCount == VK_REMAINING_ARRAY_LAYERS ? in radv_get_layerCount()
1058 image->array_size - range->baseArrayLayer : range->layerCount; in radv_get_layerCount()
/external/mesa3d/src/intel/vulkan/
Danv_dump.c137 .layerCount = 1, in dump_image_do_blit()
156 .layerCount = 1, in dump_image_do_blit()
166 .layerCount = 1, in dump_image_do_blit()
194 .layerCount = 1, in dump_image_do_blit()
/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/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/modules/vulkan/api/
DvktApiImageClearingTests.cpp184 deUint32 layerCount; member
195 …ayer < clearBaseLayer) || (arrayLayer >= (clearBaseLayer + attachmentClearLayerRange->layerCount))) in isInClearRange()
228 …rayLayer) || (arrayLayer >= (imageViewLayerRange.baseArrayLayer + imageViewLayerRange.layerCount))) in isInInitialClearRange()
565 …ageExtent.width, params.imageExtent.height, params.imageViewLayerRange.layerCount) : vk::Move<vk::… in ImageClearingTestInstance()
728 layerRange.layerCount, // deUint32 arraySize; in createImageView()
1152 …spectFlags, 0u, 1u, m_params.clearLayerRange.baseArrayLayer, m_params.clearLayerRange.layerCount)); in iterate()
1155 …thresholdMipLevel, m_params.clearLayerRange.baseArrayLayer, m_params.clearLayerRange.layerCount)); in iterate()
1156 …MAINING_MIP_LEVELS, m_params.clearLayerRange.baseArrayLayer, m_params.clearLayerRange.layerCount)); in iterate()
1211 …AspectFlags, 0u, 1u, m_params.clearLayerRange.baseArrayLayer, m_params.clearLayerRange.layerCount); in iterate()
1292 m_params.clearLayerRange.layerCount, // deUint32 layerCount; in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp151 deUint32 layerCount, in Image() argument
158 , m_layerCount (layerCount) in Image()
333 barrier.subresourceRange.layerCount = m_layerCount; in readUsingBuffer()
606 barrier.subresourceRange.layerCount = m_layerCount; in upload()
718 barrier.subresourceRange.layerCount = m_layerCount; in uploadUsingBuffer()
839 barrier.subresourceRange.layerCount = 1; in transition2DImage()
DvktDrawImageObjectUtil.hpp238 deUint32 layerCount,
/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 …]
/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()

123