From 1db3cebcbd300d3a0f07229c99c423324eef8fef Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 6 Feb 2017 19:48:46 -0800 Subject: 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 Reviewed-by: Kenneth Graunke Cc: "17.0 13.0" (cherry picked from commit c59d1ea51bd0809761094e54c66bf3a200d964ff) --- src/mesa/drivers/dri/i965/brw_state.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers/dri/i965/brw_state.h') diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index 36307c7ef90..4b7e3c2966f 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -335,6 +335,7 @@ void brw_emit_sampler_state(struct brw_context *brw, unsigned wrap_s, unsigned wrap_t, unsigned wrap_r, + unsigned base_level, unsigned min_lod, unsigned max_lod, int lod_bias, -- cgit v1.2.3