st/glsl_to_tgsi: handle different attrib size
authorDave Airlie <airlied@redhat.com>
Sat, 19 Dec 2015 04:43:18 +0000 (14:43 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 31 Dec 2015 23:43:54 +0000 (09:43 +1000)
commitd214ce86cf0d5f5bd0135f1558194391e72501d0
treed1317063ea89a85766fa4c6dbb3b2dc42e6af7cd
parentdc7b33c1f372c835ce91afa0350c0bffe00c344e
st/glsl_to_tgsi: handle different attrib size

vertex inputs are counted differently in some cases, with
vertex inputs we need to make sure we don't double count them.

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