diff options
author | Jason Ekstrand <[email protected]> | 2015-08-19 09:56:57 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-08-25 10:18:27 -0700 |
commit | 8d8b8f58540abbdb8a006a38830a08346a0edf34 (patch) | |
tree | 8ca61f223029c16a59420aa465d4251f89eaea0b /src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | |
parent | 0ab29751b62680cd77195bb33cf18068bd73f2f3 (diff) |
i965: Rename setup_vector_uniform_values to setup_vec4_uniform_value
The new name more accurately represents what it does: Set up a single vec4
uniform value.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index 9062bcc444f..64d4abee895 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -696,8 +696,8 @@ dst_reg::dst_reg(class vec4_visitor *v, const struct glsl_type *type) } void -vec4_visitor::setup_vector_uniform_values(const gl_constant_value *values, - unsigned n) +vec4_visitor::setup_vec4_uniform_value(const gl_constant_value *values, + unsigned n) { static const gl_constant_value zero = { 0 }; @@ -744,8 +744,8 @@ vec4_visitor::setup_uniform_values(ir_variable *ir) const unsigned vector_size = storage->type->vector_elements; for (unsigned s = 0; s < vector_count; s++) - setup_vector_uniform_values(&storage->storage[s * vector_size], - vector_size); + setup_vec4_uniform_value(&storage->storage[s * vector_size], + vector_size); } } |