mesa/st: try to block multisampled texsubimage from doing cpu writes
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 17 Apr 2023 17:01:08 +0000 (13:01 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 21 Apr 2023 13:21:46 +0000 (13:21 +0000)
commitc29359a008d4436b10649dc62faf475d7f529ca9
tree8a0385cc25ce65cb98d90ea00d23b7850ff3d322
parent56840e4c895bcad6c498230c7a633760208122d9
mesa/st: try to block multisampled texsubimage from doing cpu writes

this is only hit when populating multisampled fallback textures, so
don't assert if it fails since some drivers are able to handle it

d3d12 can't, however, and this should be enough to work around that issue

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22492>
src/mesa/state_tracker/st_cb_texture.c