i965: Add cases for ir_triop_vector_insert that assert.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 17 May 2013 17:41:27 +0000 (10:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 20 May 2013 17:19:48 +0000 (10:19 -0700)
commit01b79b2e3be506ca1fc5708fcfdb497d3ff19145
treef7bbd65c7a9aec031b8b7136fef5f16cef5dc79c
parente1e887679786cf3882e83b2a194f046b34a71f05
i965: Add cases for ir_triop_vector_insert that assert.

brw_link_shader() unconditionally calls lower_vector_insert() with true
as the second parameter.  This means that both constant and variable
indexed expressions will get lowered, so we should never see this in the
backend.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp