intel: Add decode for gen7 state pointers.
authorEric Anholt <eric@anholt.net>
Wed, 4 Jan 2012 20:23:42 +0000 (12:23 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 27 Jan 2012 21:21:20 +0000 (13:21 -0800)
commit938df6be489cb66c2f90043a8ced9834765e4e8e
tree724e4f1d9cc0bf7ad32c4ef088787f7c60e53459
parent6a0b25e66b5515b3831db272211c337bcbdfb39a
intel: Add decode for gen7 state pointers.

Since CC_STATE_POINTERS for gen6 and 7 are quite different but use the
same opcode, move gen6 out to a helper function too, so we can use a
helper function for gen7.
intel/intel_decode.c
intel/tests/gen7-3d.batch-ref.txt