swr: Bump maximum 2D texture size to 16kx16k
authorjzielins <jan.zielinski@intel.com>
Wed, 29 Jul 2020 11:27:00 +0000 (13:27 +0200)
committerjzielins <jan.zielinski@intel.com>
Mon, 3 Aug 2020 11:46:51 +0000 (13:46 +0200)
commit26dd8f80453fdd9b9c34509b52c6c888416cee0b
tree8696e4bbb593a0645dd49ae3d16c0eed7e131439
parent99cf9108340c2ccf7c1b05ec6f951e2e91b9c76c
swr: Bump maximum 2D texture size to 16kx16k

This may be required by some applications, even though
not all texture formats will be below 2GB limit.

This change also increases the maximum size of render target,
that was inadvertently lowered some time ago.

Reviewed-by: Krzysztof Raszkowski <krzysztof.raszkowski@intel.com>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6139>
src/gallium/drivers/swr/rasterizer/core/knobs.h
src/gallium/drivers/swr/swr_screen.cpp