diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2016-12-23 18:41:15 -0800 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2016-12-23 18:41:15 -0800 |
commit | c8a7107988ebd54d49fc1a714131c5c095581aff (patch) | |
tree | a70a902df6f1736f4ae8a396ec307fcf871ad6ca | |
parent | 88b5acfa09d4efa2aea1fc9cc4f8169a48c40286 (diff) |
intel/blorp_blit: Fix max blit size for gen6snb-blit
Fixes ES3-CTS.gtf.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_stencil_blit
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r-- | src/intel/blorp/blorp_blit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index 8abe3a810a..1cbd9403c9 100644 --- a/src/intel/blorp/blorp_blit.c +++ b/src/intel/blorp/blorp_blit.c @@ -1522,10 +1522,11 @@ static unsigned get_max_surface_size(const struct gen_device_info *devinfo, const struct blorp_params *params) { + const unsigned max = devinfo->gen >= 7 ? 16384 : 8192; if (split_blorp_blit_debug && can_shrink_surfaces(params)) - return 16384 >> 4; /* A smaller restriction when debug is enabled */ + return max >> 4; /* A smaller restriction when debug is enabled */ else - return 16384; + return max; } struct blt_axis { |