lavapipe: ycbcr regression
Tried running CTS today and got a billion crashes bisected to 32403c69 !24295 (merged)
#0 0x00007ffff788c844 in __pthread_kill_implementation () from /lib64/libc.so.6
#1 0x00007ffff783babe in raise () from /lib64/libc.so.6
#2 0x00007ffff782487f in abort () from /lib64/libc.so.6
#3 0x00007ffff782479b in __assert_fail_base.cold () from /lib64/libc.so.6
#4 0x00007ffff7834147 in __assert_fail () from /lib64/libc.so.6
#5 0x00007fffeee19f49 in lower_ycbcr_tex_instr (b=0x7fffffffa520, instr=0xfaedf08, _state=0x7fffffffa5c0) at ../src/vulkan/runtime/vk_nir_convert_ycbcr.c:322
#6 0x00007fffeee1876a in nir_shader_instructions_pass (shader=0x92e65d0, pass=0x7fffeee19e81 <lower_ycbcr_tex_instr>, preserved=3, cb_data=0x7fffffffa5c0)
at ../src/compiler/nir/nir_builder.h:106
#7 0x00007fffeee1a5d9 in nir_vk_lower_ycbcr_tex (nir=0x92e65d0, cb=0x7fffef097952 <lvp_ycbcr_conversion_lookup>, cb_data=0x9336720)
at ../src/vulkan/runtime/vk_nir_convert_ycbcr.c:455
#8 0x00007fffef098cb0 in lvp_shader_lower (pdevice=0x4e83220, pipeline=0x0, nir=0x92e65d0, shader=0x9376510, layout=0x9336720)
at ../src/gallium/frontends/lavapipe/lvp_pipeline.c:433
#9 0x00007fffef09c8b4 in create_shader_object (device=0x4e83220, pCreateInfo=0x9355940, pAllocator=0x0)
at ../src/gallium/frontends/lavapipe/lvp_pipeline.c:1289
#10 0x00007fffef09cb5c in lvp_CreateShadersEXT (_device=0x4e83220, createInfoCount=2, pCreateInfos=0x93558e0, pAllocator=0x0, pShaders=0x92d35a0)
at ../src/gallium/frontends/lavapipe/lvp_pipeline.c:1324
#11 0x0000000003d62a0a in vk::DeviceDriver::createShadersEXT(vk::VkDevice_s*, unsigned int, vk::VkShaderCreateInfoEXT const*, vk::VkAllocationCallbacks const*, vk::Handle<(vk::HandleType)39>*) const ()
#12 0x0000000003e6124f in vk::GraphicsPipelineWrapper::createShaders(bool, bool) ()
#13 0x0000000003e658d9 in vk::GraphicsPipelineWrapper::buildPipeline(vk::Handle<(vk::HandleType)24>, vk::Handle<(vk::HandleType)12>, int, vk::PointerWrapper<vk::VkPipelineCreationFeedbackCreateInfo>, void*) ()
#14 0x0000000001a622dc in vkt::pipeline::ImageSamplingInstance::setup() ()
#15 0x0000000001a635b3 in vkt::pipeline::ImageSamplingInstance::iterate() ()
#16 0x00000000015fa648 in vkt::TestCaseExecutor::iterate(tcu::TestCase*) ()
#17 0x0000000004590bf4 in tcu::TestSessionExecutor::iterateTestCase(tcu::TestCase*) ()
#18 0x000000000458f80e in tcu::TestSessionExecutor::iterate() ()
#19 0x0000000004551a06 in tcu::App::iterate() ()
#20 0x00000000015a490d in main ()
pick one:
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d_array.format.r8g8b8a8_snorm.count_1.size.13x13_array_of_6: Crash: See "new-run/c1.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.1d.format.r8g8_sint.count_1.size.128x1: Crash: See "new-run/c55.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.sampler.view_type.1d_array.format.r32_sfloat.mag_reduce.comp_identity_zero_zero_zero.min: Crash: See "new-run/c7.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d_array.format.r8g8_uint.count_1.size.23x8_array_of_3: Crash: See "new-run/c9.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d_array.format.r32g32b32a32_sfloat.count_1.size.23x8_array_of_6: Crash: See "new-run/c22.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.1d_array.format.r8_snorm.count_8.size.512x1_array_of_6: Crash: See "new-run/c13.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d_array.format.b5g5r5a1_unorm_pack16.count_1.size.23x8_array_of_3: Crash: See "new-run/c0.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.3d.format.r16g16b16a16_unorm.count_1.size.2x2x2: Crash: See "new-run/c29.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.1d.format.r8_snorm.count_1.size.2x1: Crash: See "new-run/c42.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.1d.format.r5g6b5_unorm_pack16.count_1.size.13x1: Crash: See "new-run/c32.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.1d_array.format.r5g6b5_unorm_pack16.count_1.size.3x1_array_of_3: Crash: See "new-run/c18.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.3d.format.r5g5b5a1_unorm_pack16.count_8.size.17x11x5: Crash: See "new-run/c4.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.cube_array.format.r5g6b5_unorm_pack16.count_4.size.32x32_array_of_36: Crash: See "new-run/c62.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.2d_array.format.b10g11r11_ufloat_pack32.count_1.size.3x3_array_of_6: Crash: See "new-run/c27.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.3d.format.r16g16_sfloat.count_4.size.11x11x11: Crash: See "new-run/c54.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.2d.format.a4b4g4r4_unorm_pack16.count_1.size.32x16: Crash: See "new-run/c28.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d_array.format.r16g16_uint.count_1.size.32x32_array_of_3: Crash: See "new-run/c8.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.1d.format.r8g8_snorm.count_1.size.127x1: Crash: See "new-run/c34.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d.format.r32g32b32_sint.count_1.size.1x1: Crash: See "new-run/c37.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.sampler.view_type.1d_array.format.r8_unorm.address_modes.uvw_mode_clamp_to_edge_mode_repeat_mode_mirror_clamp_to_edge: Crash: See "new-run/c40.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d.format.r8g8_snorm.count_4.size.13x23: Crash: See "new-run/c19.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.1d_array.format.r8_uint.count_4.size.443x1_array_of_6: Crash: See "new-run/c45.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.1d_array.format.r16g16_unorm.count_1.size.32x1_array_of_6: Crash: See "new-run/c11.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.sampler.view_type.2d.format.r32g32_sfloat.address_modes.uvw_mode_clamp_to_border_mode_mirror_clamp_to_edge_mode_repeat: Crash: See "new-run/c31.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.sampler.border_swizzle.r16g16b16a16_snorm.gbar.transparent_black.gather_0.with_swizzle_hint: Crash: See "new-run/c5.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.sampler.view_type.1d_unnormalized.format.r16_sfloat.mag_filter.nearest: Crash: See "new-run/c41.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d.format.r8_sint.count_1.size.3x3: Crash: See "new-run/c60.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d_array.format.r16g16b16a16_snorm.count_1.size.3x3_array_of_3: Crash: See "new-run/c47.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.3d.format.r16_snorm.count_4.size.11x11x11: Crash: See "new-run/c30.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.1d_array.format.r8g8_sint.count_1.size.13x1_array_of_3: Crash: See "new-run/c52.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.1d.format.r8g8b8a8_snorm.count_1.size.127x1: Crash: See "new-run/c53.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.1d_array.format.r16g16_unorm.count_1.size.443x1_array_of_6: Crash: See "new-run/c24.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.1d.format.r8g8_uint.count_1.size.512x1: Crash: See "new-run/c59.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.sampler.view_type.1d_array.format.r16_sfloat.address_modes.uvw_mode_mirror_clamp_to_edge_mode_clamp_to_edge_mode_mirror_clamp_to_edge: Crash: See "new-run/c25.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.sampler.view_type.1d_array.format.r32_sint.address_modes.all_mode_mirrored_repeat: Crash: See "new-run/c20.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d_array.format.r16g16_uint.count_1.size.32x16_array_of_3: Crash: See "new-run/c10.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.1d_array.format.r8g8b8a8_sint.count_1.size.13x1_array_of_6: Crash: See "new-run/c12.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.combined.view_type.2d_array.format.r32g32b32_sfloat.count_1.size.13x13_array_of_6: Crash: See "new-run/c2.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.image.suballocation.sampling_type.separate.view_type.1d_array.format.r32_sint.count_1.size.443x1_array_of_6: Crash: See "new-run/c14.r1.log"
ERROR - Test dEQP-VK.pipeline.shader_object_unlinked_binary.sampler.view_type.1d_array.format.r5g6b5_unorm_pack16.address_modes.uvw_mode_repeat_mode_mirrored_repeat_mode_clamp_to_border: Crash: See "new-run/c51.r1.log"