i965: Ensure that all 2101010 image imports can pass framebuffer completeness.
authorMiguel Casas-Sanchez <miguelecasassanchez@gmail.com>
Tue, 19 Nov 2019 02:21:12 +0000 (02:21 +0000)
committerEric Anholt <eric@anholt.net>
Tue, 19 Nov 2019 02:21:12 +0000 (02:21 +0000)
commitb1969585749fd9f0975427c47582995749137b2c
tree655a8e70b61c32a494973ee78a6b3ce45696b4f1
parent1468a4f1f3a2e4c98c5d857a636233c356922807
i965: Ensure that all 2101010 image imports can pass framebuffer completeness.

Chrome OS would like to import and render to any supported format that has
a corresponding display plane format, and this prevents throwing
framebuffer incomplete for FBOs using these textures.

See: crbug.com/949260

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/intel_tex_image.c