commit | d2719b6e4f6bdbbd29ac66903d3d9dad9bd01386 | [log] [tgz] |
---|---|---|
author | Iago Toral Quiroga <itoral@igalia.com> | Wed Jul 08 15:59:05 2015 +0200 |
committer | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | Fri Sep 25 08:39:22 2015 +0200 |
tree | 975a6fd92363fb76510d830f9ce5dd199be2491c | |
parent | da659087b9620805c155c3954f560995ed96d5b4 [diff] |
glsl: lower SSBO atomic intrinsics The first argument to SSBO atomics is a reference to a SSBO buffer variable so we want to compute its block index and offset and provide these values to an internal version of the intrinsic that takes them instead of the buffer variable reference. v2: - Support single components of integer vectors to be passed in as arguments. - Get interface packing information from interface's type. Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>