intel/blorp_blit: Enable splitting large blorp blits
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 7 Nov 2016 22:07:07 +0000 (14:07 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 7 Dec 2016 17:00:49 +0000 (09:00 -0800)
commitda381ae6475dfd35f1ab8c6063b4dce368ef7588
tree438af0dc02b880432722cca2778e892e95889b6e
parentefea8e724458f6a388fb70421db3e655719fffb0
intel/blorp_blit: Enable splitting large blorp blits

Detect when the surface sizes are too large for a blorp blit. When it
is too large, the blorp blit will be split into a smaller operation
and attempted again.

For gen7, this fixes the cts test:

ES3-CTS.gtf.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_multisampled_to_singlesampled_blit

It will also enable us to increase our renderable size from 8k x 8k to
16k x 16k.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/blorp/blorp_blit.c