commit | 09f01215933f8f7f8d3d4cda9ff94605164df9a9 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | Mon Apr 11 13:03:12 2016 -0700 |
committer | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | Tue Apr 12 14:38:26 2016 -0700 |
tree | d07b03f54339d4d7ecb43d5d6783deb6f9048e88 | |
parent | 8ab6aae4dcecba4e77f6777606e92cf2c2f1f83e [diff] |
glsl/linker: Pass absolute location to add_shader_variable() This lets us pass in the absolution location of a variable instead of computing it in add_shader_variable() based on variable location and bias. This is in preparation for recursing into struct variables. Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>