st/glsl_to_tgsi: setup writemask for double arrays and matricies.
authorDave Airlie <airlied@redhat.com>
Sat, 19 Dec 2015 04:43:14 +0000 (14:43 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 31 Dec 2015 23:43:53 +0000 (09:43 +1000)
commit7351c7684f75704dfef82a25177e6c5284d8bb0a
tree7aecef88be81816450cd1207e2c6f150637739f3
parent14506dcae20d89ae9380c7a4f1843586c59db16d
st/glsl_to_tgsi: setup writemask for double arrays and matricies.

It's important for the double instruction emission code that
the writemasks are correct going in for double so it know
which channels to replicate.

This fixes it for the array and matrix cases.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp