OSDN Git Service

i965: Don't fill buffer with zeroes.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 4 Mar 2013 19:38:28 +0000 (11:38 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 6 Mar 2013 16:27:54 +0000 (08:27 -0800)
commit492693c0a5d653b95ab4a970fdc5bba074050243
tree8b654ecfa25512285cf918374ad589f3bb30e311
parent89e5c8e0fa0f7ec6e1dc0d1ee269c164fd1cf3b0
i965: Don't fill buffer with zeroes.

This was only necessary because our bounds checking was off by one, and
thus we read an extra pair of values.

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