i965: Add is_cherryview flag to brw_context.

Signed-off-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Matt Turner 2014-06-15 11:15:30 -07:00 committed by Kenneth Graunke
parent a25401bc9a
commit fa1a3b2e3c
2 changed files with 2 additions and 0 deletions

View file

@ -616,6 +616,7 @@ brwCreateContext(gl_api api,
brw->is_g4x = devinfo->is_g4x;
brw->is_baytrail = devinfo->is_baytrail;
brw->is_haswell = devinfo->is_haswell;
brw->is_cherryview = devinfo->is_cherryview;
brw->has_llc = devinfo->has_llc;
brw->has_hiz = devinfo->has_hiz_and_separate_stencil;
brw->has_separate_stencil = devinfo->has_hiz_and_separate_stencil;

View file

@ -1088,6 +1088,7 @@ struct brw_context
bool is_g4x;
bool is_baytrail;
bool is_haswell;
bool is_cherryview;
bool has_hiz;
bool has_separate_stencil;