OSDN Git Service

intel: fix length mask for Gen5/Gen6 3DSTATE_CLEAR_PARAMS
authorChris Forbes <chrisf@ijw.co.nz>
Mon, 28 Jan 2013 08:01:18 +0000 (08:01 +0000)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 6 Feb 2013 19:20:05 +0000 (11:20 -0800)
commit20c5607b57da113ca1a29caaa5a52eaf83808dff
tree2a840291a2dd52d504d8172cdf014663d8a740f0
parent3b5cc135424f3b8d6b79fb409fe9b4ffc4855333
intel: fix length mask for Gen5/Gen6 3DSTATE_CLEAR_PARAMS

On Gen6, bit 15 is now `Depth Clear Value Valid`. This was being treated
as part of the length, and failing the rest of the batchbuffer decode.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
intel/intel_decode.c