i965: only take non-varying attribute into account when

compiling sf_prog. fix bug#11378 (which is introduced by
commit d619cceea4)
This commit is contained in:
Xiang, Haihao 2007-09-05 13:31:01 +08:00
parent 8752a20dec
commit 1a15b2169b

View file

@ -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 )