Home
last modified time | relevance | path

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

123

/external/swiftshader/src/Vulkan/
DVkImage.hpp92 void *getTexelPointer(const VkOffset3D &offset, const VkImageSubresource &subresource) const;
128 …e texelOffsetBytesInStorage(const VkOffset3D &offset, const VkImageSubresource &subresource) const;
137 void decompress(const VkImageSubresource &subresource);
138 bool updateCube(const VkImageSubresource &subresource);
139 void decodeETC2(const VkImageSubresource &subresource);
140 void decodeBC(const VkImageSubresource &subresource);
141 void decodeASTC(const VkImageSubresource &subresource);
166 : subresource{ (VkImageAspectFlags)0, 0, 0 } in Subresource()
169 : subresource(subres) in Subresource()
171 inline operator VkImageSubresource() const { return subresource; } in operator VkImageSubresource()
[all …]
DVkImage.cpp659 void *Image::getTexelPointer(const VkOffset3D &offset, const VkImageSubresource &subresource) const in getTexelPointer()
661 VkImageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(subresource.aspectMask); in getTexelPointer()
662 return deviceMemory->getOffsetPointer(texelOffsetBytesInStorage(offset, subresource) + in getTexelPointer()
663 … getMemoryOffset(aspect, subresource.mipLevel, subresource.arrayLayer)); in getTexelPointer()
737 …e::texelOffsetBytesInStorage(const VkOffset3D &offset, const VkImageSubresource &subresource) const in texelOffsetBytesInStorage()
739 VkImageAspectFlagBits aspect = static_cast<VkImageAspectFlagBits>(subresource.aspectMask); in texelOffsetBytesInStorage()
742 return adjustedOffset.z * slicePitchBytes(aspect, subresource.mipLevel) + in texelOffsetBytesInStorage()
743 (adjustedOffset.y + border) * rowPitchBytes(aspect, subresource.mipLevel) + in texelOffsetBytesInStorage()
1113 VkImageSubresource subresource = { in contentsChanged() local
1120 for(subresource.arrayLayer = subresourceRange.baseArrayLayer; in contentsChanged()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1211 …veSubresourceRange (const TestTexture& testTexture, const vk::VkImageSubresourceRange& subresource) in resolveSubresourceRange() argument
1213 vk::VkImageSubresourceRange resolved = subresource; in resolveSubresourceRange()
1215 if (subresource.levelCount == VK_REMAINING_MIP_LEVELS) in resolveSubresourceRange()
1216 resolved.levelCount = testTexture.getNumLevels()-subresource.baseMipLevel; in resolveSubresourceRange()
1218 if (subresource.layerCount == VK_REMAINING_ARRAY_LAYERS) in resolveSubresourceRange()
1219 resolved.layerCount = testTexture.getArraySize()-subresource.baseArrayLayer; in resolveSubresourceRange()
1224 …ew (const TestTexture& testTexture, const vk::VkImageSubresourceRange& subresource, std::vector<tc… in getTexture1DView() argument
1226 DE_ASSERT(subresource.layerCount == 1); in getTexture1DView()
1228 levels.resize(subresource.levelCount); in getTexture1DView()
1232 …elBufferAccess& srcLevel = testTexture.getLevel((int)subresource.baseMipLevel+levelNdx, subresourc… in getTexture1DView()
[all …]
/external/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()
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h520 VkImageSubresource subresource;
565 virtual VkImageLayout GetSubresourceLayout(const VkImageSubresource subresource) const = 0;
566 … virtual VkImageLayout GetSubresourceInitialLayout(const VkImageSubresource subresource) const = 0;
567 …itialLayoutState *GetSubresourceInitialLayoutState(const VkImageSubresource subresource) const = 0;
609 value_.subresource = map_->Decode((*it_).first);
729 VkImageLayout GetSubresourceInitialLayout(const VkImageSubresource subresource) const override {
730 if (!InRange(subresource)) return kInvalidLayout;
731 uint32_t aspect_index = AspectTraits::Index(subresource.aspectMask);
732 size_t index = Encode(aspect_index, subresource.mipLevel, subresource.arrayLayer);
736 …const InitialLayoutState *GetSubresourceInitialLayoutState(const VkImageSubresource subresource) c…
[all …]
Dbuffer_validation.cpp173 if (imgpair.subresource.aspectMask & aspectMask) { in SetLayout()
174 imgpair.subresource.aspectMask = aspectMask; in SetLayout()
190 if (!(imgpair.subresource.aspectMask & aspectMask)) { in FindLayoutVerifyLayout()
193 VkImageAspectFlags oldAspectMask = imgpair.subresource.aspectMask; in FindLayoutVerifyLayout()
194 imgpair.subresource.aspectMask = aspectMask; in FindLayoutVerifyLayout()
253 if (!(imgpair.subresource.aspectMask & aspectMask)) { in FindLayout()
256 imgpair.subresource.aspectMask = aspectMask; in FindLayout()
298 auto subresource = std::find(image_subresources.begin(), image_subresources.end(), imgpair); in SetGlobalLayout() local
299 if (subresource == image_subresources.end()) { in SetGlobalLayout()
1928 …3D GetImageSubresourceExtent(const IMAGE_STATE *img, const VkImageSubresourceLayers *subresource) { in GetImageSubresourceExtent() argument
[all …]
/external/mesa3d/include/CL/
Dcl_d3d11.h100 UINT subresource,
107 UINT subresource,
Dcl_d3d10.h100 UINT subresource,
107 UINT subresource,
Dcl_icd.h803 UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
807 UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
834 UINT subresource, cl_int *errcode_ret);
838 UINT subresource, cl_int *errcode_ret);
863 UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
867 UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
922 UINT subresource, cl_int *errcode_ret);
926 UINT subresource, cl_int *errcode_ret);
/external/angle/include/CL/
Dcl_d3d11.h97 UINT subresource,
104 UINT subresource,
Dcl_d3d10.h97 UINT subresource,
104 UINT subresource,
Dcl_icd.h803 UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
807 UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_0;
834 UINT subresource, cl_int *errcode_ret);
838 UINT subresource, cl_int *errcode_ret);
863 UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
867 UINT subresource, cl_int *errcode_ret) CL_API_SUFFIX__VERSION_1_2;
922 UINT subresource, cl_int *errcode_ret);
926 UINT subresource, cl_int *errcode_ret);
/external/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()
DGrD3DTextureResource.h55 unsigned int subresource = D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES);
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c348 const VkImageSubresource *subresource, in v3dv_GetImageSubresourceLayout() argument
354 &image->slices[subresource->mipLevel]; in v3dv_GetImageSubresourceLayout()
356 v3dv_layer_offset(image, subresource->mipLevel, subresource->arrayLayer); in v3dv_GetImageSubresourceLayout()
370 if (subresource->mipLevel == 0) { in v3dv_GetImageSubresourceLayout()
374 &image->slices[subresource->mipLevel - 1]; in v3dv_GetImageSubresourceLayout()
/external/vulkan-validation-layers/tests/
Dvktestbinding.h523 …static VkImageSubresource subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_t arra…
524 …static VkImageSubresource subresource(const VkImageSubresourceRange &range, uint32_t mip_level, ui…
525 …static VkImageSubresourceLayers subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_…
527 …static VkImageSubresourceLayers subresource(const VkImageSubresourceRange &range, uint32_t mip_lev…
840 inline VkImageSubresource Image::subresource(VkImageAspectFlags aspect, uint32_t mip_level, uint32_… in subresource() function
851 inline VkImageSubresource Image::subresource(const VkImageSubresourceRange &range, uint32_t mip_lev… in subresource() function
852 …return subresource(range.aspectMask, range.baseMipLevel + mip_level, range.baseArrayLayer + array_… in subresource()
855 inline VkImageSubresourceLayers Image::subresource(VkImageAspectFlags aspect, uint32_t mip_level, u… in subresource() function
875 inline VkImageSubresourceLayers Image::subresource(const VkImageSubresourceRange &range, uint32_t m… in subresource() function
877 …return subresource(range.aspectMask, range.baseMipLevel + mip_level, range.baseArrayLayer + array_… in subresource()
/external/angle/extensions/
DEGL_ANGLE_stream_producer_d3d_texture.txt119 EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE, which allows the subresource id of
147 EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE is not a valid subresource id for
/external/mesa3d/src/intel/vulkan/
Danv_image.c1147 const VkImageSubresource* subresource, in anv_GetImageSubresourceLayout() argument
1153 if (subresource->aspectMask == VK_IMAGE_ASPECT_PLANE_1_BIT && in anv_GetImageSubresourceLayout()
1159 subresource->aspectMask); in anv_GetImageSubresourceLayout()
1163 assert(__builtin_popcount(subresource->aspectMask) == 1); in anv_GetImageSubresourceLayout()
1170 if (subresource->mipLevel > 0 || subresource->arrayLayer > 0) { in anv_GetImageSubresourceLayout()
1175 subresource->mipLevel, in anv_GetImageSubresourceLayout()
1176 subresource->arrayLayer, in anv_GetImageSubresourceLayout()
1181 subresource->mipLevel) * in anv_GetImageSubresourceLayout()
/external/angle/src/libANGLE/renderer/vulkan/doc/
DDeferredClears.md34 assuming there are no subsequent updates to that subresource of the image, and keep them as
/external/brotli/fetch-spec/
Dshared-brotli-fetch-spec.txt100 [parsing metadata](https://w3c.github.io/webappsec-subresource-integrity/#parse-metadata)
102 [Subresource Integrity](https://w3c.github.io/webappsec-subresource-integrity/)
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp861 const VkImageSubresource& subresource, in makeSparseImageMemoryBind() argument
878 imageMemoryBind.subresource = subresource; in makeSparseImageMemoryBind()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py173 def __init__(self, resource, usage, subresource, box): argument
176 self.subresource = subresource
/external/swiftshader/src/Device/
DBlitter.hpp152 void updateBorders(vk::Image *image, const VkImageSubresource &subresource);
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.cpp213 UINT subresource = D3D11CalcSubresource(mipSlice, arraySlice, mMipLevels); in getSubresourceIndex() local
214 ASSERT(subresource != std::numeric_limits<UINT>::max()); in getSubresourceIndex()
215 *outSubresourceIndex = subresource; in getSubresourceIndex()
861 UINT subresource = 0; in initDropStencilTexture() local
862 ANGLE_TRY(getSubresourceIndex(context, index, &subresource)); in initDropStencilTexture()
865 context, *sourceTexture, subresource, wholeArea, wholeSize, mDropStencilTexture, in initDropStencilTexture()
866 subresource, wholeArea, wholeSize, nullptr)); in initDropStencilTexture()
2148 UINT subresource = D3D11CalcSubresource(0, arraySlice, 1); in getSubresourceIndex() local
2149 ASSERT(subresource != std::numeric_limits<UINT>::max()); in getSubresourceIndex()
2150 *outSubresourceIndex = subresource; in getSubresourceIndex()
[all …]

123