i965/vec4: Optimize unpackUnorm4x8().
authorMatt Turner <mattst88@gmail.com>
Sun, 9 Mar 2014 01:29:33 +0000 (17:29 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 26 Nov 2014 01:29:02 +0000 (17:29 -0800)
commitbf686b2785c63116ab4ab7e62eb77be51b97d346
treed0891e7ddfa76ebd56db3e95fcaffa3a2236340b
parentcb0ba848d4176c1ed2c4542fd5875867f460fc3b
i965/vec4: Optimize unpackUnorm4x8().

Reduces the number of instructions needed to implement unpackUnorm4x8()
from 11 -> 4.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp