swr/rast: bypass size limit for non-sampled textures
authorAlok Hota <alok.hota@intel.com>
Thu, 21 Feb 2019 20:41:15 +0000 (14:41 -0600)
committerAlok Hota <alok.hota@intel.com>
Fri, 22 Feb 2019 23:35:11 +0000 (23:35 +0000)
commit6053499f2eafde606b13a9663016e9be8e4089eb
tree00c8204a67a445a9ea5433357c2b3d015cea9c51
parentb326a15edab34d09e7b328dd8726137960ae12a5
swr/rast: bypass size limit for non-sampled textures

This fixes a bug where SWR will fail to render in cases with large
buffer allocations, e.g. very large meshes whose vertex buffers exceed
2GB

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/swr_screen.cpp