i965: Add is_cherryview flag to brw_context.
authorMatt Turner <mattst88@gmail.com>
Sun, 15 Jun 2014 18:15:30 +0000 (11:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 26 Jun 2014 18:46:24 +0000 (11:46 -0700)
Signed-off-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h

index cfb0be0648e397f2add0b50ace0d31e16eede092..4e97159a98ac7f8f05df4736265b358c6c962823 100644 (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;
index eda79f077418f00a02eae4ece198b106ed4c6db1..c68167f848aa7b89f41fbd00a3174b61084ec356 100644 (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;