projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56053b0
)
glsl: Remove unused loc parameter from generate_call
author
Ian Romanick
<ian.d.romanick@intel.com>
Tue, 11 Dec 2012 20:54:02 +0000
(12:54 -0800)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Sat, 19 Jan 2013 01:35:33 +0000
(17:35 -0800)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_function.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ast_function.cpp
b/src/glsl/ast_function.cpp
index
b56a3c7
..
dc7a58b
100644
(file)
--- a/
src/glsl/ast_function.cpp
+++ b/
src/glsl/ast_function.cpp
@@
-183,7
+183,7
@@
verify_parameter_modes(_mesa_glsl_parse_state *state,
*/
static ir_rvalue *
generate_call(exec_list *instructions, ir_function_signature *sig,
-
YYLTYPE *loc,
exec_list *actual_parameters,
+ exec_list *actual_parameters,
ir_call **call_ir,
struct _mesa_glsl_parse_state *state)
{
@@
-1501,7
+1501,7
@@
ast_function_expression::hir(exec_list *instructions,
/* an error has already been emitted */
value = ir_rvalue::error_value(ctx);
} else {
- value = generate_call(instructions, sig, &
loc, &
actual_parameters,
+ value = generate_call(instructions, sig, &actual_parameters,
&call, state);
}