Home
last modified time | relevance | path

Searched refs:subresource (Results 1 – 25 of 157) sorted by relevance

1234567

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.hpp92 void *getTexelPointer(const VkOffset3D &offset, const VkImageSubresource &subresource) const;
129 …e texelOffsetBytesInStorage(const VkOffset3D &offset, const VkImageSubresource &subresource) const;
138 void decompress(const VkImageSubresource &subresource) const;
139 void decodeETC2(const VkImageSubresource &subresource) const;
140 void decodeBC(const VkImageSubresource &subresource) const;
141 void decodeASTC(const VkImageSubresource &subresource) const;
166 : subresource{ (VkImageAspectFlags)0, 0, 0 } in Subresource()
169 : subresource(subres) in Subresource()
171 inline operator VkImageSubresource() const { return subresource; } in operator VkImageSubresource()
175 return (subresource.aspectMask == other.subresource.aspectMask) && in operator ==()
[all …]
DVkImage.cpp688 void *Image::getTexelPointer(const VkOffset3D &offset, const VkImageSubresource &subresource) const in getTexelPointer()
690 VkImageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(subresource.aspectMask); in getTexelPointer()
691 return deviceMemory->getOffsetPointer(texelOffsetBytesInStorage(offset, subresource) + in getTexelPointer()
692 … getMemoryOffset(aspect, subresource.mipLevel, subresource.arrayLayer)); in getTexelPointer()
769 …e::texelOffsetBytesInStorage(const VkOffset3D &offset, const VkImageSubresource &subresource) const in texelOffsetBytesInStorage()
771 VkImageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(subresource.aspectMask); in texelOffsetBytesInStorage()
774 return adjustedOffset.z * slicePitchBytes(aspect, subresource.mipLevel) + in texelOffsetBytesInStorage()
775 (adjustedOffset.y + border) * rowPitchBytes(aspect, subresource.mipLevel) + in texelOffsetBytesInStorage()
1134 VkImageSubresource subresource = { in contentsChanged() local
1141 for(subresource.arrayLayer = subresourceRange.baseArrayLayer; in contentsChanged()
[all …]
DVkImageView.cpp86 …VkImageSubresourceRange subresource = ResolveRemainingLevelsLayers(pCreateInfo->subresourceRange, … in Identifier() local
87 vk::Format viewFormat = GetImageViewFormat(pCreateInfo).getAspectFormat(subresource.aspectMask); in Identifier()
90 … == sampledImage) ? viewFormat : sampledImage->getFormat().getAspectFormat(subresource.aspectMask); in Identifier()
91 …gFormat, ResolveComponentMapping(pCreateInfo->components, viewFormat), subresource.levelCount <= 1… in Identifier()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1234 …veSubresourceRange (const TestTexture& testTexture, const vk::VkImageSubresourceRange& subresource) in resolveSubresourceRange() argument
1236 vk::VkImageSubresourceRange resolved = subresource; in resolveSubresourceRange()
1238 if (subresource.levelCount == VK_REMAINING_MIP_LEVELS) in resolveSubresourceRange()
1239 resolved.levelCount = testTexture.getNumLevels()-subresource.baseMipLevel; in resolveSubresourceRange()
1241 if (subresource.layerCount == VK_REMAINING_ARRAY_LAYERS) in resolveSubresourceRange()
1242 resolved.layerCount = testTexture.getArraySize()-subresource.baseArrayLayer; in resolveSubresourceRange()
1247 …ew (const TestTexture& testTexture, const vk::VkImageSubresourceRange& subresource, std::vector<tc… in getTexture1DView() argument
1249 DE_ASSERT(subresource.layerCount == 1); in getTexture1DView()
1251 levels.resize(subresource.levelCount); in getTexture1DView()
1255 …elBufferAccess& srcLevel = testTexture.getLevel((int)subresource.baseMipLevel+levelNdx, subresourc… in getTexture1DView()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1234 …veSubresourceRange (const TestTexture& testTexture, const vk::VkImageSubresourceRange& subresource) in resolveSubresourceRange() argument
1236 vk::VkImageSubresourceRange resolved = subresource; in resolveSubresourceRange()
1238 if (subresource.levelCount == VK_REMAINING_MIP_LEVELS) in resolveSubresourceRange()
1239 resolved.levelCount = testTexture.getNumLevels()-subresource.baseMipLevel; in resolveSubresourceRange()
1241 if (subresource.layerCount == VK_REMAINING_ARRAY_LAYERS) in resolveSubresourceRange()
1242 resolved.layerCount = testTexture.getArraySize()-subresource.baseArrayLayer; in resolveSubresourceRange()
1247 …ew (const TestTexture& testTexture, const vk::VkImageSubresourceRange& subresource, std::vector<tc… in getTexture1DView() argument
1249 DE_ASSERT(subresource.layerCount == 1); in getTexture1DView()
1251 levels.resize(subresource.levelCount); in getTexture1DView()
1255 …elBufferAccess& srcLevel = testTexture.getLevel((int)subresource.baseMipLevel+levelNdx, subresourc… in getTexture1DView()
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_resource_state.cpp89 uint32_t subresource, in set_desired_subresource_state() argument
99 update_subresource_state(&state_obj->subresource_states[subresource], state); in set_desired_subresource_state()
125 get_subresource_state(const d3d12_resource_state *state, uint32_t subresource) in get_subresource_state() argument
128 subresource = 0; in get_subresource_state()
129 return &state->subresource_states[subresource]; in get_subresource_state()
140 set_subresource_state(d3d12_resource_state *state_obj, uint32_t subresource, const d3d12_subresourc… in set_subresource_state() argument
149 state_obj->subresource_states[subresource] = *state; in set_subresource_state()
387 UINT subresource, in append_barrier() argument
396 transition_desc.Transition.Subresource = subresource; in append_barrier()
408 assert((subresource == D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES && current_state->homogenous) || in append_barrier()
[all …]
Dd3d12_video_texture_array_dpb_manager.cpp96 m_ResourcesPool[idxSubres].subresource = idxSubres; in d3d12_texture_array_dpb_manager()
210 … (trackedItem.ReconstructedPictureSubresource == reusableRes.subresource) && !reusableRes.isFree) { in is_tracked_allocation()
223 (trackedItem.ReconstructedPictureSubresource == reusableRes.subresource)) { in untrack_reconstructed_picture_allocation()
248 freshAllocation.ReconstructedPictureSubresource = reusableRes.subresource; in get_new_tracked_picture_allocation()
/third_party/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp131 VkImageSubresource subresource; in createBackendTexture() local
132 subresource.aspectMask = VK_IMAGE_ASPECT_PLANE_0_BIT; in createBackendTexture()
133 subresource.mipLevel = 0; in createBackendTexture()
134 subresource.arrayLayer = 0; in createBackendTexture()
138 &subresource, &yLayout)); in createBackendTexture()
147 subresource.aspectMask = VK_IMAGE_ASPECT_PLANE_1_BIT; in createBackendTexture()
150 &subresource, &uvLayout)); in createBackendTexture()
/third_party/flutter/skia/tests/
DVkYcbcrSamplerTest.cpp264 VkImageSubresource subresource; in createI420Image() local
265 subresource.aspectMask = VK_IMAGE_ASPECT_PLANE_0_BIT; in createI420Image()
266 subresource.mipLevel = 0; in createI420Image()
267 subresource.arrayLayer = 0; in createI420Image()
270 fVkGetImageSubresourceLayout(fDevice, fImage, &subresource, &yLayout); in createI420Image()
279 subresource.aspectMask = VK_IMAGE_ASPECT_PLANE_1_BIT; in createI420Image()
281 fVkGetImageSubresourceLayout(fDevice, fImage, &subresource, &uvLayout); in createI420Image()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dvideo_decode_extensions.adoc40 The image subresource of each <<video-picture-resources,video picture
43 Each such image subresource must: be in the appropriate image layout as
46 * If the image subresource is used in the video decode operation only as
49 * If the image subresource is used in the video decode operation both as
53 * If the image subresource is used in the video decode operation only as
56 * If the image subresource is used in the video decode operation as a
233 * The image subregion within the image subresource
234 <<video-image-subresource-reference,referred>> to by the
252 * The image subregion within the image subresource
253 <<video-image-subresource-reference,referred>> to by the
[all …]
/third_party/mesa3d/include/CL/
Dcl_d3d11.h100 UINT subresource,
107 UINT subresource,
Dcl_d3d10.h100 UINT subresource,
107 UINT subresource,
/third_party/flutter/skia/third_party/externals/opencl-lib/3-0/include/CL/
Dcl_d3d10.h100 UINT subresource,
107 UINT subresource,
Dcl_d3d11.h100 UINT subresource,
107 UINT subresource,
/third_party/skia/third_party/externals/angle2/include/CL/
Dcl_d3d10.h97 UINT subresource,
104 UINT subresource,
Dcl_d3d11.h97 UINT subresource,
104 UINT subresource,
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_image.c238 const VkImageSubresource *subresource, in pvr_GetImageSubresourceLayout() argument
243 &image->mip_levels[subresource->mipLevel]; in pvr_GetImageSubresourceLayout()
245 pvr_assert(subresource->mipLevel < image->vk.mip_levels); in pvr_GetImageSubresourceLayout()
246 pvr_assert(subresource->arrayLayer < image->vk.array_layers); in pvr_GetImageSubresourceLayout()
249 subresource->arrayLayer * image->layer_size + mip_level->offset; in pvr_GetImageSubresourceLayout()
/third_party/opencl-headers/CL/
Dcl_d3d10.h97 UINT subresource,
104 UINT subresource,
Dcl_d3d11.h97 UINT subresource,
104 UINT subresource,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp390 VkImageSubresourceLayers subresource = region.imageSubresource; in RecordCommands() local
393 subresource.mipLevel)) { in RecordCommands()
396 subresource.mipLevel, 1, subresource.baseArrayLayer, 1); in RecordCommands()
399 ->EnsureSubresourceContentInitialized(commands, subresource.mipLevel, 1, in RecordCommands()
400 subresource.baseArrayLayer, 1); in RecordCommands()
423 VkImageSubresourceLayers subresource = region.imageSubresource; in RecordCommands() local
426 ->EnsureSubresourceContentInitialized(commands, subresource.mipLevel, 1, in RecordCommands()
427 subresource.baseArrayLayer, 1); in RecordCommands()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c431 const VkImageSubresource *subresource, in v3dv_GetImageSubresourceLayout() argument
437 &image->slices[subresource->mipLevel]; in v3dv_GetImageSubresourceLayout()
439 v3dv_layer_offset(image, subresource->mipLevel, subresource->arrayLayer) - in v3dv_GetImageSubresourceLayout()
454 if (subresource->mipLevel == 0) { in v3dv_GetImageSubresourceLayout()
458 &image->slices[subresource->mipLevel - 1]; in v3dv_GetImageSubresourceLayout()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_etc_decode.c712 VkImageLayout layout, const VkImageSubresourceLayers *subresource, in radv_meta_decode_etc() argument
720 uint32_t base_slice = radv_meta_get_iview_layer(image, subresource, &offset); in radv_meta_decode_etc()
721 …uint32_t slice_count = image->vk.image_type == VK_IMAGE_TYPE_3D ? extent.depth : subresource->laye… in radv_meta_decode_etc()
740 .baseMipLevel = subresource->mipLevel, in radv_meta_decode_etc()
743 .layerCount = subresource->baseArrayLayer + subresource->layerCount, in radv_meta_decode_etc()
776 .baseMipLevel = subresource->mipLevel, in radv_meta_decode_etc()
779 .layerCount = subresource->baseArrayLayer + subresource->layerCount, in radv_meta_decode_etc()
/third_party/skia/src/gpu/d3d/
DGrD3DTextureResource.cpp15 unsigned int subresource) { in setResourceState() argument
23 barrier.Subresource = subresource; in setResourceState()
DGrD3DCommandList.cpp170 for (uint32_t subresource = 0; subresource < subresourceCount; ++subresource) { in copyBufferToTexture() local
174 src.PlacedFootprint = bufferFootprints[subresource]; in copyBufferToTexture()
179 dst.SubresourceIndex = subresource; in copyBufferToTexture()
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_HUAWEI_invocation_mask.asciidoc88 of each subresource accessible from imageView at the time the subresource is accessed

1234567