i965: Initialize batchbuffer and state modules before extensions.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 26 Oct 2013 05:44:19 +0000 (22:44 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 31 Oct 2013 18:04:37 +0000 (11:04 -0700)
commit46d3c2bf4ddd227193b98861f1e632498fe547d8
tree2755c4de315566627a9e83191748ead9b7aa17db
parent82a5ee6be4b4f5881d86f18d4b002d23c9e18ea5
i965: Initialize batchbuffer and state modules before extensions.

We only want to enable ARB_transform_feedback2 if we can write to
registers from batchbuffers.  In order to test that, we need to be able
to submit batches.  And for batches to work, we need to program the
initial pipeline state (like PIPELINE_SELECT), which is done from
brw_state_init().

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_context.c