OSDN Git Service

i965: Stop considering if msrt aux buffers need aux buffer
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 7 Dec 2015 10:05:14 +0000 (12:05 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 12 Feb 2016 07:17:29 +0000 (09:17 +0200)
commit30711d984f2627ce6368bc30c92f2e305a414535
treee94901c7146acf7ddbff421bd781bc515a20d090
parent422b1386d7680f626211a1374075ae74a6ff3e2d
i965: Stop considering if msrt aux buffers need aux buffer

Auxiliary buffers are always created with sample number of zero
which effectively prevents intel_miptree_create_layout() from trying
to associate auxiliary buffers with auxiliary buffers.

Now that there is more direct path available lets start using it
instead and stop even checking for such (im)possibility.

v2 (Ben): Do not signal msaa layout with explicit argument but
          using layout_flags instead.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c