st/glsl_to_tgsi: fix dvec[34] loads from SSBO
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 3 Nov 2016 10:00:36 +0000 (11:00 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 4 Nov 2016 09:31:02 +0000 (10:31 +0100)
commite4b378800eff13752dcfe1f5c6b640444208d543
tree419a50fba6a57722cd75b7a3048a71a910a9c416
parentaef7eb4cacbb241dc895f3e08dba4c91052a98a8
st/glsl_to_tgsi: fix dvec[34] loads from SSBO

When splitting up loads, we have to add 16 bytes to the offset for
the high components, just like already happens for stores.

Fixes arb_gpu_shader_fp64@shader_storage@layout-std140-fp64-shader.

Cc: 13.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp