mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 23:40:10 +01:00
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:
parent
d0c595ac80
commit
8a649277cb
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue