Home
last modified time | relevance | path

Searched refs:storageImage (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDescriptorSetLayout.cpp203 StorageImageDescriptor *storageImage = reinterpret_cast<StorageImageDescriptor *>(mem); in initialize() local
204 storageImage->memoryOwner = nullptr; in initialize()
451 auto storageImage = reinterpret_cast<StorageImageDescriptor *>(memToWrite); in WriteDescriptorSet() local
459 storageImage[i].imageViewId = imageView->id; in WriteDescriptorSet()
460 storageImage[i].ptr = imageView->getOffsetPointer({ 0, 0, 0 }, VK_IMAGE_ASPECT_COLOR_BIT, 0, 0); in WriteDescriptorSet()
461 storageImage[i].width = extent.width; in WriteDescriptorSet()
462 storageImage[i].height = extent.height; in WriteDescriptorSet()
463 storageImage[i].depth = imageView->getDepthOrLayerCount(0); in WriteDescriptorSet()
464 storageImage[i].rowPitchBytes = imageView->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, 0); in WriteDescriptorSet()
465 storageImage[i].samplePitchBytes = imageView->slicePitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, 0); in WriteDescriptorSet()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageSampleCompressedTextureTests.cpp86 …fo makeImageCreateInfo (const IVec3& size, const VkFormat& format, bool storageImage, bool cubemap) in makeImageCreateInfo() argument
93 if (storageImage) in makeImageCreateInfo()
301 …const ImageWithMemory storageImage (vk, device, m_context.getDefaultAllocator(), imageCreateIn… in iterate() local
324 …cubeStorageImageViews.emplace_back(makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D,… in iterate()
333 …storageImageImageView = makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D, m_imageVi… in iterate()
396 …cubeSamplerImageViews.emplace_back(makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D,… in iterate()
406 …cubeSampler2ImageViews.emplace_back(makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D… in iterate()
418 …sampledImageView2 = makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D, m_imageFormat,… in iterate()
424 …sampledImageView = makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D, m_imageViewForm… in iterate()
507 storageImage.get(), imageSubresourceRange); in iterate()
[all …]
DvktImageMismatchedFormatsTests.cpp403 vk::Move<vk::VkImage> storageImage = createImage(vk, device, &imageCreateInfo); in iterate() local
416 allocator, allocations, tcuFormat, *storageImage ); in iterate()
421 …storageAllocation = allocator.allocate(getImageMemoryRequirements(vk, device, *storageImage), Memo… in iterate()
422 …VK_CHECK(vk.bindImageMemory(device, *storageImage, storageAllocation->getMemory(), storageAllocati… in iterate()
426 …Move<VkImageView> storageImageView = makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYP… in iterate()
437 …ADER_WRITE_BIT), VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL, *storageImage, subresourceRan… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSampleCompressedTextureTests.cpp86 …fo makeImageCreateInfo (const IVec3& size, const VkFormat& format, bool storageImage, bool cubemap) in makeImageCreateInfo() argument
93 if (storageImage) in makeImageCreateInfo()
301 …const ImageWithMemory storageImage (vk, device, m_context.getDefaultAllocator(), imageCreateIn… in iterate() local
324 …cubeStorageImageViews.emplace_back(makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D,… in iterate()
333 …storageImageImageView = makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D, m_imageVi… in iterate()
396 …cubeSamplerImageViews.emplace_back(makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D,… in iterate()
406 …cubeSampler2ImageViews.emplace_back(makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D… in iterate()
418 …sampledImageView2 = makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D, m_imageFormat,… in iterate()
424 …sampledImageView = makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYPE_2D, m_imageViewForm… in iterate()
507 storageImage.get(), imageSubresourceRange); in iterate()
[all …]
DvktImageMismatchedFormatsTests.cpp403 vk::Move<vk::VkImage> storageImage = createImage(vk, device, &imageCreateInfo); in iterate() local
416 allocator, allocations, tcuFormat, *storageImage ); in iterate()
421 …storageAllocation = allocator.allocate(getImageMemoryRequirements(vk, device, *storageImage), Memo… in iterate()
422 …VK_CHECK(vk.bindImageMemory(device, *storageImage, storageAllocation->getMemory(), storageAllocati… in iterate()
426 …Move<VkImageView> storageImageView = makeImageView(vk, device, *storageImage, VK_IMAGE_VIEW_TYP… in iterate()
437 …ADER_WRITE_BIT), VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL, *storageImage, subresourceRan… in iterate()
/third_party/glslang/Test/
DruntimeArray.vert38 layout(binding=6, r32f) uniform image2D storageImage[];
96 storageImage[1];
105 storageImage[i]; // ERROR, need extension
Dspv.nonuniform.frag16 layout(binding=6, r32f) uniform image2D storageImage[];
46 b += imageLoad(storageImage[nu_ii], ivec2(1)).x;
/third_party/glslang/Test/baseResults/
Dspv.nonuniform.frag.out53 Name 133 "storageImage"
115 Decorate 133(storageImage) DescriptorSet 0
116 Decorate 133(storageImage) Binding 6
246 133(storageImage): 132(ptr) Variable UniformConstant
369 136: 135(ptr) AccessChain 133(storageImage) 134
DruntimeArray.vert.out280 0:96 'storageImage' (layout( binding=6 r32f) uniform runtime-sized array of image2D)
307 0:105 'storageImage' (layout( binding=6 r32f) uniform runtime-sized array of image2D)
334 0:? 'storageImage' (layout( binding=6 r32f) uniform runtime-sized array of image2D)
587 0:96 'storageImage' (layout( binding=6 r32f) uniform runtime-sized array of image2D)
614 0:105 'storageImage' (layout( binding=6 r32f) uniform runtime-sized array of image2D)
641 0:? 'storageImage' (layout( binding=6 r32f) uniform runtime-sized array of image2D)
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp2844 ImageWithMemory storageImage (vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any); in iterate() local
2846 …const auto storageImageView = makeImageView(vkd, device, storageImage.get(), VK_IMAGE_VIEW_TYPE_2D… in iterate()
2957 …SHADER_WRITE_BIT, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL, storageImage.get(), subresou… in iterate()
2993 …D_BIT, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, storageImage.get(), subresou… in iterate()
2997 …vkd.cmdCopyImageToBuffer(cmdBuffer, storageImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, tran… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushConstantTests.cpp2844 ImageWithMemory storageImage (vkd, device, alloc, imageCreateInfo, MemoryRequirement::Any); in iterate() local
2846 …const auto storageImageView = makeImageView(vkd, device, storageImage.get(), VK_IMAGE_VIEW_TYPE_2D… in iterate()
2957 …SHADER_WRITE_BIT, VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL, storageImage.get(), subresou… in iterate()
2993 …D_BIT, VK_IMAGE_LAYOUT_GENERAL, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, storageImage.get(), subresou… in iterate()
2997 …vkd.cmdCopyImageToBuffer(cmdBuffer, storageImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, tran… in iterate()