Home
last modified time | relevance | path

Searched refs:formatProps (Results 1 – 25 of 47) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_AMD_texture_gather_bias_lod.txt59 VkImageFormatProperties2 formatProps;
73 formatProps.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2;
74 formatProps.pNext = &textureLODGatherSupport;
76 vkGetPhysicalDeviceImageFormatProperties2(physical_device, &formatInfo, &formatProps);
DVK_AMD_texture_gather_bias_lod.adoc61 VkImageFormatProperties2 formatProps;
75 formatProps.sType = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2;
76 formatProps.pNext = &textureLODGatherSupport;
78 vkGetPhysicalDeviceImageFormatProperties2(physical_device, &formatInfo, &formatProps);
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
DMemoryServiceDmaBuf.cpp41 VkFormatProperties2 formatProps; in GetModifierPlaneCount() local
42 formatProps.sType = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2; in GetModifierPlaneCount()
43 formatProps.pNext = &formatModifierPropsList; in GetModifierPlaneCount()
45 fn.GetPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProps); in GetModifierPlaneCount()
51 fn.GetPhysicalDeviceFormatProperties2(physicalDevice, format, &formatProps); in GetModifierPlaneCount()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineLogicOpTests.cpp57 VkFormatProperties formatProps; in isSupportedColorAttachmentFormat() local
58 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedColorAttachmentFormat()
63 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT); in isSupportedColorAttachmentFormat()
DvktPipelineStencilExportTests.cpp223 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
225 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
227 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
DvktPipelineStencilTests.cpp63 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
65 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
67 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
DvktPipelineAttachmentFeedbackLoopLayoutTests.cpp1754 VkFormatProperties formatProps; in checkSupport() local
1759 …e.getPhysicalDeviceFormatProperties(context.getPhysicalDevice(), params.imageFormat, &formatProps); in checkSupport()
1761 (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT ) == 0u || in checkSupport()
1762 (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_TRANSFER_SRC_BIT ) == 0u || in checkSupport()
1763 (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_TRANSFER_DST_BIT ) == 0u || in checkSupport()
1764 (formatProps.optimalTilingFeatures & attachmentFormatFeature ) == 0u; in checkSupport()
DvktPipelineDepthTests.cpp72 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
74 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
76 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0u; in isSupportedDepthStencilFormat()
DvktPipelineDepthRangeUnrestrictedTests.cpp130 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
132 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
134 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0u; in isSupportedDepthStencilFormat()
DvktPipelineVertexInputTests.cpp68 VkFormatProperties formatProps; in isSupportedVertexFormat() local
69 deMemset(&formatProps, 0, sizeof(VkFormatProperties)); in isSupportedVertexFormat()
70 …ceInterface().getPhysicalDeviceFormatProperties(context.getPhysicalDevice(), format, &formatProps); in isSupportedVertexFormat()
72 return (formatProps.bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT) != 0u; in isSupportedVertexFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineLogicOpTests.cpp57 VkFormatProperties formatProps; in isSupportedColorAttachmentFormat() local
58 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedColorAttachmentFormat()
63 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT); in isSupportedColorAttachmentFormat()
DvktPipelineStencilExportTests.cpp223 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
225 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
227 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
DvktPipelineStencilTests.cpp63 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
65 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
67 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
DvktPipelineAttachmentFeedbackLoopLayoutTests.cpp1754 VkFormatProperties formatProps; in checkSupport() local
1759 …e.getPhysicalDeviceFormatProperties(context.getPhysicalDevice(), params.imageFormat, &formatProps); in checkSupport()
1761 (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT ) == 0u || in checkSupport()
1762 (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_TRANSFER_SRC_BIT ) == 0u || in checkSupport()
1763 (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_TRANSFER_DST_BIT ) == 0u || in checkSupport()
1764 (formatProps.optimalTilingFeatures & attachmentFormatFeature ) == 0u; in checkSupport()
DvktPipelineDepthTests.cpp72 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
74 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
76 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0u; in isSupportedDepthStencilFormat()
DvktPipelineDepthRangeUnrestrictedTests.cpp130 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
132 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
134 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0u; in isSupportedDepthStencilFormat()
DvktPipelineVertexInputTests.cpp68 VkFormatProperties formatProps; in isSupportedVertexFormat() local
69 deMemset(&formatProps, 0, sizeof(VkFormatProperties)); in isSupportedVertexFormat()
70 …ceInterface().getPhysicalDeviceFormatProperties(context.getPhysicalDevice(), format, &formatProps); in isSupportedVertexFormat()
72 return (formatProps.bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT) != 0u; in isSupportedVertexFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsTransientAttachmentTests.cpp113 VkFormatProperties formatProps; in getSupportedStencilFormat() local
114 instanceInterface.getPhysicalDeviceFormatProperties(physDevice, sFormat, &formatProps); in getSupportedStencilFormat()
116 if ((formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0) in getSupportedStencilFormat()
DvktFragmentOperationsOcclusionQueryTests.cpp217 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
218 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
219 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
DvktFragmentOperationsTransientAttachmentTests.cpp113 VkFormatProperties formatProps; in getSupportedStencilFormat() local
114 instanceInterface.getPhysicalDeviceFormatProperties(physDevice, sFormat, &formatProps); in getSupportedStencilFormat()
116 if ((formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0) in getSupportedStencilFormat()
DvktFragmentOperationsOcclusionQueryTests.cpp217 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
218 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
219 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_KHR_video_decode_queue.adoc398 VkVideoFormatPropertiesKHR* formatProps = NULL;
404 formatProps = calloc(formatCount, sizeof(VkVideoFormatPropertiesKHR));
406 formatProps.sType = VK_STRUCTURE_TYPE_VIDEO_FORMAT_PROPERTIES_KHR;
408 vkGetPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, &formatInfo, &formatCount, formatProps);
414 free(formatProps);
426 formatProps = calloc(formatCount, sizeof(VkVideoFormatPropertiesKHR));
428 formatProps.sType = VK_STRUCTURE_TYPE_VIDEO_FORMAT_PROPERTIES_KHR;
430 vkGetPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, &formatInfo, &formatCount, formatProps);
436 free(formatProps);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
DvktDynamicStateDiscardTests.cpp72 VkFormatProperties formatProps; in pickSupportedStencilFormat() local
73 instanceInterface.getPhysicalDeviceFormatProperties(device, stencilFormats[i], &formatProps); in pickSupportedStencilFormat()
75 if ((formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0) in pickSupportedStencilFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateDiscardTests.cpp72 VkFormatProperties formatProps; in pickSupportedStencilFormat() local
73 instanceInterface.getPhysicalDeviceFormatProperties(device, stencilFormats[i], &formatProps); in pickSupportedStencilFormat()
75 if ((formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0) in pickSupportedStencilFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingWatertightnessTests.cpp268 …const auto formatProps = getPhysicalDeviceImageFormatProperties(vki, physDev, format, getImageType… in checkSupport() local
269 const auto& maxExtent = formatProps.maxExtent; in checkSupport()

12