mesa: add back-door support for cylindrical texture wrap mode
authorBrian Paul <brianp@vmware.com>
Thu, 4 Feb 2010 23:40:47 +0000 (16:40 -0700)
committerMichal Krol <michal@vmware.com>
Tue, 9 Feb 2010 14:32:40 +0000 (15:32 +0100)
commit4a9f1eed2ba02f2ae2bf92d16f89d10f09b2a21e
tree6e8f4d264f83e938d461916847110ecc7e814716
parent9a8473da8319c039c003af3b6a004726d48444fc
mesa: add back-door support for cylindrical texture wrap mode

If the texture priority field is 0.125 set the PROG_PARAM_BIT_CYL_WRAP
flag.  The gallium state tracker will look for this flag.

This feature is only for testing purposes and may be remove at some
point.  But if it's useful we could write a GL/Mesa extension to
expose it properly.
src/mesa/main/texenvprogram.c
src/mesa/shader/prog_parameter.h