projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cec233
)
i965: Fix an unused variable warning in the release build.
author
Eric Anholt
<eric@anholt.net>
Thu, 11 Apr 2013 17:33:00 +0000
(10:33 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 12 Apr 2013 23:32:13 +0000
(16:32 -0700)
It's used in an assert, but we have this as a member of the class anyway.
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 516bf918175cc68e20648f1606af34f83370e2ae..b82add9739d2a5011873bc00af9cc379f9f3ec43 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-2841,7
+2841,6
@@
fs_visitor::get_instruction_generating_reg(fs_inst *start,
void
fs_visitor::setup_payload_gen6()
{
- struct intel_context *intel = &brw->intel;
bool uses_depth =
(fp->Base.InputsRead & (1 << VARYING_SLOT_POS)) != 0;
unsigned barycentric_interp_modes = c->prog_data.barycentric_interp_modes;