mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
glsl: Fix up a comment explaining what a visitor class does.
Ken noted that some of the "actual work" was happening in the caller of this class. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
c07290ddb2
commit
36a8c9caaf
1 changed files with 4 additions and 1 deletions
|
|
@ -217,7 +217,10 @@ ir_array_reference_visitor::get_split_list(exec_list *instructions,
|
|||
return !variable_list.is_empty();
|
||||
}
|
||||
|
||||
/** This is the class that does the actual work of splitting. */
|
||||
/**
|
||||
* This class rewrites the dereferences of arrays that have been split
|
||||
* to use the newly created ir_variables for each component.
|
||||
*/
|
||||
class ir_array_splitting_visitor : public ir_rvalue_visitor {
|
||||
public:
|
||||
ir_array_splitting_visitor(exec_list *vars)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue