i965/vec4: Optimize packSnorm4x8().
authorMatt Turner <mattst88@gmail.com>
Mon, 10 Mar 2014 21:11:05 +0000 (14:11 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 26 Nov 2014 01:29:02 +0000 (17:29 -0800)
commit70fcd565388354da5a3c96d8a265e4d0b5ad7292
treec1ef5eb43d13a2dca6c56dc4afb31660319daa03
parent3532be76805e79993bc6f684876586c189ec605b
i965/vec4: Optimize packSnorm4x8().

Reduces the number of instructions needed to implement packSnorm4x8()
from 13 -> 7.
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