st/glsl_to_tgsi: fix a corner case of std140 layout in uniform buffers
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 13 Oct 2016 07:54:02 +0000 (09:54 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 17 Oct 2016 17:09:39 +0000 (19:09 +0200)
commit9d6f82320c8a7f0df10f0b7868d966be907e6b21
treebf7ee5412bcc936c17530831573e8aa8f6c473aa
parent57a15142037e3eea3581a6c690b8e8e93729b5b3
st/glsl_to_tgsi: fix a corner case of std140 layout in uniform buffers

See the comment in the code for an explanation. This fixes
GL45-CTS.buffer_storage.map_persistent_draw.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp