i965/vec4: fix pack_uniform_registers for doubles
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 29 Jun 2016 08:49:47 +0000 (10:49 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
commitbdf5498c6b7870c14139279e76f1e4b281bed2cd
tree9b76a81582cc895323f5be23f0fa5c58499fd607
parent23278a75ce06c3c083892b2a20d9efdf794167d6
i965/vec4: fix pack_uniform_registers for doubles

We need to consider the fact that dvec3/4 require two vec4 slots.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp