/third_party/mesa3d/src/vulkan/util/ |
D | vk_render_pass.c | 61 const VkRenderPassCreateInfo *pCreateInfo, in vk_common_CreateRenderPass() argument 68 for (uint32_t i = 0; i < pCreateInfo->subpassCount; i++) { in vk_common_CreateRenderPass() 69 reference_count += pCreateInfo->pSubpasses[i].inputAttachmentCount; in vk_common_CreateRenderPass() 70 reference_count += pCreateInfo->pSubpasses[i].colorAttachmentCount; in vk_common_CreateRenderPass() 71 if (pCreateInfo->pSubpasses[i].pResolveAttachments) in vk_common_CreateRenderPass() 72 reference_count += pCreateInfo->pSubpasses[i].colorAttachmentCount; in vk_common_CreateRenderPass() 73 if (pCreateInfo->pSubpasses[i].pDepthStencilAttachment) in vk_common_CreateRenderPass() 80 pCreateInfo->subpassCount); in vk_common_CreateRenderPass() 82 pCreateInfo->attachmentCount); in vk_common_CreateRenderPass() 84 pCreateInfo->dependencyCount); in vk_common_CreateRenderPass() [all …]
|
D | vk_image.c | 58 const VkImageCreateInfo *pCreateInfo) in vk_image_init() argument 62 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO); in vk_image_init() 63 assert(pCreateInfo->mipLevels > 0); in vk_image_init() 64 assert(pCreateInfo->arrayLayers > 0); in vk_image_init() 65 assert(pCreateInfo->samples > 0); in vk_image_init() 66 assert(pCreateInfo->extent.width > 0); in vk_image_init() 67 assert(pCreateInfo->extent.height > 0); in vk_image_init() 68 assert(pCreateInfo->extent.depth > 0); in vk_image_init() 70 if (pCreateInfo->flags & VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT) in vk_image_init() 71 assert(pCreateInfo->imageType == VK_IMAGE_TYPE_2D); in vk_image_init() [all …]
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_image.c | 66 const VkImageCreateInfo *pCreateInfo, in panvk_image_create() argument 75 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO); in panvk_image_create() 77 assert(pCreateInfo->mipLevels > 0); in panvk_image_create() 78 assert(pCreateInfo->arrayLayers > 0); in panvk_image_create() 79 assert(pCreateInfo->samples > 0); in panvk_image_create() 80 assert(pCreateInfo->extent.width > 0); in panvk_image_create() 81 assert(pCreateInfo->extent.height > 0); in panvk_image_create() 82 assert(pCreateInfo->extent.depth > 0); in panvk_image_create() 89 image->type = pCreateInfo->imageType; in panvk_image_create() 91 image->vk_format = pCreateInfo->format; in panvk_image_create() [all …]
|
D | panvk_vX_image.c | 96 const VkImageViewCreateInfo *pCreateInfo, in panvk_per_arch() 101 VK_FROM_HANDLE(panvk_image, image, pCreateInfo->image); in panvk_per_arch() 109 view->pview.format = vk_format_to_pipe_format(pCreateInfo->format); in panvk_per_arch() 111 if (pCreateInfo->subresourceRange.aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT) in panvk_per_arch() 113 else if (pCreateInfo->subresourceRange.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) in panvk_per_arch() 117 pCreateInfo->subresourceRange.levelCount == VK_REMAINING_MIP_LEVELS ? in panvk_per_arch() 118 image->pimage.layout.nr_slices - pCreateInfo->subresourceRange.baseMipLevel : in panvk_per_arch() 119 pCreateInfo->subresourceRange.levelCount; in panvk_per_arch() 121 pCreateInfo->subresourceRange.layerCount == VK_REMAINING_ARRAY_LAYERS ? in panvk_per_arch() 122 image->pimage.layout.array_size - pCreateInfo->subresourceRange.baseArrayLayer : in panvk_per_arch() [all …]
|
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(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_shader.c | 50 const VkShaderModuleCreateInfo *pCreateInfo, in panvk_CreateShaderModule() argument 57 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO); in panvk_CreateShaderModule() 58 assert(pCreateInfo->flags == 0); in panvk_CreateShaderModule() 59 assert(pCreateInfo->codeSize % 4 == 0); in panvk_CreateShaderModule() 62 sizeof(*module) + pCreateInfo->codeSize, in panvk_CreateShaderModule() 67 module->code_size = pCreateInfo->codeSize; in panvk_CreateShaderModule() 68 memcpy(module->code, pCreateInfo->pCode, pCreateInfo->codeSize); in panvk_CreateShaderModule()
|
D | panvk_descriptor_set.c | 43 const VkDescriptorSetLayoutCreateInfo *pCreateInfo, in panvk_CreateDescriptorSetLayout() argument 53 if (pCreateInfo->bindingCount) { in panvk_CreateDescriptorSetLayout() 55 vk_create_sorted_bindings(pCreateInfo->pBindings, in panvk_CreateDescriptorSetLayout() 56 pCreateInfo->bindingCount, in panvk_CreateDescriptorSetLayout() 61 num_bindings = bindings[pCreateInfo->bindingCount - 1].binding + 1; in panvk_CreateDescriptorSetLayout() 65 for (unsigned i = 0; i < pCreateInfo->bindingCount; i++) { in panvk_CreateDescriptorSetLayout() 86 set_layout->flags = pCreateInfo->flags; in panvk_CreateDescriptorSetLayout() 92 for (unsigned i = 0; i < pCreateInfo->bindingCount; i++) { in panvk_CreateDescriptorSetLayout() 188 const VkDescriptorSetLayoutCreateInfo *pCreateInfo, in panvk_GetDescriptorSetLayoutSupport() argument 197 vk_create_sorted_bindings(pCreateInfo->pBindings, in panvk_GetDescriptorSetLayoutSupport() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
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 | 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.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 | VkBufferView.cpp | 21 BufferView::BufferView(const VkBufferViewCreateInfo *pCreateInfo, void *mem) in BufferView() argument 22 : id(pCreateInfo->format) in BufferView() 23 , buffer(vk::Cast(pCreateInfo->buffer)) in BufferView() 24 , format(pCreateInfo->format) in BufferView() 25 , offset(pCreateInfo->offset) in BufferView() 27 if(pCreateInfo->range == VK_WHOLE_SIZE) in BufferView() 33 range = pCreateInfo->range; in BufferView()
|
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 …]
|
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 …]
|
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/ |
D | vkRefUtil.inl | 4 …nstance (const PlatformInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAlloca… 5 …erface& vk, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAlloca… 7 … (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAlloca… 8 …nst DeviceInterface& vk, VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAlloca… 9 … (const DeviceInterface& vk, VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAlloca… 10 …nst DeviceInterface& vk, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAlloca… 11 …(const DeviceInterface& vk, VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAlloca… 12 …st DeviceInterface& vk, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAlloca… 13 … (const DeviceInterface& vk, VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAlloca… 14 …nst DeviceInterface& vk, VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAlloca… [all …]
|
D | vkRefUtilImpl.inl | 207 …eateInstance (const PlatformInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAlloca… argument 210 VK_CHECK(vk.createInstance(pCreateInfo, pAllocator, &object)); 214 …erface& vk, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAlloca… argument 217 VK_CHECK(vk.createDevice(physicalDevice, pCreateInfo, pAllocator, &object)); 228 … (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAlloca… argument 231 VK_CHECK(vk.createFence(device, pCreateInfo, pAllocator, &object)); 235 …nst DeviceInterface& vk, VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAlloca… argument 238 VK_CHECK(vk.createSemaphore(device, pCreateInfo, pAllocator, &object)); 242 … (const DeviceInterface& vk, VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAlloca… argument 245 VK_CHECK(vk.createEvent(device, pCreateInfo, pAllocator, &object)); [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/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/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/freedreno/vulkan/ |
D | tu_image.c | 203 const VkImageViewCreateInfo *pCreateInfo, in tu_image_view_init() argument 206 TU_FROM_HANDLE(tu_image, image, pCreateInfo->image); in tu_image_view_init() 207 const VkImageSubresourceRange *range = &pCreateInfo->subresourceRange; in tu_image_view_init() 208 VkFormat format = pCreateInfo->format; in tu_image_view_init() 209 VkImageAspectFlagBits aspect_mask = pCreateInfo->subresourceRange.aspectMask; in tu_image_view_init() 212 vk_find_struct_const(pCreateInfo->pNext, SAMPLER_YCBCR_CONVERSION_INFO); in tu_image_view_init() 226 if (pCreateInfo->viewType == VK_IMAGE_VIEW_TYPE_3D) { in tu_image_view_init() 231 if (pCreateInfo->viewType == VK_IMAGE_VIEW_TYPE_CUBE || in tu_image_view_init() 232 pCreateInfo->viewType == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY) { in tu_image_view_init() 281 tu6_texswiz(&pCreateInfo->components, conversion, format, aspect_mask, has_z24uint_s8uint) | in tu_image_view_init() [all …]
|
D | tu_descriptor_set.c | 104 const VkDescriptorSetLayoutCreateInfo *pCreateInfo, in tu_CreateDescriptorSetLayout() argument 111 assert(pCreateInfo->sType == in tu_CreateDescriptorSetLayout() 115 pCreateInfo->pNext, in tu_CreateDescriptorSetLayout() 119 pCreateInfo->pNext, in tu_CreateDescriptorSetLayout() 125 for (uint32_t j = 0; j < pCreateInfo->bindingCount; j++) { in tu_CreateDescriptorSetLayout() 126 num_bindings = MAX2(num_bindings, pCreateInfo->pBindings[j].binding + 1); in tu_CreateDescriptorSetLayout() 127 if ((pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in tu_CreateDescriptorSetLayout() 128 pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in tu_CreateDescriptorSetLayout() 129 pCreateInfo->pBindings[j].pImmutableSamplers) { in tu_CreateDescriptorSetLayout() 130 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in tu_CreateDescriptorSetLayout() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_pass.c | 320 const VkRenderPassCreateInfo2KHR* pCreateInfo, in anv_CreateRenderPass2() argument 326 assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR); in anv_CreateRenderPass2() 331 pCreateInfo->subpassCount); in anv_CreateRenderPass2() 333 pCreateInfo->attachmentCount); in anv_CreateRenderPass2() 335 pCreateInfo->subpassCount + 1); in anv_CreateRenderPass2() 338 for (uint32_t i = 0; i < pCreateInfo->subpassCount; i++) { in anv_CreateRenderPass2() 340 num_subpass_attachments2(&pCreateInfo->pSubpasses[i]); in anv_CreateRenderPass2() 352 pass->attachment_count = pCreateInfo->attachmentCount; in anv_CreateRenderPass2() 353 pass->subpass_count = pCreateInfo->subpassCount; in anv_CreateRenderPass2() 357 for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { in anv_CreateRenderPass2() [all …]
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dvx_device.c | 151 const VkSamplerCreateInfo *pCreateInfo, in v3dX() 156 switch (pCreateInfo->borderColor) { in v3dX() 186 if ((pCreateInfo->addressModeU == VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER || in v3dX() 187 pCreateInfo->addressModeV == VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER || in v3dX() 188 pCreateInfo->addressModeW == VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER) && in v3dX() 194 if (pCreateInfo->anisotropyEnable) { in v3dX() 196 if (pCreateInfo->maxAnisotropy > 8) in v3dX() 198 else if (pCreateInfo->maxAnisotropy > 4) in v3dX() 200 else if (pCreateInfo->maxAnisotropy > 2) in v3dX() 216 s.wrap_s = vk_to_v3d_wrap_mode[pCreateInfo->addressModeU]; in v3dX() [all …]
|
D | v3dv_image.c | 248 const VkImageCreateInfo *pCreateInfo, in create_image() argument 254 image = vk_image_create(&device->vk, pCreateInfo, pAllocator, sizeof(*image)); in create_image() 267 VkImageTiling tiling = pCreateInfo->tiling; in create_image() 271 vk_find_struct_const(pCreateInfo->pNext, in create_image() 274 vk_find_struct_const(pCreateInfo->pNext, in create_image() 295 } else if (pCreateInfo->imageType == VK_IMAGE_TYPE_1D || in create_image() 301 v3dv_X(device, get_format)(pCreateInfo->format); in create_image() 304 assert(pCreateInfo->samples == VK_SAMPLE_COUNT_1_BIT || in create_image() 305 pCreateInfo->samples == VK_SAMPLE_COUNT_4_BIT); in create_image() 331 const VkImageCreateInfo *pCreateInfo, in create_image_from_swapchain() argument [all …]
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_buffer_view.h | 75 …zeof_vkCreateBufferView(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAlloca… in vn_sizeof_vkCreateBufferView() argument 82 cmd_size += vn_sizeof_simple_pointer(pCreateInfo); in vn_sizeof_vkCreateBufferView() 83 if (pCreateInfo) in vn_sizeof_vkCreateBufferView() 84 cmd_size += vn_sizeof_VkBufferViewCreateInfo(pCreateInfo); in vn_sizeof_vkCreateBufferView() 95 …mandFlagsEXT cmd_flags, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAlloca… in vn_encode_vkCreateBufferView() argument 103 if (vn_encode_simple_pointer(enc, pCreateInfo)) in vn_encode_vkCreateBufferView() 104 vn_encode_VkBufferViewCreateInfo(enc, pCreateInfo); in vn_encode_vkCreateBufferView() 111 …kCreateBufferView_reply(VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAlloca… in vn_sizeof_vkCreateBufferView_reply() argument 128 …uct vn_cs_decoder *dec, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAlloca… in vn_decode_vkCreateBufferView_reply() argument 199 …mandFlagsEXT cmd_flags, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAlloca… in vn_submit_vkCreateBufferView() argument [all …]
|
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 …]
|