Re: [Mesa-dev] [PATCH 2/2] i965: Use a variable for the push constant size in kB.

2013-04-04 Thread Paul Berry
On 2 April 2013 21:11, Kenneth Graunke wrote: > This clarifies that the offset of 2 is actually 16 kB / 8kB units. > It also keys both computations off of a single variable, which should > make it easier to change in the future. > > Signed-off-by: Kenneth Graunke > This series is: Reviewed-by:

[Mesa-dev] [PATCH 2/2] i965: Use a variable for the push constant size in kB.

2013-04-02 Thread Kenneth Graunke
This clarifies that the offset of 2 is actually 16 kB / 8kB units. It also keys both computations off of a single variable, which should make it easier to change in the future. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen7_urb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 d