commit | 8ab6aae4dcecba4e77f6777606e92cf2c2f1f83e | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | Mon Apr 11 12:57:41 2016 -0700 |
committer | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | Tue Apr 12 14:38:26 2016 -0700 |
tree | 6cc43f1ce074177c82f5a145179d3a4eea6be550 | |
parent | eafeb8db66dae7619ff3cb039706b990d718cba7 [diff] |
glsl/linker: Add add_shader_variable() helper This consolidates the combination of create_shader_variable() and add_program_resource() into a new helper function. No functional difference, but we'll expand add_shader_variable() in the next few commits. Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>