diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2007-09-05 13:31:01 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2007-09-05 13:31:01 +0800 |
commit | 1a15b2169ba6cb100627eb525a20a00537cfb6f0 (patch) | |
tree | 95debf3478704faa3a832eb6bfb919c1df95f972 /src/mesa/drivers | |
parent | 8752a20decab59de4dd5feb9672b8299126eb7eb (diff) |
i965: only take non-varying attribute into account when
compiling sf_prog. fix bug#11378 (which is introduced by
commit d619cceea47dc3070ebb7f7ea4f8b6b31a672d38)
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_sf.c b/src/mesa/drivers/dri/i965/brw_sf.c index 73232b3c7c..a655b010fd 100644 --- a/src/mesa/drivers/dri/i965/brw_sf.c +++ b/src/mesa/drivers/dri/i965/brw_sf.c @@ -43,7 +43,7 @@ #include "brw_sf.h" #include "brw_state.h" -#define DO_SETUP_BITS ((1<<FRAG_ATTRIB_MAX)-1) +#define DO_SETUP_BITS ((1<<(FRAG_ATTRIB_MAX - MAX_VARYING))-1) static void compile_sf_prog( struct brw_context *brw, struct brw_sf_prog_key *key ) |