Re: [Mesa-dev] [PATCH] i965/vs: fix unit mismatch in base_offset.

2012-10-01 Thread Kenneth Graunke
On 09/30/2012 10:08 PM, Kenneth Graunke wrote: > On 09/20/2012 07:06 PM, Paul Berry wrote: >> Callers of emit_scratch_{read,write}() pass a base_offset that is >> measured in bytes, but emit_scratch_{read,write}() was assuming it was >> measured in multiples of a complete register. As a result, a

Re: [Mesa-dev] [PATCH] i965/vs: fix unit mismatch in base_offset.

2012-09-30 Thread Kenneth Graunke
On 09/20/2012 07:06 PM, Paul Berry wrote: > Callers of emit_scratch_{read,write}() pass a base_offset that is > measured in bytes, but emit_scratch_{read,write}() was assuming it was > measured in multiples of a complete register. As a result, a shader > using a scratch read/write offset greater t

[Mesa-dev] [PATCH] i965/vs: fix unit mismatch in base_offset.

2012-09-20 Thread Paul Berry
Callers of emit_scratch_{read,write}() pass a base_offset that is measured in bytes, but emit_scratch_{read,write}() was assuming it was measured in multiples of a complete register. As a result, a shader using a scratch read/write offset greater than zero (in practice, a shader containing more th