diff options
author | Brian Paul <brianp@vmware.com> | 2010-02-04 16:40:47 -0700 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2010-02-09 15:32:40 +0100 |
commit | 4a9f1eed2ba02f2ae2bf92d16f89d10f09b2a21e (patch) | |
tree | 6e8f4d264f83e938d461916847110ecc7e814716 /src/mesa/shader | |
parent | 9a8473da8319c039c003af3b6a004726d48444fc (diff) | |
download | external_mesa3d-4a9f1eed2ba02f2ae2bf92d16f89d10f09b2a21e.zip external_mesa3d-4a9f1eed2ba02f2ae2bf92d16f89d10f09b2a21e.tar.gz external_mesa3d-4a9f1eed2ba02f2ae2bf92d16f89d10f09b2a21e.tar.bz2 |
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.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/prog_parameter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_parameter.h b/src/mesa/shader/prog_parameter.h index 699cb0c..1111c85 100644 --- a/src/mesa/shader/prog_parameter.h +++ b/src/mesa/shader/prog_parameter.h @@ -43,6 +43,7 @@ #define PROG_PARAM_BIT_INVARIANT 0x2 /**< for varying vars (GLSL 1.20) */ #define PROG_PARAM_BIT_FLAT 0x4 /**< for varying vars (GLSL 1.30) */ #define PROG_PARAM_BIT_LINEAR 0x8 /**< for varying vars (GLSL 1.30) */ +#define PROG_PARAM_BIT_CYL_WRAP 0x10 /**< XXX gallium debug */ /*@}*/ |