Revert "intel/isl: Only create a CCS buffer if the image supports rendering"
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 5 Jul 2017 18:42:00 +0000 (11:42 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 7 Jul 2017 21:24:58 +0000 (14:24 -0700)
commit753a7bbc8454a0cf957f17c88d2b4677b1cf36f0
tree91a357502c36d399b168e75a8b21b6dfd32d2642
parent9ac55e8219e1f6abeab3c779c8fe710c2bc25f2b
Revert "intel/isl: Only create a CCS buffer if the image supports rendering"

This reverts commit 8aaa13467dc289d35dc7900ab9fab9a7689c4178, which was
based on an incorrect assumption. Unlike the restriction placed on image
views in the Vulkan API, OpenGL allows you to render to texture views
whose formats differ from the originals.

Bugzilla: https://bugzilla.freedesktop.org/show_bug.cgi?id=101677
src/intel/isl/isl.c