Re: [Mesa-dev] [PATCH] st/mesa: cache tgsi opcode info in the instruction

2015-08-27 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Aug 27, 2015 at 2:02 AM, Dave Airlie wrote: > From: Dave Airlie > > Instead of looking this up lots, lets just cache it in the instruction > translation up front. I just noticed this function what high in a profile > of shader-db on radeonsi. > > Signed-o

[Mesa-dev] [PATCH] st/mesa: cache tgsi opcode info in the instruction

2015-08-26 Thread Dave Airlie
From: Dave Airlie Instead of looking this up lots, lets just cache it in the instruction translation up front. I just noticed this function what high in a profile of shader-db on radeonsi. Signed-off-by: Dave Airlie --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 39 --