xref: /aosp_15_r20/external/mesa3d/src/gallium/drivers/zink/ci/zink-anv-tgl-validation-settings.txt (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1# Please include a comment with the log message and a testcase triggering each
2# VUID at the bottom of the file.
3khronos_validation.message_id_filter = VUID-VkPhysicalDeviceProperties2-pNext-pNext,VUID-VkDeviceCreateInfo-pNext-pNext,UNASSIGNED-CoreValidation-Shader-InconsistentSpirv,VUID-vkDestroyDevice-device-00378,VUID-VkShaderModuleCreateInfo-pCode-01377,VUID-RuntimeSpirv-Location-06272,VUID-VkGraphicsPipelineCreateInfo-renderPass-06590,VUID-VkGraphicsPipelineCreateInfo-Geometry-07725,VUID-vkCmdDrawMultiIndexedEXT-format-07753,UNASSIGNED-CoreValidation-Shader-InterfaceTypeMismatch,VUID-RuntimeSpirv-OpEntryPoint-07754,VUID-VkShaderModuleCreateInfo-pCode-01379,VUID-RuntimeSpirv-OpEntryPoint-08743,VUID-VkGraphicsPipelineCreateInfo-topology-00737,VUID-VkGraphicsPipelineCreateInfo-pStages-00736,VUID-vkCmdCopyImage-srcImage-07743,VUID-vkCmdDrawMultiIndexedEXT-format-07753,VUID-vkCmdDrawMultiEXT-pDepthAttachment-06181,VUID-vkCmdDrawMultiEXT-pStencilAttachment-06182,VUID-vkCmdDrawMultiIndexedEXT-pDepthAttachment-06181,VUID-vkCmdDrawMultiIndexedEXT-pStencilAttachment-06182,VUID-vkDestroyDevice-device-05137,VUID-vkCmdDrawMultiEXT-Input-08734,VUID-RuntimeSpirv-OpVariable-08746
4khronos_validation.report_flags = error
5khronos_validation.debug_action = VK_DBG_LAYER_ACTION_LOG_MSG,VK_DBG_LAYER_ACTION_BREAK
6VK_LAYER_ENABLES=VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT
7khronos_validation.printf_buffer_size = 40960
8khronos_validation.printf_to_stdout = true
9khronos_validation.log_filename = stdout
10
11# VUID-VkPhysicalDeviceProperties2-pNext-pNext
12# VUID-VkDeviceCreateInfo-pNext-pNext
13# never error due to unrecognized extensions
14
15# KHR-Single-GL46.enhanced_layouts.xfb_struct_explicit_location:
16# [ UNASSIGNED-CoreValidation-Shader-InconsistentSpirv ] Object 0: handle =
17# 0x556fd2b6e190, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x6bbb14 | SPIR-V
18# module not valid: The Component Type of Vector 1 must be the same as ResultType.
19
20# Intermittent, probably the end of a caselist so not tied to a specific known test:
21# [ VUID-vkDestroyDevice-device-00378 ] Object 0: handle = 0x55c458362820, type =
22# VK_OBJECT_TYPE_DEVICE; Object 1: handle = 0x2a7f70000000053, type =
23# VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT; | MessageID = 0x71500fba | OBJ ERROR : For
24# VkDevice 0x55c458362820[], VkDescriptorSetLayout 0x2a7f70000000053[] has not
25# been destroyed. The Vulkan spec states: All child objects created on device must
26# have been destroyed prior to destroying device
27# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)
28
29# KHR-Single-GL46.enhanced_layouts.xfb_struct_explicit_location:
30# [ VUID-VkShaderModuleCreateInfo-pCode-01377 ] Object 0: handle =
31# 0x563a677573b0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x5821254b | SPIR-V
32# module not valid: The Component Type of Vector 1 must be the same as ResultType.
33#   %142 = OpVectorShuffle %v2uint %141 %141 0 1
34#  The Vulkan spec states: pCode must point to either valid SPIR-V code, formatted and packed as described by the Khronos SPIR-V Specification or valid GLSL code which must be written to the GL_KHR_vulkan_glsl extension specification (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-01377)
35
36# KHR-GL46.geometry_shader.limits.max_output_components
37# [ VUID-RuntimeSpirv-Location-06272 ] Object 0: handle = 0x3a6cbb0000000025,
38# type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID = 0xa3614f8b | Invalid Pipeline
39# CreateInfo State: Fragment shader exceeds
40# VkPhysicalDeviceLimits::maxFragmentInputComponents of 116 components by 4
41# components The Vulkan spec states: The sum of Location and the number of
42# locations the variable it decorates consumes must be less than or equal to the
43# value for the matching {ExecutionModel} defined in Shader Input and Output
44# Locations
45# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-RuntimeSpirv-Location-06272)
46
47# KHR-GL46.gpu_shader_fp64.builtin.roundeven_dvec4:
48# [ VUID-VkGraphicsPipelineCreateInfo-renderPass-06590 ] Object 0: handle =
49# 0x5647ce5e6ac0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xd835f001 |
50# vkCreateGraphicsPipelines(): pCreateInfos[0] does contains fragment shader state
51# and no fragment output state, pDepthStencilState does not point to a valid
52# VkPipelineDepthStencilStateCreateInfo struct. The Vulkan spec states: If
53# renderPass is VK_NULL_HANDLE and the pipeline is being created with fragment
54# shader state but not fragment output interface state, pDepthStencilState must be
55# a valid pointer to a valid VkPipelineDepthStencilStateCreateInfo structure
56# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-renderPass-06590)
57
58# KHR-GL46.shader_image_size.basic-nonMS-gs-float:
59# [ VUID-VkGraphicsPipelineCreateInfo-Geometry-07725 ] Object 0: handle =
60# 0xa4ad110000039145, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID =
61# 0x64e29d24 | vkCreateGraphicsPipelines(): shaderTessellationAndGeometryPointSize
62# is enabled, but PointSize is not written in the Geometry shader. The Vulkan spec
63# states: If the pipeline is being created with a Geometry {ExecutionModel}, uses
64# the OutputPoints {ExecutionMode}, and shaderTessellationAndGeometryPointSize is
65# enabled, a PointSize decorated variable must be written to
66# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-Geometry-07725)
67
68# KHR-GL46.sample_variables.mask.rgba8i.samples_8.mask_3:
69# [ VUID-vkCmdDrawMultiIndexedEXT-format-07753 ] Object 0: handle =
70# 0x535b660000000043, type = VK_OBJECT_TYPE_DESCRIPTOR_SET; | MessageID =
71# 0xd35852d3 | vkCmdDrawMultiIndexedEXT: Descriptor set VkDescriptorSet
72# 0x535b660000000043[] in binding #128 index 0 requires SINT component type, but
73# bound descriptor format is VK_FORMAT_R8G8B8A8_UNORM (VkImageView
74# 0x9638f80000000036[]). The Vulkan spec states: If a VkImageView is accessed as a
75# result of this command, then the image view's format must match the numeric
76# format from the Sampled Type operand of the OpTypeImage as described in the
77# SPIR-V Sampled Type column of the Interpretation of Numeric Format table
78# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkCmdDrawMultiIndexedEXT-format-07753)
79
80# KHR-Single-GL46.enhanced_layouts.varying_locations:
81# [ UNASSIGNED-CoreValidation-Shader-InterfaceTypeMismatch ] Object 0: handle =
82# 0x5eb05e000000003b, type = VK_OBJECT_TYPE_SHADER_MODULE; | MessageID =
83# 0xb6cf33fe | Type mismatch on location 0.0, between geometry shader and fragment
84# shader: 'ptr to Output vec2 of uint64' vs 'ptr to Input struct of (vec4 of
85# float32, vec4 of float32)'
86
87# KHR-Single-GL46.enhanced_layouts.varying_locations
88# [ VUID-RuntimeSpirv-OpEntryPoint-07754 ]
89# vkCreateGraphicsPipelines(): pCreateInfos[0] Type mismatch on Location 0 Component 0, between
90# VK_SHADER_STAGE_GEOMETRY_BIT stage:
91# pointer to Output ->
92#	vec2 of 	uint64
93# VK_SHADER_STAGE_FRAGMENT_BIT stage:
94# pointer to Input ->
95#	struct of {
96#		vec4 of 		float32
97#		vec4 of 		float32
98#	}
99# The Vulkan spec states: Any user-defined variables between the OpEntryPoint
100# of two shader stages must have the same type and width for each Component
101# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-RuntimeSpirv-OpEntryPoint-07754)
102
103# KHR-Single-GL46.enhanced_layouts.xfb_struct_explicit_location
104# [ VUID-VkShaderModuleCreateInfo-pCode-01379 ]
105# SPIR-V module not valid: The Component Type of Vector 1 must be the same as ResultType.
106#   %142 = OpVectorShuffle %v2uint %141 %141 0 1
107
108# KHR-Single-GL46.enhanced_layouts.varying_locations
109#
110# VUID-RuntimeSpirv-OpEntryPoint-08743(ERROR / SPEC): msgNum: -1986897773 -
111# Validation Error: [ VUID-RuntimeSpirv-OpEntryPoint-08743 ]
112# vkCreateGraphicsPipelines(): pCreateInfos[0] VK_SHADER_STAGE_FRAGMENT_BIT declared input at
113# Location 1 Comonent 2 but it is not an Output declared in VK_SHADER_STAGE_VERTEX_BIT
114# The Vulkan spec states: Any user-defined variables shared between the OpEntryPoint of two shader stages,
115# and declared with Input as its {StorageClass} for the subsequent shader stage,
116# must have all Location slots and Component words declared in the preceding shader stage's
117# OpEntryPoint with Output as the {StorageClass}
118# (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-RuntimeSpirv-OpEntryPoint-08743)
119#
120# VVL bug https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/5735
121
122
123# VUID-VkGraphicsPipelineCreateInfo-pStages-00736
124# VUID-VkGraphicsPipelineCreateInfo-topology-00737
125# spec bug https://gitlab.khronos.org/vulkan/vulkan/-/merge_requests/5916
126
127
128# VUID-vkCmdCopyImage-srcImage-07743
129# spec bug
130
131# VUID-vkCmdDrawMultiIndexedEXT-format-07753
132# KHR-GL46.shader_ballot_tests.ShaderBallotFunctionBallot
133# https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/4488
134
135
136# VUID-vkCmdDrawMultiEXT-pDepthAttachment-06181
137# VUID-vkCmdDrawMultiEXT-pStencilAttachment-06182
138# VUID-vkCmdDrawMultiIndexedEXT-pDepthAttachment-06181
139# VUID-vkCmdDrawMultiIndexedEXT-pStencilAttachment-06182
140# spec issue
141
142
143# VUID-vkDestroyDevice-device-05137
144# some kind of bug
145
146# VUID-vkCmdDrawMultiEXT-Input-08734
147# not sure if cts bug...
148# KHR-GL46.direct_state_access.vertex_arrays_attribute_format
149
150# VUID-RuntimeSpirv-OpVariable-08746
151# VVL issue https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/8014
152