svga: texture from lod zero inside dynamic branching
authorKeith Whitwell <keithw@vmware.com>
Tue, 2 Feb 2010 15:34:01 +0000 (15:34 +0000)
committerKeith Whitwell <keithw@vmware.com>
Wed, 3 Feb 2010 10:36:55 +0000 (10:36 +0000)
commita9cdae2ae07ee4a465f29eb0bff1e1e494345c69
tree2037544bc1cdb8b4b15b51d0ef06e6591ff64a2b
parentfc3efccdc67390847fc544f97dbdb1826442ae9a
svga: texture from lod zero inside dynamic branching

Texture derivatives are potentially undefined inside dynamic branches,
so hardwire lod zero in this case.  Treating all if/endif and loop
constructs as dynamic branches.
src/gallium/drivers/svga/svga_tgsi_emit.h
src/gallium/drivers/svga/svga_tgsi_insn.c