summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_fs.cpp
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-09-09 19:49:58 -0700
committerEric Anholt <eric@anholt.net>2010-09-09 19:49:58 -0700
commit6ef5f212343c0557c4fca272d8236226c1a7c87a (patch)
treede777cbad1a57b0230f24962b8f9a71cbf5a1f68 /src/mesa/drivers/dri/i965/brw_fs.cpp
parent50526e094f4c66957c7f74c190c35903bc82fb62 (diff)
i965: Add switch cases for ir_unop_noise, which should have been lowered.
Fixes compiler warnings.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index c23e7ce78a..cf5c52119a 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -753,6 +753,10 @@ fs_visitor::visit(ir_expression *ir)
assert(!"not reached: should be handled by brw_channel_expressions");
break;
+ case ir_unop_noise:
+ assert(!"not reached: should be handled by lower_noise");
+ break;
+
case ir_unop_sqrt:
emit(fs_inst(FS_OPCODE_SQRT, this->result, op[0]));
break;