Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1135 …veSubresourceRange (const TestTexture& testTexture, const vk::VkImageSubresourceRange& subresource) in resolveSubresourceRange() argument
1137 vk::VkImageSubresourceRange resolved = subresource; in resolveSubresourceRange()
1139 if (subresource.levelCount == VK_REMAINING_MIP_LEVELS) in resolveSubresourceRange()
1140 resolved.levelCount = testTexture.getNumLevels()-subresource.baseMipLevel; in resolveSubresourceRange()
1142 if (subresource.layerCount == VK_REMAINING_ARRAY_LAYERS) in resolveSubresourceRange()
1143 resolved.layerCount = testTexture.getArraySize()-subresource.baseArrayLayer; in resolveSubresourceRange()
1148 …ew (const TestTexture& testTexture, const vk::VkImageSubresourceRange& subresource, std::vector<tc… in getTexture1DView() argument
1150 DE_ASSERT(subresource.layerCount == 1); in getTexture1DView()
1152 levels.resize(subresource.levelCount); in getTexture1DView()
1156 …elBufferAccess& srcLevel = testTexture.getLevel((int)subresource.baseMipLevel+levelNdx, subresourc… in getTexture1DView()
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_objects.h432 unsigned subresource,
438 HRESULT hr = device->Map(this, subresource, map_type, map_flags, &msr);
446 unsigned subresource
449 device->Unmap(this, subresource);
461 unsigned subresource,
467 HRESULT hr = device->Map(this, subresource, map_type, map_flags, &msr);
476 unsigned subresource
479 device->Unmap(this, subresource);
491 unsigned subresource,
497 HRESULT hr = device->Map(this, subresource, map_type, map_flags, &msr);
[all …]
Dd3d11_context.h1448 static unsigned d3d11_subresource_to_level(struct pipe_resource* resource, unsigned subresource) in d3d11_subresource_to_level()
1450 if(subresource <= resource->last_level) in d3d11_subresource_to_level()
1452 return subresource; in d3d11_subresource_to_level()
1457 return subresource % levels; in d3d11_subresource_to_level()
1461 static unsigned d3d11_subresource_to_layer(struct pipe_resource* resource, unsigned subresource) in d3d11_subresource_to_layer()
1463 if(subresource <= resource->last_level) in d3d11_subresource_to_layer()
1470 return subresource / levels; in d3d11_subresource_to_layer()
1481 unsigned subresource, in Map()
1488 if(resource->transfers.count(subresource)) in Map()
1490 unsigned level = d3d11_subresource_to_level(resource->resource, subresource); in Map()
[all …]
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h426 VkImageSubresource subresource;
433 …(img1.subresource.aspectMask == img2.subresource.aspectMask && img1.subresource.mipLevel == img2.s…
434 img1.subresource.arrayLayer == img2.subresource.arrayLayer);
443 hashVal ^= hash<uint32_t>()(reinterpret_cast<uint32_t &>(img.subresource.aspectMask));
444 hashVal ^= hash<uint32_t>()(img.subresource.mipLevel);
445 hashVal ^= hash<uint32_t>()(img.subresource.arrayLayer);
Dcore_validation.cpp3559 if (!(imgpair.subresource.aspectMask & aspectMask)) { in FindLayout()
3562 VkImageAspectFlags oldAspectMask = imgpair.subresource.aspectMask; in FindLayout()
3563 imgpair.subresource.aspectMask = aspectMask; in FindLayout()
3585 if (!(imgpair.subresource.aspectMask & aspectMask)) { in FindLayout()
3588 VkImageAspectFlags oldAspectMask = imgpair.subresource.aspectMask; in FindLayout()
3589 imgpair.subresource.aspectMask = aspectMask; in FindLayout()
3674 …auto subresource = std::find(my_data->imageSubresourceMap[image].begin(), my_data->imageSubresourc… in SetLayout() local
3675 if (subresource == my_data->imageSubresourceMap[image].end()) { in SetLayout()
3684 auto subresource = in SetLayout() local
3686 if (subresource == pCB->imageSubresourceMap[imgpair.image].end()) { in SetLayout()
[all …]
Dvk_validation_error_database.txt307 … Memory Barriers' which states 'subresourceRange must be a valid image subresource range for the i…
422 …AYOUT_COLOR_ATTACHMENT_OPTIMAL then the corresponding attachment image subresource of the framebuf…
423 …EPTH_STENCIL_READ_ONLY_OPTIMAL then the corresponding attachment image subresource of the framebuf…
424 …AYOUT_SHADER_READ_ONLY_OPTIMAL then the corresponding attachment image subresource of the framebuf…
425 …GE_LAYOUT_TRANSFER_SRC_OPTIMAL then the corresponding attachment image subresource of the framebuf…
426 …GE_LAYOUT_TRANSFER_DST_OPTIMAL then the corresponding attachment image subresource of the framebuf…
427 …t be equal to the current layout of the corresponding attachment image subresource of the framebuf…
1078 …stance' which states 'imageLayout must specify the layout of the image subresource ranges of image…
1080 …ates 'The image range of any given element of pRanges must be an image subresource range that is c…
1093 …stance' which states 'imageLayout must specify the layout of the image subresource ranges of image…
[all …]
Dvk_validation_layer_details.md253 …mage Settings | Verifies that values are valid for a given resource or subresource | INVALID_IMAGE…
/external/vulkan-validation-layers/tests/
Dvktestbinding.h425 …static VkImageSubresource subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_t arra…
426 …static VkImageSubresource subresource(const VkImageSubresourceRange &range, uint32_t mip_level, ui…
427 …static VkImageSubresourceLayers subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_…
429 …static VkImageSubresourceLayers subresource(const VkImageSubresourceRange &range, uint32_t mip_lev…
670 inline VkImageSubresource Image::subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_… in subresource() function
681 inline VkImageSubresource Image::subresource(const VkImageSubresourceRange &range, uint32_t mip_lev… in subresource() function
682 …return subresource(range.aspectMask, range.baseMipLevel + mip_level, range.baseArrayLayer + array_… in subresource()
685 inline VkImageSubresourceLayers Image::subresource(VkImageAspectFlags aspect, uint32_t mip_level, u… in subresource() function
705 inline VkImageSubresourceLayers Image::subresource(const VkImageSubresourceRange &range, uint32_t m… in subresource() function
707 …return subresource(range.aspectMask, range.baseMipLevel + mip_level, range.baseArrayLayer + array_… in subresource()
Dvktestbinding.cpp552 …VkImageSubresource subres = subresource(subrescopy.aspectMask, subrescopy.mipLevel, subrescopy.bas… in subresource_layout()
Dvkrenderframework.cpp816 …VkSubresourceLayout layout = stagingImage.subresource_layout(subresource(VK_IMAGE_ASPECT_COLOR_BIT… in VkTextureObj()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp813 const VkImageSubresource& subresource, in makeSparseImageMemoryBind() argument
830 imageMemoryBind.subresource = subresource; in makeSparseImageMemoryBind()
DvktSparseResourcesMipmapSparseResidency.cpp239 const VkImageSubresource subresource = { aspectMask, mipLevelNdx, layerNdx }; in iterate() local
242 …imageMemoryRequirements.alignment * numSparseBlocks, memoryType, subresource, makeOffset3D(0u, 0u,… in iterate()
DvktSparseResourcesShaderIntrinsicsBase.cpp357 const VkImageSubresource subresource = { aspectMask, mipLevelNdx, layerNdx }; in iterate() local
360 …imageMemoryRequirements.alignment * numSparseBlocks, memoryType, subresource, makeOffset3D(0u, 0u,… in iterate()
DvktSparseResourcesImageSparseResidency.cpp298 const VkImageSubresource subresource = { aspectMask, mipLevelNdx, layerNdx }; in iterate() local
326 imageMemoryRequirements.alignment, memoryType, subresource, offset, extent); in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp295 const VkImageSubresource subresource = { aspectMask, mipLevelNdx, layerNdx }; in iterate() local
298 …imageMemoryRequirements.alignment * numSparseBlocks, memoryType, subresource, makeOffset3D(0u, 0u,… in iterate()
DvktSparseResourcesTestsUtil.hpp243 const vk::VkImageSubresource& subresource,
/external/vulkan-validation-layers/demos/
Dcube.cpp1955 auto const subresource = in prepare_textures() local
1964 .setSrcSubresource(subresource) in prepare_textures()
1966 .setDstSubresource(subresource) in prepare_textures()
/external/deqp/external/vulkancts/framework/vulkan/
DvkStructTypes.inl409 VkImageSubresource subresource; member
DvkStrUtilImpl.inl2146 s << "\tsubresource = " << value.subresource << '\n';
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.hpp12126 : subresource( subresource_ ) in SparseImageMemoryBind()
12148 subresource = subresource_; in setSubresource()
12189 return ( subresource == rhs.subresource ) in operator ==()
12202 ImageSubresource subresource; member
16526 …SubresourceLayout getImageSubresourceLayout( Image image, const ImageSubresource & subresource ) c… in getImageSubresourceLayout()
16529 …_cast<VkImage>( image ), reinterpret_cast<const VkImageSubresource*>( &subresource ), reinterpret_… in getImageSubresourceLayout()
Dvulkan.h1552 VkImageSubresource subresource; member
/external/deqp/external/vulkancts/scripts/src/
Dvulkan.h.in1586 VkImageSubresource subresource; member