aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup_point.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-09-20 13:29:55 -0600
committerBrian Paul <[email protected]>2010-09-20 13:37:39 -0600
commitc3982c6bcdeb88f7fb1b20f8bd300db31cd7288d (patch)
treea8d2211496761dad9930ac63f563cfaadc069af4 /src/gallium/drivers/llvmpipe/lp_setup_point.c
parentb7a5eac1f3723a369885bad369a04c456bdf1565 (diff)
llvmpipe: rename sprite field, add sprite_coord_origin
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_point.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_point.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_point.c b/src/gallium/drivers/llvmpipe/lp_setup_point.c
index fb4fb2c436b..f8f411f4f16 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_point.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup_point.c
@@ -184,7 +184,7 @@ setup_point_coefficients( struct lp_setup_context *setup,
if (shader->info.input_semantic_name[slot] == TGSI_SEMANTIC_GENERIC) {
const int index = shader->info.input_semantic_index[slot];
- if (setup->sprite & (1 << index)) {
+ if (setup->sprite_coord_enable & (1 << index)) {
for (i = 0; i < NUM_CHANNELS; i++)
if (usage_mask & (1 << i))
perspective_coef(setup, point, info, slot+1, vert_attr, i);