summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_context.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-07-06 00:15:44 -0700
committerKenneth Graunke <[email protected]>2013-07-09 14:09:31 -0700
commit794de2f3873bcedc78300b3ba69656adc755894c (patch)
tree381191e3ebf1742f8519177f26a4507231dfcec3 /src/mesa/drivers/dri/i965/intel_context.c
parent44fd490067692f0f9c1b5cff86e2e24a915af0c1 (diff)
i965: Move intel_context::is_<platform> flags to brw_context.
Signed-off-by: Kenneth Graunke <[email protected]> Acked-by: Chris Forbes <[email protected]> Acked-by: Paul Berry <[email protected]> Acked-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_context.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c
index c1a7e0c32f5..a3c1042e5f8 100644
--- a/src/mesa/drivers/dri/i965/intel_context.c
+++ b/src/mesa/drivers/dri/i965/intel_context.c
@@ -487,12 +487,12 @@ intelInitContext(struct brw_context *brw,
intel->gt = 0;
if (IS_HASWELL(devID)) {
- intel->is_haswell = true;
+ brw->is_haswell = true;
} else if (IS_BAYTRAIL(devID)) {
- intel->is_baytrail = true;
+ brw->is_baytrail = true;
intel->gt = 1;
} else if (IS_G4X(devID)) {
- intel->is_g4x = true;
+ brw->is_g4x = true;
}
brw->has_separate_stencil = brw->intelScreen->hw_has_separate_stencil;