i965/vs: Don't assertion fail on vertex texturing.

The linker will reject the program, but we need to survive until then.
Fixes abort in glsl1-2D Texture lookup with explicit lod (Vertex
shader)
This commit is contained in:
Eric Anholt 2011-08-12 05:32:25 -07:00
parent d0c595ac80
commit 8a649277cb
1 changed files with 6 additions and 1 deletions

View File

@ -1554,7 +1554,12 @@ vec4_visitor::visit(ir_call *ir)
void
vec4_visitor::visit(ir_texture *ir)
{
assert(!"not reached");
/* FINISHME: Implement vertex texturing.
*
* With 0 vertex samplers available, the linker will reject
* programs that do vertex texturing, but after our visitor has
* run.
*/
}
void