Re: [Mesa-dev] [PATCH 4/7] i965: Replace opencoding of brw_load_register_imm32

2016-12-09 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 09/12/16 10:54, Chris Wilson wrote: There are a few open coded setting of single registers using MI_LOAD_REGISTER_IMM, replace those with a call to brw_load_register_imm32(). Signed-off-by: Chris Wilson --- src/mesa/drivers/dri/i965/brw_draw.c | 6

[Mesa-dev] [PATCH 4/7] i965: Replace opencoding of brw_load_register_imm32

2016-12-09 Thread Chris Wilson
There are a few open coded setting of single registers using MI_LOAD_REGISTER_IMM, replace those with a call to brw_load_register_imm32(). Signed-off-by: Chris Wilson --- src/mesa/drivers/dri/i965/brw_draw.c | 6 +- src/mesa/drivers/dri/i965/brw_state_upload.c | 13 + sr