zink: more explicitly track/check rp optimizing per-context
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 5 Apr 2023 15:35:53 +0000 (11:35 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Apr 2023 12:29:56 +0000 (12:29 +0000)
commit215beee16d9e075a63fd1afc62cc00b28aae1086
treee1ed371c2aa705db997ad0c3a4861a2e700bf861
parent2c78cbbfe15e215f0d60f1aa3ffce17eb60fd8a7
zink: more explicitly track/check rp optimizing per-context

if tc creation fails for whatever reason, rp optimizing must be
marked as disabled for that context to avoid erroneous assumptions
about rp operation

fixes #8787

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22319>
src/gallium/drivers/zink/zink_batch.c
src/gallium/drivers/zink/zink_clear.c
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_render_pass.c
src/gallium/drivers/zink/zink_types.h