diff options
author | Matt Turner <[email protected]> | 2014-06-15 11:15:30 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-06-26 11:46:24 -0700 |
commit | fa1a3b2e3c2bdb358423ef960edddce3e3014ce6 (patch) | |
tree | b6ba9fd234dfc81cbe9e78425db9f470878d1358 | |
parent | a25401bc9a1930b466a435febb2bc26dffe5693d (diff) |
i965: Add is_cherryview flag to brw_context.
Signed-off-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index cfb0be0648e..4e97159a98a 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -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; diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index eda79f07741..c68167f848a 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -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; |