diff options
author | Eric Anholt <[email protected]> | 2013-05-21 17:39:58 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-05-22 14:35:25 -0700 |
commit | 0af614727ac04c89b94d3572692c5315664083c1 (patch) | |
tree | 9f4c5843558a2f92eb3741ed46c1dae935469b1f | |
parent | 2b291eaa90b3aa44cafd28c21855a3808b60bc68 (diff) |
i965: Shut up more compiler warnings from vector insert/extract changes.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index b7bbaabf699..36d9cf05053 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp @@ -493,6 +493,14 @@ fs_visitor::visit(ir_expression *ir) assert(!"not reached: should be handled by lower_quadop_vector"); break; + case ir_binop_vector_extract: + assert(!"not reached: should be handled by lower_vec_index_to_cond_assign()"); + break; + + case ir_triop_vector_insert: + assert(!"not reached: should be handled by lower_vector_insert()"); + break; + case ir_unop_sqrt: emit_math(SHADER_OPCODE_SQRT, this->result, op[0]); break; |