i965: Enable native ETC texture support on Broadwell.

Broadwell, like Baytrail, has native ETC texture support.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke 2013-12-19 15:15:01 -08:00
parent fa772aa92b
commit 8618407d15

View file

@ -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;