From: Eric Anholt Date: Fri, 12 Aug 2011 12:32:25 +0000 (-0700) Subject: i965/vs: Don't assertion fail on vertex texturing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a649277cb57cc13fb38f8e8daf07e8a2b96223c;p=mesa.git 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) --- diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index fc75cc35172..d03fbff27fc 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -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