diff options
author | Kenneth Graunke <[email protected]> | 2013-12-19 15:15:01 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-01-14 00:58:17 -0800 |
commit | 8618407d15ead94358ccd691f598ca1c76c46385 (patch) | |
tree | fa2e2ceb2e9f47beaedae412b8ee69965935e9a2 /src | |
parent | fa772aa92baf659855f69829fa3f0d0f4fcbc2a6 (diff) |
i965: Enable native ETC texture support on Broadwell.
Broadwell, like Baytrail, has native ETC texture support.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index 0818226f3c4..ea929d4e83f 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -501,7 +501,7 @@ intel_miptree_create(struct brw_context *brw, gl_format etc_format = MESA_FORMAT_NONE; GLuint total_width, total_height; - if (!brw->is_baytrail) { + if (brw->gen < 8 && !brw->is_baytrail) { switch (format) { case MESA_FORMAT_ETC1_RGB8: format = MESA_FORMAT_RGBX8888_REV; |