mesa/main: Fix multisample texture initialize
authorIllia Iorin <illia.iorin@globallogic.com>
Thu, 28 Feb 2019 10:33:50 +0000 (12:33 +0200)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 5 Apr 2019 00:28:10 +0000 (11:28 +1100)
commita113a42e7369a4e43a1db1c9a7a35a3f7175615e
treea52e4b3fba7fe49a9550d53fdfd397f73e067107
parenta7d40a13ec39df5c1e18c2afaf70988958c11933
mesa/main: Fix multisample texture initialize

Sampler of Multisample textures wasn't initialized correct. So when
texture object created as  multisample its sampler is initialized in a
individual case. We change the initial state of TEXTURE_MIN_FILTER and
TEXTURE_MAG_FILTER to NEAREST.
These changes are approved by KhronosGroup.
https://github.com/KhronosGroup/OpenGL-API/issues/45

Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com>
Signed-off-by: Illia Iorin <illia.iorin@globallogic.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109057
src/mesa/main/texobj.c