commit | 74553240301c60e3520fb55e09391993dac28f5d | [log] [tgz] |
---|---|---|
author | Iago Toral Quiroga <itoral@igalia.com> | Tue Sep 29 13:34:20 2015 +0200 |
committer | Iago Toral Quiroga <itoral@igalia.com> | Thu Oct 01 09:25:30 2015 +0200 |
tree | b91ccec67b2c36f6b46ab0442204155d3ac849f3 | |
parent | ca2e16d26ec46e604c76ab72d3ec14a7a8643cc8 [diff] |
main: Fix block index when mixing UBO and SSBO blocks Since we store both in UniformBlocks, we can't just compute the index by subtracting the array address start, we need to count the number of buffers of the approriate type. v2: - Just fall back to calc_resource_index (Tapani) Reviewed-by: Tapani Pälli <tapani.palli@intel.com>