st/mesa: fix handling of vertex array double inputs
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 27 Aug 2017 04:41:05 +0000 (00:41 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 28 Aug 2017 13:07:40 +0000 (09:07 -0400)
commitae53bff8b13b433ca79904dfbda7264eb7188fa7
tree0ecd34021a80c6e1ca151d87cdc18aa92e29c334
parenteefeff09a784eb139cbf682b98926c0eaa00eb21
st/mesa: fix handling of vertex array double inputs

The is_double_vertex_input needs to be set for arrays of doubles as
well.

Fixes KHR-GL45.enhanced_layouts.varying_array_locations

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/state_tracker/st_glsl_to_tgsi.cpp