[Mesa-dev] [PATCH 1/4] i965: Make emit_shader_time_write return rather than emit.

2015-02-27 Thread Kenneth Graunke
Instead of emit_shader_time_write, we now do emit(SHADER_TIME_ADD(...)). The advantage is that we can also insert a shader time write at an arbitrary location in the instruction stream, rather than being restricted to emitting at the end. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i

Re: [Mesa-dev] [PATCH 1/4] i965: Make emit_shader_time_write return rather than emit.

2015-02-27 Thread Pohjolainen, Topi
On Fri, Feb 27, 2015 at 12:05:59AM -0800, Kenneth Graunke wrote: > Instead of emit_shader_time_write, we now do emit(SHADER_TIME_ADD(...)). > The advantage is that we can also insert a shader time write at an > arbitrary location in the instruction stream, rather than being > restricted to emitting