mesa: reduce the size of gl_viewport_attrib
authorMarek Olšák <marek.olsak@amd.com>
Thu, 16 Nov 2017 00:46:40 +0000 (01:46 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 13 Feb 2018 00:00:45 +0000 (01:00 +0100)
commita7882013d3e788a76cce638704c02b7bea0e67a1
treec4205060362d8f7e8ac9d82254eea6c2822d570d
parentd7550d783abc9a7bcfeee34aea2f03d2fc9db69a
mesa: reduce the size of gl_viewport_attrib

All drivers convert these to float, so there is no reason to use double.
The piglit test that expects double precision from glGet will be adjusted
not to require it (there is a piglit patch).

gl_context::ViewportArray: 512 -> 384 bytes

Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/common/meta.h
src/mesa/main/mtypes.h