Re: [Mesa-dev] [PATCH] st/glsl_to_tgsi: fix dvec[34] loads from SSBO

2016-11-03 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Nov 3, 2016 at 11:04 AM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > 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-s

[Mesa-dev] [PATCH] st/glsl_to_tgsi: fix dvec[34] loads from SSBO

2016-11-03 Thread Nicolai Hähnle
From: Nicolai Hähnle 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 --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 10 -- 1 fil