OSDN Git Service

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)
committerAndres Gomez <agomez@igalia.com>
Wed, 6 Sep 2017 15:05:09 +0000 (18:05 +0300)
commit371d75334ca411c49f2b2389efa61afa0603c862
treea71aae013765affa3af8bcb0e62a97e9c7f08f87
parent70f7f60f0cfe37fffb458aae09d3854eba0c5a27
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
(cherry picked from commit ae53bff8b13b433ca79904dfbda7264eb7188fa7)
src/mesa/state_tracker/st_glsl_to_tgsi.cpp