i965/sampler_state: Set the "Base Mip Level" field on Sandy Bridge
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Feb 2017 03:48:46 +0000 (19:48 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 13 Feb 2017 01:56:32 +0000 (17:56 -0800)
commitc59d1ea51bd0809761094e54c66bf3a200d964ff
tree1c0180103cb8ad599d43535d26b42cd1bdc4f62d
parentc4f8f395b291a88eb74b07b90a4028ef4f026f58
i965/sampler_state: Set the "Base Mip Level" field on Sandy Bridge

Fixes two GL ES 3.0 CTS tests on Sandy Bridge:

ES3-CTS.functional.texture.mipmap.cube.base_level.linear_linear
ES3-CTS.functional.texture.mipmap.cube.base_level.linear_nearest

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "17.0 13.0" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/brw_sampler_state.c
src/mesa/drivers/dri/i965/brw_state.h