summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_context.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-12-16 15:42:55 -0800
committerEric Anholt <eric@anholt.net>2009-12-22 14:20:27 -0800
commitcb3810dd19760797e699c47929f655b829c4d339 (patch)
tree5e488a5f8c8ad3a42f6669aec8611dad2ebad291 /src/mesa/drivers/dri/i965/brw_context.c
parent0b87f143c466f7e5bd730895ee29f1cd20a68f9b (diff)
intel: Replace IS_965 checks with context structure usage.
Saves another 600 bytes or so of code.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 282566f8d5..d8af2c512b 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -163,11 +163,10 @@ GLboolean brwCreateContext( const __GLcontextModes *mesaVis,
brw->CMD_PIPELINE_SELECT = CMD_PIPELINE_SELECT_GM45;
brw->has_surface_tile_offset = GL_TRUE;
brw->has_compr4 = GL_TRUE;
+ brw->has_aa_line_parameters = GL_TRUE;
} else {
brw->CMD_VF_STATISTICS = CMD_VF_STATISTICS_965;
brw->CMD_PIPELINE_SELECT = CMD_PIPELINE_SELECT_965;
- brw->has_surface_tile_offset = GL_FALSE;
- brw->has_compr4 = GL_FALSE;
}
/* WM maximum threads is number of EUs times number of threads per EU. */
@@ -183,6 +182,7 @@ GLboolean brwCreateContext( const __GLcontextModes *mesaVis,
brw->urb.size = 256;
brw->vs_max_threads = 16;
brw->wm_max_threads = 8 * 4;
+ brw->has_negative_rhw_bug = GL_TRUE;
}
if (INTEL_DEBUG & DEBUG_SINGLE_THREAD) {