Re: [Mesa-dev] [PATCH] i965: Use memcpy instead of an assignment when storing uniforms

2014-08-08 Thread Kenneth Graunke
On Friday, August 08, 2014 02:56:53 PM Eric Anholt wrote: > Roland Scheidegger writes: > > > Am 08.08.2014 22:56, schrieb Neil Roberts: > >> The i965 driver uses a float pointer to point to the value of a uniform and > >> also as the destination within the batch buffer. However the same locations

Re: [Mesa-dev] [PATCH] i965: Use memcpy instead of an assignment when storing uniforms

2014-08-08 Thread Eric Anholt
Roland Scheidegger writes: > Am 08.08.2014 22:56, schrieb Neil Roberts: >> The i965 driver uses a float pointer to point to the value of a uniform and >> also as the destination within the batch buffer. However the same locations >> can also be used to store values for integer uniforms. Previousl

Re: [Mesa-dev] [PATCH] i965: Use memcpy instead of an assignment when storing uniforms

2014-08-08 Thread Roland Scheidegger
Am 08.08.2014 22:56, schrieb Neil Roberts: > The i965 driver uses a float pointer to point to the value of a uniform and > also as the destination within the batch buffer. However the same locations > can also be used to store values for integer uniforms. Previously the value > was being copied int

Re: [Mesa-dev] [PATCH] i965: Use memcpy instead of an assignment when storing uniforms

2014-08-08 Thread Ian Romanick
On 08/08/2014 01:56 PM, Neil Roberts wrote: > The i965 driver uses a float pointer to point to the value of a uniform and > also as the destination within the batch buffer. However the same locations > can also be used to store values for integer uniforms. Previously the value > was being copied in

[Mesa-dev] [PATCH] i965: Use memcpy instead of an assignment when storing uniforms

2014-08-08 Thread Neil Roberts
The i965 driver uses a float pointer to point to the value of a uniform and also as the destination within the batch buffer. However the same locations can also be used to store values for integer uniforms. Previously the value was being copied into the batch buffer with a regular assignment. This