/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkImageView.cpp | 78 …(range.layerCount == VK_REMAINING_ARRAY_LAYERS) ? (image->getArrayLayers() - range.baseArrayLayer)… in ResolveRemainingLevelsLayers() 151 (subresourceRange.layerCount == 1); in imageTypesMatch() 158 (subresourceRange.layerCount == 1); in imageTypesMatch() 165 (imageArrayLayers >= subresourceRange.layerCount) && in imageTypesMatch() 166 (subresourceRange.layerCount == 6); in imageTypesMatch() 169 (imageArrayLayers >= subresourceRange.layerCount) && in imageTypesMatch() 170 (subresourceRange.layerCount >= 6); in imageTypesMatch() 174 (subresourceRange.layerCount == 1); in imageTypesMatch() 206 sr.layerCount = renderArea.layerCount; in clear() 267 subresourceRange.layerCount in resolve() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/ |
D | image_blit_common.adoc | 10 * [[VUID-{refpage}-layerCount-08800]] 12 If neither of the pname:layerCount members of pname:srcSubresource or 16 pname:layerCount members of pname:srcSubresource or pname:dstSubresource 19 * [[VUID-{refpage}-layerCount-08801]] 20 If one of the pname:layerCount members of pname:srcSubresource or
|
D | image_resolve_common.adoc | 10 * [[VUID-{refpage}-layerCount-08803]] 12 If neither of the pname:layerCount members of pname:srcSubresource or 16 pname:layerCount member of pname:srcSubresource and pname:dstSubresource 19 * [[VUID-{refpage}-layerCount-08804]] 20 If one of the pname:layerCount members of pname:srcSubresource or
|
D | image_blit_common.txt | 10 * [[VUID-{refpage}-layerCount-00239]] 11 The pname:layerCount member of pname:srcSubresource and
|
D | image_resolve_common.txt | 10 * [[VUID-{refpage}-layerCount-00267]] 11 The pname:layerCount member of pname:srcSubresource and
|
/third_party/skia/tools/gpu/vk/ |
D | VkTestUtils.cpp | 78 uint32_t layerCount, VkLayerProperties* layers, in should_include_debug_layer() argument 80 for (uint32_t i = 0; i < layerCount; ++i) { in should_include_debug_layer() 161 uint32_t layerCount = 0; in init_instance_extensions_and_layers() local 164 res = EnumerateInstanceLayerProperties(&layerCount, nullptr); in init_instance_extensions_and_layers() 168 VkLayerProperties* layers = new VkLayerProperties[layerCount]; in init_instance_extensions_and_layers() 169 res = EnumerateInstanceLayerProperties(&layerCount, layers); in init_instance_extensions_and_layers() 177 int idx = should_include_debug_layer(kDebugLayerNames[i], layerCount, layers, in init_instance_extensions_and_layers() 207 layerCount = instanceLayers->count(); in init_instance_extensions_and_layers() 208 for (uint32_t layerIndex = 0; layerIndex < layerCount; ++layerIndex) { in init_instance_extensions_and_layers() 249 uint32_t layerCount = 0; in init_device_extensions_and_layers() local [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_copy.c | 147 .layerCount = region->imageSubresource.layerCount, in copy_buffer_to_image() 167 unsigned num_slices_array = region->imageSubresource.layerCount; in copy_buffer_to_image() 296 .layerCount = region->imageSubresource.layerCount, in copy_image_to_buffer() 315 unsigned num_slices_array = region->imageSubresource.layerCount; in copy_image_to_buffer() 399 .layerCount = region->dstSubresource.layerCount, in copy_image() 458 .layerCount = region->dstSubresource.layerCount, in copy_image() 503 unsigned num_slices_array = region->dstSubresource.layerCount; in copy_image() 549 .layerCount = region->dstSubresource.layerCount, in copy_image()
|
D | radv_meta_resolve.c | 379 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_hardware_image() 413 .layerCount = region->dstSubresource.layerCount, in radv_meta_resolve_hardware_image() 419 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; ++layer) { in radv_meta_resolve_hardware_image() 440 .layerCount = 1, in radv_meta_resolve_hardware_image() 458 .layerCount = 1, in radv_meta_resolve_hardware_image() 486 .layerCount = 1, in radv_meta_resolve_hardware_image() 610 .layerCount = dest_iview->vk.layer_count, in radv_cmd_buffer_resolve_subpass_hw() 790 region.srcSubresource.layerCount = layer_count; in radv_decompress_resolve_subpass_src() 834 .layerCount = region->srcSubresource.layerCount, in radv_decompress_resolve_src()
|
D | radv_meta_resolve_cs.c | 680 .layerCount = region->dstSubresource.layerCount, in radv_meta_resolve_compute_image() 690 assert(region->srcSubresource.layerCount == region->dstSubresource.layerCount); in radv_meta_resolve_compute_image() 702 for (uint32_t layer = 0; layer < region->srcSubresource.layerCount; ++layer) { in radv_meta_resolve_compute_image() 717 .layerCount = 1, in radv_meta_resolve_compute_image() 735 .layerCount = 1, in radv_meta_resolve_compute_image() 761 .layerCount = region->dstSubresource.layerCount, in radv_meta_resolve_compute_image() 808 .layerCount = layer_count, in radv_cmd_buffer_resolve_subpass_cs() 815 .layerCount = layer_count, in radv_cmd_buffer_resolve_subpass_cs() 861 region.srcSubresource.layerCount = layer_count; in radv_depth_stencil_resolve_subpass_cs() 885 .layerCount = layer_count, in radv_depth_stencil_resolve_subpass_cs() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_helpers.h | 1044 uint32_t layerCount, 1057 uint32_t layerCount, 1488 uint32_t layerCount, 1500 uint32_t layerCount, 1515 uint32_t layerCount, 1539 uint32_t layerCount, 1550 uint32_t layerCount) const; 1559 uint32_t layerCount, 1581 uint32_t layerCount); 1596 uint32_t layerCount); [all …]
|
D | vk_helpers.cpp | 611 uint32_t layerCount, in GetContentDefinedLayerRangeBits() argument 614 uint8_t layerRangeBits = layerCount >= maxLayerCount ? static_cast<uint8_t>(~0u) in GetContentDefinedLayerRangeBits() 615 : angle::BitMask<uint8_t>(layerCount); in GetContentDefinedLayerRangeBits() 666 uint32_t layerCount) in GetLevelLayerImageView() argument 673 imageViews->resize(layerCount); in GetLevelLayerImageView() 1183 uint32_t layerCount, in imageWrite() argument 1190 image->onWrite(level, 1, layerStart, layerCount, aspectFlags); in imageWrite() 1243 uint32_t layerCount, in depthStencilImagesDraw() argument 1259 mDepthStencilLayerCount = layerCount; in depthStencilImagesDraw() 4061 uint32_t layerCount, in setContentDefined() argument [all …]
|
D | TextureVk.cpp | 215 GLuint *layerCount, in GetRenderTargetLayerCountAndIndex() argument 219 *layerCount = index.getLayerCount(); in GetRenderTargetLayerCountAndIndex() 226 (*layerCount == 1 || in GetRenderTargetLayerCountAndIndex() 227 *layerCount == static_cast<GLuint>(gl::ImageIndex::kEntireLevel))); in GetRenderTargetLayerCountAndIndex() 254 if (*layerCount == static_cast<GLuint>(gl::ImageIndex::kEntireLevel)) in GetRenderTargetLayerCountAndIndex() 257 *layerCount = *imageLayerCount; in GetRenderTargetLayerCountAndIndex() 266 Subresource->layerCount = 1; in Set3DBaseArrayLayerAndLayerCount() 974 uint32_t layerCount = sourceBox.depth; in copySubImageImplWithTransfer() local 987 srcSubresource.layerCount = layerCount; in copySubImageImplWithTransfer() 1020 access.onImageTransferWrite(level, 1, baseLayer, layerCount, VK_IMAGE_ASPECT_COLOR_BIT, in copySubImageImplWithTransfer() [all …]
|
D | RenderTargetVk.cpp | 46 uint32_t layerCount, in init() argument 55 mLayerCount = layerCount; in init() 390 gl::ImageIndex RenderTargetVk::getImageIndexForClear(uint32_t layerCount) const in getImageIndexForClear() 399 return gl::ImageIndex::Make2DArrayRange(mLevelIndexGL.get(), mLayerIndex, layerCount); in getImageIndexForClear() 404 ASSERT(layerCount == 1); in getImageIndexForClear()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | ImageIndex.h | 52 static ImageIndex Make2DArrayRange(GLint levelIndex, GLint layerIndex, GLint layerCount); 58 GLint layerCount = 1); 61 static ImageIndex Make2DMultisampleArrayRange(GLint layerIndex, GLint layerCount); 70 ImageIndexIterator getLayerIterator(GLint layerCount) const; 75 ImageIndex(TextureType type, GLint leveIndex, GLint layerIndex, GLint layerCount);
|
D | ImageIndex.cpp | 199 GLint layerCount) in MakeFromType() argument 202 (type == TextureType::CubeMap && layerIndex == kEntireLevel ? kCubeFaceCount : layerCount); in MakeFromType() 238 ImageIndex::ImageIndex(TextureType type, GLint levelIndex, GLint layerIndex, GLint layerCount) in ImageIndex() argument 239 : mType(type), mLevelIndex(levelIndex), mLayerIndex(layerIndex), mLayerCount(layerCount) in ImageIndex() 242 ImageIndexIterator ImageIndex::getLayerIterator(GLint layerCount) const in getLayerIterator() 245 return ImageIndexIterator::MakeGeneric(mType, mLevelIndex, mLevelIndex + 1, 0, layerCount); in getLayerIterator()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/fragment_shading_rate/ |
D | esextcFragmentShadingRateAttachmentTests.cpp | 187 if (m_tcParam.layerCount > 1) in setupTest() 194 m_tcParam.layerCount); in setupTest() 211 m_tcParam.layerCount); in setupTest() 257 DE_ASSERT(m_tcParam.layerCount > 1); in setupTest() 262 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1, GL_R8UI, srWidth, srHeight, m_tcParam.layerCount); in setupTest() 265 …gl.texSubImage3D(GL_TEXTURE_2D_ARRAY, 0, 0, 0, 0, srWidth, srHeight, m_tcParam.layerCount, GL_RED_… in setupTest() 271 m_tcParam.layerCount, m_srTexelWidth, m_srTexelHeight); in setupTest() 413 for (uint32_t layer = 0; layer < m_tcParam.layerCount; layer++) in iterate() 415 if (m_tcParam.layerCount > 1) in iterate()
|
D | esextcFragmentShadingRateRenderTarget.cpp | 102 const deUint32 layerCount = in init() local 105 if (multiShadingRate.state && ((layerCount <= 1) || !attachmentShadingRate.state)) in init() 113 testKind.state, attachmentShadingRate.state, multiShadingRate.state, sz.state, layerCount in init()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_surface.h | 38 uint32_t layerCount; member 127 unsigned layerCount = 1 + last_layer - first_layer; in zink_surface_clamp_viewtype() local 131 if (layerCount % 6 != 0 && (first_layer || layerCount != array_size)) in zink_surface_clamp_viewtype()
|
D | zink_blit.c | 81 region.srcSubresource.layerCount = info->src.box.depth; in blit_resolve() 86 region.srcSubresource.layerCount = 1; in blit_resolve() 97 region.dstSubresource.layerCount = info->dst.box.depth; in blit_resolve() 102 region.dstSubresource.layerCount = 1; in blit_resolve() 199 region.srcSubresource.layerCount = info->src.box.depth; in blit_native() 206 region.srcSubresource.layerCount = 1; in blit_native() 213 region.srcSubresource.layerCount = 1; in blit_native() 237 region.dstSubresource.layerCount = info->dst.box.depth; in blit_native() 244 region.dstSubresource.layerCount = 1; in blit_native() 251 region.dstSubresource.layerCount = 1; in blit_native()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Subresource.cpp | 101 layerCount(arrayLayerParam.count), in SubresourceRange() 107 : aspects(Aspect::None), baseArrayLayer(0), layerCount(0), baseMipLevel(0), levelCount(0) { in SubresourceRange() 127 uint32_t layerCount, in MakeFull() argument 129 return {aspects, {0, layerCount}, {0, levelCount}}; in MakeFull()
|
/third_party/skia/src/utils/ |
D | SkCanvasStateUtils.cpp | 105 layerCount = 0; in SkCanvasState_v1() 116 for (int i = 0; i < layerCount; ++i) { in ~SkCanvasState_v1() 132 int32_t layerCount; member in SkCanvasState_v1 222 canvasState->layerCount = 1; in CaptureCanvasState() 294 if (state_v1->layerCount < 1) { in MakeFromCanvasState() 306 for (int i = state_v1->layerCount - 1; i >= 0; --i) { in MakeFromCanvasState()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineImageSamplingInstance.cpp | 133 …ture (const TcuFormatType format, VkImageViewType viewType, const tcu::IVec3& size, int layerCount) in createTestTexture() argument 141 if (layerCount == 1) in createTestTexture() 144 texture = MovePtr<TestTexture>(new TestTexture1DArray(format, size.x(), layerCount)); in createTestTexture() 149 if (layerCount == 1) in createTestTexture() 157 if (layerCount == tcu::CUBEFACE_LAST && viewType == VK_IMAGE_VIEW_TYPE_CUBE) in createTestTexture() 163 DE_ASSERT(layerCount % tcu::CUBEFACE_LAST == 0); in createTestTexture() 165 texture = MovePtr<TestTexture>(new TestTextureCubeArray(format, size.x(), layerCount)); in createTestTexture() 170 texture = MovePtr<TestTexture>(new TestTexture2DArray(format, size.x(), size.y(), layerCount)); in createTestTexture() 363 , m_layerCount (params.layerCount) in ImageSamplingInstance() 866 preAttachmentBarriers[imgNdx].subresourceRange.layerCount = 1u; in setup() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageSamplingInstance.cpp | 133 …ture (const TcuFormatType format, VkImageViewType viewType, const tcu::IVec3& size, int layerCount) in createTestTexture() argument 141 if (layerCount == 1) in createTestTexture() 144 texture = MovePtr<TestTexture>(new TestTexture1DArray(format, size.x(), layerCount)); in createTestTexture() 149 if (layerCount == 1) in createTestTexture() 157 if (layerCount == tcu::CUBEFACE_LAST && viewType == VK_IMAGE_VIEW_TYPE_CUBE) in createTestTexture() 163 DE_ASSERT(layerCount % tcu::CUBEFACE_LAST == 0); in createTestTexture() 165 texture = MovePtr<TestTexture>(new TestTextureCubeArray(format, size.x(), layerCount)); in createTestTexture() 170 texture = MovePtr<TestTexture>(new TestTexture2DArray(format, size.x(), size.y(), layerCount)); in createTestTexture() 363 , m_layerCount (params.layerCount) in ImageSamplingInstance() 866 preAttachmentBarriers[imgNdx].subresourceRange.layerCount = 1u; in setup() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkCmdUtil.cpp | 244 const deUint32 layerCount, in beginRendering() argument 267 layerCount, // deUint32 layerCount; in beginRendering() 290 const deUint32 layerCount, in beginRendering() argument 327 layerCount, // deUint32 layerCount; in beginRendering()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_image.h | 117 ((_range)->layerCount == VK_REMAINING_ARRAY_LAYERS ? \ 118 (_image)->array_layers - (_range)->baseArrayLayer : (_range)->layerCount) 310 .layerCount = view->layer_count, in vk_image_view_subresource_range()
|