glsl: Return ir_variable from compare_index_block
This is basically a wash now, but it simplifies later patches that convert to using ir_builder. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
This commit is contained in:
@@ -170,9 +170,9 @@ bool lower_blend_equation_advanced(gl_linked_shader *shader);
|
||||
bool lower_subroutine(exec_list *instructions, struct _mesa_glsl_parse_state *state);
|
||||
void propagate_invariance(exec_list *instructions);
|
||||
|
||||
ir_rvalue *
|
||||
compare_index_block(exec_list *instructions, ir_variable *index,
|
||||
unsigned base, unsigned components, void *mem_ctx);
|
||||
ir_variable *compare_index_block(exec_list *instructions, ir_variable *index,
|
||||
unsigned base, unsigned components,
|
||||
void *mem_ctx);
|
||||
|
||||
bool lower_64bit_integer_instructions(exec_list *instructions,
|
||||
unsigned what_to_lower);
|
||||
|
Reference in New Issue
Block a user