projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dea7040
)
i965: Silence one more compile warning.
author
Eric Anholt
<eric@anholt.net>
Thu, 11 Apr 2013 17:38:04 +0000
(10:38 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 12 Apr 2013 23:32:14 +0000
(16:32 -0700)
We don't want to store this thing in the class, and we do need the
definition to be at the top of the function and held onto until the end
here, so there's not much to do besides (void) reference it.
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index b82add9739d2a5011873bc00af9cc379f9f3ec43..5f659b13932ada16393d3600e456de6587446346 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-892,6
+892,7
@@
fs_visitor::setup_uniform_values(ir_variable *ir)
/* Make sure we actually initialized the right amount of stuff here. */
assert(params_before + ir->type->component_slots() ==
c->prog_data.nr_params);
+ (void)params_before;
}