Re: [Mesa-dev] [PATCH] i965/vs: Fix debug dumping of VS push constants.

2012-10-22 Thread Eric Anholt
Kenneth Graunke writes: > While copying the values into the batch space, we advance the param > pointer. The debug code then tries to iterate over all the uploaded > values, starting at param...which is now the end of the uploaded data, > rather than the start. > > This patch saves a pointer to

[Mesa-dev] [PATCH] i965/vs: Fix debug dumping of VS push constants.

2012-10-21 Thread Kenneth Graunke
While copying the values into the batch space, we advance the param pointer. The debug code then tries to iterate over all the uploaded values, starting at param...which is now the end of the uploaded data, rather than the start. This patch saves a pointer to the start of push constant space befo