/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkPlatform.cpp | 77 std::pair<void**, void*> prepareDeviceGroupPatch (const VkDeviceCreateInfo* pCreateInfo) in prepareDeviceGroupPatch() argument 86 const StructureBase* curr = reinterpret_cast<const StructureBase*>(pCreateInfo); in prepareDeviceGroupPatch() 104 const VkDeviceCreateInfo* pCreateInfo, in createDevice() argument 108 std::pair<void*, void*> patch = prepareDeviceGroupPatch(pCreateInfo); in createDevice() 126 VkResult result = InstanceDriver::createDevice(physicalDevice, pCreateInfo, pAllocator, pDevice); in createDevice() 138 m_resourceInterface->registerDeviceFeatures(*pDevice, pCreateInfo); in createDevice() 162 const VkShaderModuleCreateInfo* pCreateInfo, in createShaderModule() argument 168 DE_UNREF(pCreateInfo); in createShaderModule() 210 const VkDescriptorSetLayoutCreateInfo* pCreateInfo, in createDescriptorSetLayoutHandlerNorm() argument 215 VkResult result = m_vk.createDescriptorSetLayout(device, pCreateInfo, pAllocator, pSetLayout); in createDescriptorSetLayoutHandlerNorm() [all …]
|
D | vkPlatform.hpp | 110 const VkDeviceCreateInfo* pCreateInfo, 133 const VkShaderModuleCreateInfo* pCreateInfo, 174 const VkDescriptorSetLayoutCreateInfo* pCreateInfo, 178 const VkDescriptorSetLayoutCreateInfo* pCreateInfo, 195 const VkImageViewCreateInfo* pCreateInfo, 202 const VkQueryPoolCreateInfo* pCreateInfo, 206 const VkPipelineLayoutCreateInfo* pCreateInfo, 210 const VkPipelineLayoutCreateInfo* pCreateInfo, 241 const VkFramebufferCreateInfo* pCreateInfo, 245 const VkFramebufferCreateInfo* pCreateInfo, [all …]
|
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/ |
D | vkRefUtil.inl | 6 …nstance (const PlatformInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAlloca… 7 …erface& vk, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAlloca… 9 … (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAlloca… 10 …nst DeviceInterface& vk, VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAlloca… 11 … (const DeviceInterface& vk, VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAlloca… 12 …nst DeviceInterface& vk, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAlloca… 13 …(const DeviceInterface& vk, VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAlloca… 14 …st DeviceInterface& vk, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAlloca… 15 … (const DeviceInterface& vk, VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAlloca… 16 …nst DeviceInterface& vk, VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAlloca… [all …]
|
D | vkRefUtilImpl.inl | 221 …eateInstance (const PlatformInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAlloca… argument 224 VK_CHECK(vk.createInstance(pCreateInfo, pAllocator, &object)); 228 …erface& vk, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAlloca… argument 231 VK_CHECK(vk.createDevice(physicalDevice, pCreateInfo, pAllocator, &object)); 242 … (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAlloca… argument 245 VK_CHECK(vk.createFence(device, pCreateInfo, pAllocator, &object)); 249 …nst DeviceInterface& vk, VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAlloca… argument 252 VK_CHECK(vk.createSemaphore(device, pCreateInfo, pAllocator, &object)); 256 … (const DeviceInterface& vk, VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAlloca… argument 259 VK_CHECK(vk.createEvent(device, pCreateInfo, pAllocator, &object)); [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkRenderPass.cpp | 22 size_t ComputeRequiredAllocationSizeT(const T *pCreateInfo) in ComputeRequiredAllocationSizeT() argument 24 …size_t attachmentSize = pCreateInfo->attachmentCount * sizeof(VkAttachmentDescription) + pCreateIn… in ComputeRequiredAllocationSizeT() 25 …+ pCreateInfo->attachmentCount * sizeof(uint32_t); … in ComputeRequiredAllocationSizeT() 27 for(uint32_t i = 0; i < pCreateInfo->subpassCount; ++i) in ComputeRequiredAllocationSizeT() 29 const auto &subpass = pCreateInfo->pSubpasses[i]; in ComputeRequiredAllocationSizeT() 44 size_t dependenciesSize = pCreateInfo->dependencyCount * sizeof(VkSubpassDependency); in ComputeRequiredAllocationSizeT() 109 bool GetViewMasks(const VkRenderPassCreateInfo *pCreateInfo, uint32_t *masks) in GetViewMasks() argument 114 bool GetViewMasks(const VkRenderPassCreateInfo2KHR *pCreateInfo, uint32_t *masks) in GetViewMasks() argument 116 for(uint32_t i = 0; i < pCreateInfo->subpassCount; ++i) in GetViewMasks() 118 masks[i] = pCreateInfo->pSubpasses[i].viewMask; in GetViewMasks() [all …]
|
D | VkSampler.cpp | 19 SamplerState::SamplerState(const VkSamplerCreateInfo *pCreateInfo, const vk::SamplerYcbcrConversion… in SamplerState() argument 22 , magFilter(pCreateInfo->magFilter) in SamplerState() 23 , minFilter(pCreateInfo->minFilter) in SamplerState() 24 , mipmapMode(pCreateInfo->mipmapMode) in SamplerState() 25 , addressModeU(pCreateInfo->addressModeU) in SamplerState() 26 , addressModeV(pCreateInfo->addressModeV) in SamplerState() 27 , addressModeW(pCreateInfo->addressModeW) in SamplerState() 28 , mipLodBias(pCreateInfo->mipLodBias) in SamplerState() 29 , anisotropyEnable(pCreateInfo->anisotropyEnable) in SamplerState() 30 , maxAnisotropy(pCreateInfo->maxAnisotropy) in SamplerState() [all …]
|
D | VkSampler.hpp | 29 …SamplerState(const VkSamplerCreateInfo *pCreateInfo, const vk::SamplerYcbcrConversion *ycbcrConver… 64 …Sampler(const VkSamplerCreateInfo *pCreateInfo, void *mem, const SamplerState &samplerState, uint3… 66 static size_t ComputeRequiredAllocationSize(const VkSamplerCreateInfo *pCreateInfo) in ComputeRequiredAllocationSize() argument 77 SamplerYcbcrConversion(const VkSamplerYcbcrConversionCreateInfo *pCreateInfo, void *mem) in SamplerYcbcrConversion() argument 78 : format(pCreateInfo->format) in SamplerYcbcrConversion() 79 , ycbcrModel(pCreateInfo->ycbcrModel) in SamplerYcbcrConversion() 80 , ycbcrRange(pCreateInfo->ycbcrRange) in SamplerYcbcrConversion() 81 , components(ResolveIdentityMapping(pCreateInfo->components)) in SamplerYcbcrConversion() 82 , xChromaOffset(pCreateInfo->xChromaOffset) in SamplerYcbcrConversion() 83 , yChromaOffset(pCreateInfo->yChromaOffset) in SamplerYcbcrConversion() [all …]
|
D | libVulkan.cpp | 174 void ValidateRenderPassPNextChain(VkDevice device, const T *pCreateInfo) in ValidateRenderPassPNextChain() argument 176 …InStructure *extensionCreateInfo = reinterpret_cast<const VkBaseInStructure *>(pCreateInfo->pNext); in ValidateRenderPassPNextChain() 189 ASSERT(aspectReference.subpass < pCreateInfo->subpassCount); in ValidateRenderPassPNextChain() 190 const auto &subpassDescription = pCreateInfo->pSubpasses[aspectReference.subpass]; in ValidateRenderPassPNextChain() 200 vk::Format format(pCreateInfo->pAttachments[attachmentReference.attachment].format); in ValidateRenderPassPNextChain() 213 …reateInfo->subpassCount == 0) || (multiviewCreateInfo->subpassCount == pCreateInfo->subpassCount)); in ValidateRenderPassPNextChain() 214 …nfo->dependencyCount == 0) || (multiviewCreateInfo->dependencyCount == pCreateInfo->dependencyCoun… in ValidateRenderPassPNextChain() 229 const auto &dependency = pCreateInfo->pDependencies[i]; in ValidateRenderPassPNextChain() 506 VKAPI_ATTR VkResult VKAPI_CALL vkCreateInstance(const VkInstanceCreateInfo *pCreateInfo, const VkAl… in vkCreateInstance() argument 509 pCreateInfo, pAllocator, pInstance); in vkCreateInstance() [all …]
|
D | VkBuffer.cpp | 25 Buffer::Buffer(const VkBufferCreateInfo *pCreateInfo, void *mem) in Buffer() argument 26 : flags(pCreateInfo->flags) in Buffer() 27 , size(pCreateInfo->size) in Buffer() 28 , usage(pCreateInfo->usage) in Buffer() 29 , sharingMode(pCreateInfo->sharingMode) in Buffer() 31 if(pCreateInfo->sharingMode == VK_SHARING_MODE_CONCURRENT) in Buffer() 33 queueFamilyIndexCount = pCreateInfo->queueFamilyIndexCount; in Buffer() 35 …memcpy(queueFamilyIndices, pCreateInfo->pQueueFamilyIndices, sizeof(uint32_t) * queueFamilyIndexCo… in Buffer() 38 const auto *nextInfo = reinterpret_cast<const VkBaseInStructure *>(pCreateInfo->pNext); in Buffer() 54 size_t Buffer::ComputeRequiredAllocationSize(const VkBufferCreateInfo *pCreateInfo) in ComputeRequiredAllocationSize() argument [all …]
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_image.c | 31 const VkImageCreateInfo *pCreateInfo, in lvp_image_create() argument 38 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO); in lvp_image_create() 40 image = vk_image_create(&device->vk, pCreateInfo, alloc, sizeof(*image)); in lvp_image_create() 51 switch (pCreateInfo->imageType) { in lvp_image_create() 53 template.target = pCreateInfo->arrayLayers > 1 ? PIPE_TEXTURE_1D_ARRAY : PIPE_TEXTURE_1D; in lvp_image_create() 57 template.target = pCreateInfo->arrayLayers > 1 ? PIPE_TEXTURE_2D_ARRAY : PIPE_TEXTURE_2D; in lvp_image_create() 64 template.format = lvp_vk_format_to_pipe_format(pCreateInfo->format); in lvp_image_create() 68 if (pCreateInfo->usage & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) { in lvp_image_create() 71 if (pCreateInfo->samples > 1) in lvp_image_create() 75 if (pCreateInfo->usage & VK_IMAGE_USAGE_TRANSFER_DST_BIT) { in lvp_image_create() [all …]
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_image.c | 59 const VkImageCreateInfo *pCreateInfo) in vk_image_init() argument 63 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO); in vk_image_init() 64 assert(pCreateInfo->mipLevels > 0); in vk_image_init() 65 assert(pCreateInfo->arrayLayers > 0); in vk_image_init() 66 assert(pCreateInfo->samples > 0); in vk_image_init() 67 assert(pCreateInfo->extent.width > 0); in vk_image_init() 68 assert(pCreateInfo->extent.height > 0); in vk_image_init() 69 assert(pCreateInfo->extent.depth > 0); in vk_image_init() 71 if (pCreateInfo->flags & VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT) in vk_image_init() 72 assert(pCreateInfo->imageType == VK_IMAGE_TYPE_2D); in vk_image_init() [all …]
|
D | vk_framebuffer.c | 31 const VkFramebufferCreateInfo *pCreateInfo, in vk_common_CreateFramebuffer() argument 38 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO); in vk_common_CreateFramebuffer() 47 if (!(pCreateInfo->flags & VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT)) in vk_common_CreateFramebuffer() 48 size += sizeof(VkImageView) * pCreateInfo->attachmentCount; in vk_common_CreateFramebuffer() 55 framebuffer->flags = pCreateInfo->flags; in vk_common_CreateFramebuffer() 56 framebuffer->width = pCreateInfo->width; in vk_common_CreateFramebuffer() 57 framebuffer->height = pCreateInfo->height; in vk_common_CreateFramebuffer() 58 framebuffer->layers = pCreateInfo->layers; in vk_common_CreateFramebuffer() 60 if (!(pCreateInfo->flags & VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT)) { in vk_common_CreateFramebuffer() 61 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) in vk_common_CreateFramebuffer() [all …]
|
D | vk_pipeline_layout.c | 37 const VkPipelineLayoutCreateInfo *pCreateInfo) in vk_pipeline_layout_init() argument 39 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO); in vk_pipeline_layout_init() 40 assert(pCreateInfo->setLayoutCount <= VK_MESA_PIPELINE_LAYOUT_MAX_SETS); in vk_pipeline_layout_init() 45 layout->create_flags = pCreateInfo->flags; in vk_pipeline_layout_init() 46 layout->set_count = pCreateInfo->setLayoutCount; in vk_pipeline_layout_init() 49 for (uint32_t s = 0; s < pCreateInfo->setLayoutCount; s++) { in vk_pipeline_layout_init() 51 pCreateInfo->pSetLayouts[s]); in vk_pipeline_layout_init() 62 const VkPipelineLayoutCreateInfo *pCreateInfo) in vk_pipeline_layout_zalloc() argument 73 vk_pipeline_layout_init(device, layout, pCreateInfo); in vk_pipeline_layout_zalloc() 80 const VkPipelineLayoutCreateInfo *pCreateInfo) in vk_pipeline_layout_multizalloc() argument [all …]
|
/third_party/vulkan-loader/tests/framework/layer/ |
D | wrap_objects.cpp | 115 VkLayerInstanceCreateInfo *get_chain_info(const VkInstanceCreateInfo *pCreateInfo, VkLayerFunction … in get_chain_info() argument 116 VkLayerInstanceCreateInfo *chain_info = (VkLayerInstanceCreateInfo *)pCreateInfo->pNext; in get_chain_info() 124 VkLayerDeviceCreateInfo *get_chain_info(const VkDeviceCreateInfo *pCreateInfo, VkLayerFunction func… in get_chain_info() argument 125 VkLayerDeviceCreateInfo *chain_info = (VkLayerDeviceCreateInfo *)pCreateInfo->pNext; in get_chain_info() 144 VKAPI_ATTR VkResult VKAPI_CALL wrap_vkCreateInstance(const VkInstanceCreateInfo *pCreateInfo, in wrap_vkCreateInstance() argument 146 VkLayerInstanceCreateInfo *chain_info = get_chain_info(pCreateInfo, VK_LAYER_LINK_INFO); in wrap_vkCreateInstance() 154 VkResult result = fpCreateInstance(pCreateInfo, pAllocator, pInstance); in wrap_vkCreateInstance() 164 chain_info = get_chain_info(pCreateInfo, VK_LOADER_DATA_CALLBACK); in wrap_vkCreateInstance() 175 for (uint32_t layer = 0; layer < pCreateInfo->enabledLayerCount; ++layer) { in wrap_vkCreateInstance() 176 std::string layer_name = pCreateInfo->ppEnabledLayerNames[layer]; in wrap_vkCreateInstance() [all …]
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_image.c | 152 const VkImageViewCreateInfo *pCreateInfo, in tu_image_view_init() argument 155 TU_FROM_HANDLE(tu_image, image, pCreateInfo->image); in tu_image_view_init() 156 const VkImageSubresourceRange *range = &pCreateInfo->subresourceRange; in tu_image_view_init() 157 VkFormat vk_format = pCreateInfo->format; in tu_image_view_init() 158 VkImageAspectFlagBits aspect_mask = pCreateInfo->subresourceRange.aspectMask; in tu_image_view_init() 161 vk_find_struct_const(pCreateInfo->pNext, SAMPLER_YCBCR_CONVERSION_INFO); in tu_image_view_init() 165 vk_image_view_init(&device->vk, &iview->vk, false, pCreateInfo); in tu_image_view_init() 207 vk_component_mapping_to_pipe_swizzle(pCreateInfo->components, args.swiz); in tu_image_view_init() 216 switch (pCreateInfo->viewType) { in tu_image_view_init() 343 const VkImageCreateInfo *pCreateInfo, uint64_t modifier, in tu_image_init() argument [all …]
|
D | tu_descriptor_set.c | 94 const VkDescriptorSetLayoutCreateInfo *pCreateInfo, in tu_CreateDescriptorSetLayout() argument 101 assert(pCreateInfo->sType == in tu_CreateDescriptorSetLayout() 105 pCreateInfo->pNext, in tu_CreateDescriptorSetLayout() 109 pCreateInfo->pNext, in tu_CreateDescriptorSetLayout() 115 for (uint32_t j = 0; j < pCreateInfo->bindingCount; j++) { in tu_CreateDescriptorSetLayout() 116 num_bindings = MAX2(num_bindings, pCreateInfo->pBindings[j].binding + 1); in tu_CreateDescriptorSetLayout() 117 if ((pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in tu_CreateDescriptorSetLayout() 118 pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in tu_CreateDescriptorSetLayout() 119 pCreateInfo->pBindings[j].pImmutableSamplers) { in tu_CreateDescriptorSetLayout() 120 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in tu_CreateDescriptorSetLayout() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
D | VkSwapchainKHR.cpp | 27 SwapchainKHR::SwapchainKHR(const VkSwapchainCreateInfoKHR *pCreateInfo, void *mem) in SwapchainKHR() argument 28 : surface(vk::Cast(pCreateInfo->surface)) in SwapchainKHR() 30 , imageCount(pCreateInfo->minImageCount) in SwapchainKHR() 56 size_t SwapchainKHR::ComputeRequiredAllocationSize(const VkSwapchainCreateInfoKHR *pCreateInfo) in ComputeRequiredAllocationSize() argument 58 return pCreateInfo->minImageCount * sizeof(PresentImage); in ComputeRequiredAllocationSize() 88 VkResult SwapchainKHR::createImages(VkDevice device, const VkSwapchainCreateInfoKHR *pCreateInfo) in createImages() argument 95 if(pCreateInfo->flags & VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR) in createImages() 100 if(pCreateInfo->flags & VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR) in createImages() 105 if(pCreateInfo->flags & VK_SWAPCHAIN_CREATE_MUTABLE_FORMAT_BIT_KHR) in createImages() 111 imageInfo.format = pCreateInfo->imageFormat; in createImages() [all …]
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_pass.c | 35 const VkRenderPassCreateInfo2 *pCreateInfo, in panvk_CreateRenderPass2() argument 45 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2); in panvk_CreateRenderPass2() 48 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in panvk_CreateRenderPass2() 50 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in panvk_CreateRenderPass2() 57 pass->attachment_count = pCreateInfo->attachmentCount; in panvk_CreateRenderPass2() 58 pass->subpass_count = pCreateInfo->subpassCount; in panvk_CreateRenderPass2() 61 vk_foreach_struct_const(ext, pCreateInfo->pNext) { in panvk_CreateRenderPass2() 71 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in panvk_CreateRenderPass2() 74 att->format = vk_format_to_pipe_format(pCreateInfo->pAttachments[i].format); in panvk_CreateRenderPass2() 75 att->samples = pCreateInfo->pAttachments[i].samples; in panvk_CreateRenderPass2() [all …]
|
D | panvk_image.c | 65 const VkImageCreateInfo *pCreateInfo, in panvk_image_create() argument 74 image = vk_image_create(&device->vk, pCreateInfo, alloc, sizeof(*image)); in panvk_image_create() 99 const VkImageCreateInfo *pCreateInfo, in panvk_image_select_mod() argument 104 enum pipe_format fmt = vk_format_to_pipe_format(pCreateInfo->format); in panvk_image_select_mod() 110 if (pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR) in panvk_image_select_mod() 113 if (pCreateInfo->tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT) { in panvk_image_select_mod() 115 vk_find_struct_const(pCreateInfo->pNext, in panvk_image_select_mod() 118 vk_find_struct_const(pCreateInfo->pNext, in panvk_image_select_mod() 145 vk_find_struct_const(pCreateInfo->pNext, WSI_IMAGE_CREATE_INFO_MESA); in panvk_image_select_mod() 149 assert(pCreateInfo->tiling == VK_IMAGE_TILING_OPTIMAL); in panvk_image_select_mod() [all …]
|
D | panvk_descriptor_set.c | 49 const VkDescriptorSetLayoutCreateInfo *pCreateInfo, in panvk_GetDescriptorSetLayoutSupport() argument 58 vk_create_sorted_bindings(pCreateInfo->pBindings, in panvk_GetDescriptorSetLayoutSupport() 59 pCreateInfo->bindingCount, in panvk_GetDescriptorSetLayoutSupport() 69 for (unsigned i = 0; i < pCreateInfo->bindingCount; i++) { in panvk_GetDescriptorSetLayoutSupport() 124 const VkPipelineLayoutCreateInfo *pCreateInfo, in panvk_CreatePipelineLayout() argument 133 pCreateInfo); in panvk_CreatePipelineLayout() 141 for (unsigned set = 0; set < pCreateInfo->setLayoutCount; set++) { in panvk_CreatePipelineLayout() 175 for (unsigned range = 0; range < pCreateInfo->pushConstantRangeCount; range++) { in panvk_CreatePipelineLayout() 177 MAX2(pCreateInfo->pPushConstantRanges[range].offset + in panvk_CreatePipelineLayout() 178 pCreateInfo->pPushConstantRanges[range].size, in panvk_CreatePipelineLayout() [all …]
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_render_pass.c | 143 const VkRenderPassCreateInfo *pCreateInfo, in vn_CreateRenderPass() argument 153 vn_render_pass_count_present_src(pCreateInfo, &acquire_count, in vn_CreateRenderPass() 164 vk_alloc(alloc, sizeof(*temp_atts) * pCreateInfo->attachmentCount, in vn_CreateRenderPass() 171 vn_render_pass_replace_present_src(pass, pCreateInfo, temp_atts); in vn_CreateRenderPass() 174 local_pass_info = *pCreateInfo; in vn_CreateRenderPass() 176 pCreateInfo = &local_pass_info; in vn_CreateRenderPass() 180 vn_async_vkCreateRenderPass(dev->instance, device, pCreateInfo, NULL, in vn_CreateRenderPass() 183 if (pCreateInfo == &local_pass_info) in vn_CreateRenderPass() 193 const VkRenderPassCreateInfo2 *pCreateInfo, in vn_CreateRenderPass2() argument 203 vn_render_pass_count_present_src2(pCreateInfo, &acquire_count, in vn_CreateRenderPass2() [all …]
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_image.c | 247 const VkImageCreateInfo *pCreateInfo, in create_image() argument 253 image = vk_image_create(&device->vk, pCreateInfo, pAllocator, sizeof(*image)); in create_image() 266 VkImageTiling tiling = pCreateInfo->tiling; in create_image() 270 vk_find_struct_const(pCreateInfo->pNext, in create_image() 273 vk_find_struct_const(pCreateInfo->pNext, in create_image() 294 } else if (pCreateInfo->imageType == VK_IMAGE_TYPE_1D || in create_image() 301 vk_find_struct_const(pCreateInfo->pNext, NATIVE_BUFFER_ANDROID); in create_image() 321 v3dv_X(device, get_format)(pCreateInfo->format); in create_image() 324 assert(pCreateInfo->samples == VK_SAMPLE_COUNT_1_BIT || in create_image() 325 pCreateInfo->samples == VK_SAMPLE_COUNT_4_BIT); in create_image() [all …]
|
D | v3dvx_device.c | 170 const VkSamplerCreateInfo *pCreateInfo, in v3dX() 175 switch (pCreateInfo->borderColor) { in v3dX() 205 if ((pCreateInfo->addressModeU == VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER || in v3dX() 206 pCreateInfo->addressModeV == VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER || in v3dX() 207 pCreateInfo->addressModeW == VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER) && in v3dX() 213 if (pCreateInfo->anisotropyEnable) { in v3dX() 215 if (pCreateInfo->maxAnisotropy > 8) in v3dX() 217 else if (pCreateInfo->maxAnisotropy > 4) in v3dX() 219 else if (pCreateInfo->maxAnisotropy > 2) in v3dX() 235 s.wrap_s = vk_to_v3d_wrap_mode[pCreateInfo->addressModeU]; in v3dX() [all …]
|
/third_party/vulkan-loader/loader/ |
D | wsi.h | 74 …wsi_create_instance(struct loader_instance *ptr_instance, const VkInstanceCreateInfo *pCreateInfo); 78 … const VkHeadlessSurfaceCreateInfoEXT *pCreateInfo, 81 …PI_CALL terminator_CreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR *pCreateInfo, 107 …rminator_CreateWin32SurfaceKHR(VkInstance instance, const VkWin32SurfaceCreateInfoKHR *pCreateInfo, 114 … const VkWaylandSurfaceCreateInfoKHR *pCreateInfo, 121 …L terminator_CreateXcbSurfaceKHR(VkInstance instance, const VkXcbSurfaceCreateInfoKHR *pCreateInfo, 130 …terminator_CreateXlibSurfaceKHR(VkInstance instance, const VkXlibSurfaceCreateInfoKHR *pCreateInfo, 138 … const VkDirectFBSurfaceCreateInfoEXT *pCreateInfo, 145 …rminator_CreateMacOSSurfaceMVK(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK *pCreateInfo, 149 …L terminator_CreateIOSSurfaceMVK(VkInstance instance, const VkIOSSurfaceCreateInfoMVK *pCreateInfo, [all …]
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_shader_module.h | 81 …_vkCreateShaderModule(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAlloca… in vn_sizeof_vkCreateShaderModule() argument 88 cmd_size += vn_sizeof_simple_pointer(pCreateInfo); in vn_sizeof_vkCreateShaderModule() 89 if (pCreateInfo) in vn_sizeof_vkCreateShaderModule() 90 cmd_size += vn_sizeof_VkShaderModuleCreateInfo(pCreateInfo); in vn_sizeof_vkCreateShaderModule() 101 …ndFlagsEXT cmd_flags, VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAlloca… in vn_encode_vkCreateShaderModule() argument 109 if (vn_encode_simple_pointer(enc, pCreateInfo)) in vn_encode_vkCreateShaderModule() 110 vn_encode_VkShaderModuleCreateInfo(enc, pCreateInfo); in vn_encode_vkCreateShaderModule() 117 …ateShaderModule_reply(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAlloca… in vn_sizeof_vkCreateShaderModule_reply() argument 134 …t vn_cs_decoder *dec, VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAlloca… in vn_decode_vkCreateShaderModule_reply() argument 205 …ndFlagsEXT cmd_flags, VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAlloca… in vn_submit_vkCreateShaderModule() argument [all …]
|