diff options
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r-- | src/glsl/ast.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h index 3a61f79d71a..475fb99d08a 100644 --- a/src/glsl/ast.h +++ b/src/glsl/ast.h @@ -854,6 +854,13 @@ _mesa_ast_field_selection_to_hir(const ast_expression *expr, exec_list *instructions, struct _mesa_glsl_parse_state *state); +extern ir_rvalue * +_mesa_ast_array_index_to_hir(void *mem_ctx, + struct _mesa_glsl_parse_state *state, + ir_rvalue *array, ir_rvalue *idx, + YYLTYPE &loc, YYLTYPE &idx_loc, + bool error_emitted); + void emit_function(_mesa_glsl_parse_state *state, ir_function *f); |