glsl: Remove useless call to as_rvalue().

The type returned by hir() is already an ir_rvalue pointer.

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
This commit is contained in:
Matt Turner 2014-06-01 11:43:15 -07:00
parent 963bd99f03
commit 3540b5eb55
1 changed files with 1 additions and 1 deletions

View File

@ -1560,7 +1560,7 @@ ast_function_expression::hir(exec_list *instructions,
foreach_list (n, &this->expressions) {
ast_node *ast = exec_node_data(ast_node, n, link);
ir_rvalue *result = ast->hir(instructions, state)->as_rvalue();
ir_rvalue *result = ast->hir(instructions, state);
/* From page 50 (page 56 of the PDF) of the GLSL 1.50 spec:
*