freedreno/a6xx: assert(state->view_rsc_seqno[i] == seqno) failed with sway
IRC reported assert with sway on a690:
#0 0x0000ffffaa062790 in () at /usr/lib/libc.so.6
#1 0x0000ffffaa01b6fc in raise () at /usr/lib/libc.so.6
#2 0x0000ffffaa0078b0 in abort () at /usr/lib/libc.so.6
#3 0x0000ffffaa014bcc in () at /usr/lib/libc.so.6
#4 0x0000ffffaa014c30 in __assert_perror_fail () at /usr/lib/libc.so.6
#5 0x0000ffffa84e2410 in fd6_texture_state(fd_context*, pipe_shader_type) (ctx=0xaaaaf16730c0, type=MESA_SHADER_FRAGMENT) at ../src/gallium/drivers/freedreno/a6xx/fd6_texture.cc:760
#6 0x0000ffffa84c391c in tex_state (type=MESA_SHADER_FRAGMENT, ctx=0xaaaaf16730c0) at ../src/gallium/drivers/freedreno/a6xx/fd6_emit.cc:63
#7 fd6_emit_3d_state(fd_ringbuffer*, fd6_emit*) (ring=0xaaaaf25ef3b0, emit=<optimized out>) at ../src/gallium/drivers/freedreno/a6xx/fd6_emit.cc:664
#8 0x0000ffffa84becf8 in fd6_draw_vbos(fd_context*, pipe_draw_info const*, unsigned int, pipe_draw_indirect_info const*, pipe_draw_start_count_bias const*, unsigned int, unsigned int)
(ctx=0xaaaaf16730c0, info=0xffff9c0b4538, drawid_offset=<optimized out>, indirect=0x0, draws=0xfffff7058320, num_draws=1, index_offset=0) at ../src/gallium/drivers/freedreno/a6xx/fd6_draw.cc:347
#9 0x0000ffffa846c240 in fd_draw_vbo (pctx=0xaaaaf16730c0, info=0xffff9c0b4538, drawid_offset=0, indirect=0x0, draws=0xfffff7058320, num_draws=1) at ../src/gallium/drivers/freedreno/freedreno_draw.c:387
#10 0x0000ffffa835d6ec in tc_call_draw_single (pipe=<optimized out>, call=0xffff9c0b4530, last_ptr=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:3735
#11 0x0000ffffa8355d30 in batch_execute (parsing=false, last=0xffff9c0b4558, pipe=0xaaaaf16730c0, batch=0xffff9c0b4290) at ../src/gallium/auxiliary/util/u_threaded_context.c:394
#12 tc_batch_execute (job=job@entry=0xffff9c0b4290, gdata=gdata@entry=0x0, thread_index=thread_index@entry=0) at ../src/gallium/auxiliary/util/u_threaded_context.c:445
#13 0x0000ffffa8359cf0 in _tc_sync (tc=tc@entry=0xffff9c09a010, func=<optimized out>, info=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:680
#14 0x0000ffffa835ec2c in tc_flush (_pipe=0xffff9c09a010, fence=0x0, flags=0) at ../src/gallium/auxiliary/util/u_threaded_context.c:3583
#15 0x0000ffffa7e3d11c in st_flush (flags=0, fence=0x0, st=0xaaaaf16e2a60) at ../src/mesa/state_tracker/st_cb_flush.c:63
#16 st_glFlush (ctx=<optimized out>, gallium_flush_flags=0) at ../src/mesa/state_tracker/st_cb_flush.c:99
#17 0x0000ffffaa2bbafc in () at /usr/lib/libwlroots.so.11
#18 0x0000ffffaa2e9dd0 in () at /usr/lib/libwlroots.so.11
#19 0x0000ffffaa2e9a9c in wlr_output_commit () at /usr/lib/libwlroots.so.11
#20 0x0000aaaadf5fd0a4 in ()
#21 0x0000aaaadf5f9468 in ()
#22 0x0000aaaadf5fa298 in ()
#23 0x0000ffffaa3b97e4 in wl_signal_emit_mutable () at /usr/lib/libwayland-server.so.0
#24 0x0000ffffaa2cc1f8 in () at /usr/lib/libwlroots.so.11
#25 0x0000ffffa964f990 in drmHandleEvent () at /usr/lib/libdrm.so.2
#26 0x0000ffffaa2cde6c in () at /usr/lib/libwlroots.so.11
#27 0x0000ffffaa3bc000 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#28 0x0000ffffaa3b9094 in wl_display_run () at /usr/lib/libwayland-server.so.0
#29 0x0000aaaadf5e78f4 in ()
#30 0x0000ffffaa007b80 in () at /usr/lib/libc.so.6
#31 0x0000ffffaa007c60 in __libc_start_main () at /usr/lib/libc.so.6
#32 0x0000aaaadf5e7bb0 in ()
maybe similar to #8816 (closed) but sampler view and texture format are both PIPE_FORMAT_B8G8R8A8_UNORM
so we shouldn't have had to do a resolve..