gallium/tgsi: Redefine the TGSI_TEXTURE_UNKNOWN texture target.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 11 May 2012 12:36:46 +0000 (13:36 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 11 May 2012 13:36:20 +0000 (14:36 +0100)
commit223831ca146bc3aca615542794a7c3800ccbcc6f
tree9e638d22d3489cf593156509e6fdcd657aa3d45f
parent11aa82cc0bda6bd9162f76553a3f68e28978edae
gallium/tgsi: Redefine the TGSI_TEXTURE_UNKNOWN texture target.

Some code relies on the existing of an invalid texture target. It seems
safer to bring it back than to deal with unintended consequences.

This partially reverts commit a4ebb04214bab1cd9bd41967232ec89441e31744.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_build.c
src/gallium/auxiliary/tgsi/tgsi_strings.c
src/gallium/auxiliary/util/u_blitter.c
src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp
src/gallium/include/pipe/p_shader_tokens.h