iris: Set clear_color_unknown if the bo is not mappable
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 16 May 2022 17:47:15 +0000 (10:47 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 21 Jul 2022 20:27:10 +0000 (20:27 +0000)
commit7cf67e9da3e97a6832ea2580bc0a683e5a8b0c15
treed74da7759bd0a9e5acc001beb1de21512418e9c6
parent180aa4f3b214b7da3ca23976c27ada4a07bac411
iris: Set clear_color_unknown if the bo is not mappable

Rework:
 * Ken: Check bo for IRIS_MMAP_NONE rather than the global
   intel_vram_all_mappable

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17349>
src/gallium/drivers/iris/iris_resource.c