From 1f4fcdb2cabcc2cc8cdce87b5d233f3639cf378e Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 14 Sep 2017 18:20:14 -0700 Subject: glsl: Return ir_variable from compare_index_block MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is basically a wash now, but it simplifies later patches that convert to using ir_builder. Signed-off-by: Ian Romanick Reviewed-by: Alejandro PiƱeiro Reviewed-by: Thomas Helland --- src/compiler/glsl/ir_optimization.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compiler/glsl/ir_optimization.h') diff --git a/src/compiler/glsl/ir_optimization.h b/src/compiler/glsl/ir_optimization.h index 573ddb4a8d7..0fbbf34595f 100644 --- a/src/compiler/glsl/ir_optimization.h +++ b/src/compiler/glsl/ir_optimization.h @@ -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); -- cgit v1.2.3