Home
last modified time | relevance | path

Searched refs:create_info (Results 1 – 13 of 13) sorted by relevance

/external/vulkan-validation-layers/tests/
Dvktestbinding.h335 static VkFenceCreateInfo create_info(VkFenceCreateFlags flags);
336 static VkFenceCreateInfo create_info();
346 static VkSemaphoreCreateInfo create_info(VkFlags flags);
363 static VkEventCreateInfo create_info(VkFlags flags);
376 static VkQueryPoolCreateInfo create_info(VkQueryType type, uint32_t slot_count);
390 … &dev, VkDeviceSize size, VkMemoryPropertyFlags mem_props) { init(dev, create_info(size, 0), mem_p… in init()
394 init(dev, create_info(size, VK_BUFFER_USAGE_TRANSFER_SRC_BIT, queue_families), reqs);
398 init(dev, create_info(size, VK_BUFFER_USAGE_TRANSFER_DST_BIT, queue_families), reqs);
402 …init(dev, create_info(size, VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT, q…
416 const VkBufferCreateInfo &create_info() const { return create_info_; } in create_info() function
[all …]
Dvkrenderframework.cpp1032 VkImageCreateInfo imageCreateInfo = vk_testing::Image::create_info(); in InitNoLayout()
1082 void VkImageObj::init(const VkImageCreateInfo *create_info) { in init() argument
1084 vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), create_info->format, &image_fmt); in init()
1086 switch (create_info->tiling) { in init()
1088 if (!IsCompatible(create_info->usage, image_fmt.optimalTilingFeatures)) { in init()
1090 … << create_info->usage << ", supported optimal features: " << image_fmt.optimalTilingFeatures; in init()
1094 if (!IsCompatible(create_info->usage, image_fmt.linearTilingFeatures)) { in init()
1096 … << create_info->usage << ", supported linear features: " << image_fmt.linearTilingFeatures; in init()
1102 Layout(create_info->initialLayout); in init()
1104 vk_testing::Image::init(*m_device, *create_info, 0); in init()
[all …]
Dlayer_validation_tests.cpp2913 auto image_ci = vk_testing::Image::create_info(); in TEST_F()
5695 …eate(ErrorMonitor *error_monitor, const VkDevice device, const VkRenderPassCreateInfo *create_info, in TestRenderPassCreate() argument
5702 err = vkCreateRenderPass(device, create_info, nullptr, &render_pass); in TestRenderPassCreate()
5711 ConvertVkRenderPassCreateInfoToV2KHR(create_info, &create_info2); in TestRenderPassCreate()
7640 fence.init(*m_device, VkFenceObj::create_info()); in TEST_F()
11935 …const VkBufferCreateInfo bad_buffer_info = VkBufferObj::create_info(resource_size, VK_BUFFER_USAGE… in TEST_F()
11960 …const VkBufferCreateInfo buffer_info = VkBufferObj::create_info(resource_size, VK_BUFFER_USAGE_UNI… in TEST_F()
11966 buff_view_ci.offset = buffer.create_info().size; in TEST_F()
11999 VkBufferObj::create_info(resource_size, VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT); in TEST_F()
13854 VkPipelineCacheCreateInfo create_info{}; in TEST_F() local
[all …]
Dvkrenderframework.h265 void init(const VkImageCreateInfo *create_info);
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp370 …const debug_report_data *report_data, const VkDescriptorSetLayoutCreateInfo *create_info, const bo… in ValidateCreateInfo() argument
379 …reate_info = lvl_find_in_chain<VkDescriptorSetLayoutBindingFlagsCreateInfoEXT>(create_info->pNext); in ValidateCreateInfo()
381 …const bool push_descriptor_set = !!(create_info->flags & VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESC… in ValidateCreateInfo()
390 …const bool update_after_bind_set = !!(create_info->flags & VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_… in ValidateCreateInfo()
407 for (uint32_t i = 0; i < create_info->bindingCount; ++i) { in ValidateCreateInfo()
408 const auto &binding_info = create_info->pBindings[i]; in ValidateCreateInfo()
443 …if (flags_create_info->bindingCount != 0 && flags_create_info->bindingCount != create_info->bindin… in ValidateCreateInfo()
448 create_info->bindingCount, flags_create_info->bindingCount); in ValidateCreateInfo()
451 if (flags_create_info->bindingCount == create_info->bindingCount) { in ValidateCreateInfo()
452 for (uint32_t i = 0; i < create_info->bindingCount; ++i) { in ValidateCreateInfo()
[all …]
Dvk_layer_logging.h606 … const VkDebugUtilsMessengerCreateInfoEXT *create_info, in layer_create_messenger_callback() argument
618 pNewDbgFuncNode->messenger.pfnUserCallback = create_info->pfnUserCallback; in layer_create_messenger_callback()
619 pNewDbgFuncNode->messenger.messageSeverity = create_info->messageSeverity; in layer_create_messenger_callback()
620 pNewDbgFuncNode->messenger.messageType = create_info->messageType; in layer_create_messenger_callback()
621 pNewDbgFuncNode->pUserData = create_info->pUserData; in layer_create_messenger_callback()
623 debug_data->active_severities |= create_info->messageSeverity; in layer_create_messenger_callback()
624 debug_data->active_types |= create_info->messageType; in layer_create_messenger_callback()
657 … const VkDebugReportCallbackCreateInfoEXT *create_info, in layer_create_report_callback() argument
670 pNewDbgFuncNode->report.pfnMsgCallback = create_info->pfnCallback; in layer_create_report_callback()
671 pNewDbgFuncNode->report.msgFlags = create_info->flags; in layer_create_report_callback()
[all …]
Dgpu_validation.cpp312 …CallRecordCreateDevice(VkPhysicalDevice gpu, std::unique_ptr<safe_VkDeviceCreateInfo> &create_info, in GpuPreCallRecordCreateDevice() argument
316 if (create_info->pEnabledFeatures) { in GpuPreCallRecordCreateDevice()
317 new_features = *create_info->pEnabledFeatures; in GpuPreCallRecordCreateDevice()
321 delete create_info->pEnabledFeatures; in GpuPreCallRecordCreateDevice()
322 create_info->pEnabledFeatures = new VkPhysicalDeviceFeatures(new_features); in GpuPreCallRecordCreateDevice()
542 VkShaderModuleCreateInfo create_info = {}; in GpuPreCallRecordCreateGraphicsPipelines() local
544 create_info.sType = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO; in GpuPreCallRecordCreateGraphicsPipelines()
545 create_info.pCode = shader->words.data(); in GpuPreCallRecordCreateGraphicsPipelines()
546 create_info.codeSize = shader->words.size() * sizeof(uint32_t); in GpuPreCallRecordCreateGraphicsPipelines()
547 …VkResult result = GetDispatchTable()->CreateShaderModule(GetDevice(), &create_info, pAllocator, &s… in GpuPreCallRecordCreateGraphicsPipelines()
Dbuffer_validation.cpp335 IMAGE_STATE *image_state = GetImageState(view_state->create_info.image); in SetImageViewLayout()
336 VkImageSubresourceRange sub_range = view_state->create_info.subresourceRange; in SetImageViewLayout()
340 …if ((image_state->createInfo.imageType == VK_IMAGE_TYPE_3D) && (view_state->create_info.viewType !… in SetImageViewLayout()
483 const VkImage &image = view_state->create_info.image; in VerifyFramebufferAndRenderPassLayouts()
484 const VkImageSubresourceRange &subRange = view_state->create_info.subresourceRange; in VerifyFramebufferAndRenderPassLayouts()
526 auto image = view_state->create_info.image; in VerifyFramebufferAndRenderPassLayouts()
541 auto image = view_state->create_info.image; in VerifyFramebufferAndRenderPassLayouts()
561 auto image = view_state->create_info.image; in VerifyFramebufferAndRenderPassLayouts()
1199 const VkImageCreateInfo *create_info) { in ValidateCreateImageANDROID() argument
1202 …nalFormatANDROID *ext_fmt_android = lvl_find_in_chain<VkExternalFormatANDROID>(create_info->pNext); in ValidateCreateImageANDROID()
[all …]
Dcore_validation_types.h274 VkBufferViewCreateInfo create_info;
275 …IEW_STATE(VkBufferView bv, const VkBufferViewCreateInfo *ci) : buffer_view(bv), create_info(*ci){};
345 VkImageViewCreateInfo create_info;
348 : image_view(iv), create_info(*ci), samplerConversion(VK_NULL_HANDLE) {
349 auto *conversionInfo = lvl_find_in_chain<VkSamplerYcbcrConversionInfo>(create_info.pNext);
Dcore_validation.h391 … const VkSamplerYcbcrConversionCreateInfo* create_info);
392 …cbcrConversionState(layer_data* device_data, const VkSamplerYcbcrConversionCreateInfo* create_info,
960 const VkImageCreateInfo* create_info);
961 void RecordCreateImageANDROID(const VkImageCreateInfo* create_info, IMAGE_STATE* is_node);
962 … ValidateCreateImageViewANDROID(layer_data* device_data, const VkImageViewCreateInfo* create_info);
970 … const VkSamplerYcbcrConversionCreateInfo* create_info);
971 …YcbcrConversionANDROID(layer_data* dev_data, const VkSamplerYcbcrConversionCreateInfo* create_info,
Dcore_validation.cpp347 auto image_state = GetImageState(view_state->create_info.image); in AddCommandBufferBindingImageView()
376 auto buffer_state = GetBufferState(view_state->create_info.buffer); in AddCommandBufferBindingBufferView()
3637 … const VkSamplerYcbcrConversionCreateInfo *create_info) { in ValidateCreateSamplerYcbcrConversionANDROID() argument
3638 …FormatANDROID *ext_format_android = lvl_find_in_chain<VkExternalFormatANDROID>(create_info->pNext); in ValidateCreateSamplerYcbcrConversionANDROID()
3640 if (VK_FORMAT_UNDEFINED != create_info->format) { in ValidateCreateSamplerYcbcrConversionANDROID()
3647 } else if (VK_FORMAT_UNDEFINED == create_info->format) { in ValidateCreateSamplerYcbcrConversionANDROID()
3658 … const VkSamplerYcbcrConversionCreateInfo *create_info, in RecordCreateSamplerYcbcrConversionANDROID() argument
3660 …FormatANDROID *ext_format_android = lvl_find_in_chain<VkExternalFormatANDROID>(create_info->pNext); in RecordCreateSamplerYcbcrConversionANDROID()
3681 … const VkSamplerYcbcrConversionCreateInfo *create_info) { in ValidateCreateSamplerYcbcrConversionANDROID() argument
3688 … const VkSamplerYcbcrConversionCreateInfo *create_info, in RecordCreateSamplerYcbcrConversionANDROID() argument
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_image.c39 const struct radv_image_create_info *create_info) in radv_choose_tiling() argument
41 const VkImageCreateInfo *pCreateInfo = create_info->vk_info; in radv_choose_tiling()
69 const struct radv_image_create_info *create_info) in radv_init_surface() argument
71 const VkImageCreateInfo *pCreateInfo = create_info->vk_info; in radv_init_surface()
72 unsigned array_mode = radv_choose_tiling(device, create_info); in radv_init_surface()
158 create_info->scanout || (device->instance->debug_flags & RADV_DEBUG_NO_DCC) || in radv_init_surface()
161 if (create_info->scanout) in radv_init_surface()
871 const struct radv_image_create_info *create_info, in radv_image_create() argument
876 const VkImageCreateInfo *pCreateInfo = create_info->vk_info; in radv_image_create()
916 if (!vk_format_is_depth(pCreateInfo->format) && !create_info->scanout && !image->shareable) { in radv_image_create()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_image.c513 const struct anv_image_create_info *create_info, in anv_image_create() argument
518 const VkImageCreateInfo *pCreateInfo = create_info->vk_info; in anv_image_create()
560 choose_isl_tiling_flags(create_info, isl_mod_info); in anv_image_create()
566 r = make_surface(device, image, create_info, isl_tiling_flags, in anv_image_create()