From 33edda7d975f2cbf7ba86ba0f300dcadf087fb9b Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Mon, 16 Feb 2015 02:27:37 -0500 Subject: st/mesa: pass etc2 textures to driver if supported MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the driver actually supports ETC2, don't decode it in software. Signed-off-by: Ilia Mirkin Reviewed-by: Marek Olšák --- src/mesa/state_tracker/st_context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/state_tracker/st_context.h') diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index 20d56786444..b091a8856dc 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -93,6 +93,7 @@ struct st_context boolean has_time_elapsed; boolean has_shader_model3; boolean has_etc1; + boolean has_etc2; boolean prefer_blit_based_texture_transfer; boolean needs_texcoord_semantic; -- cgit v1.2.3