summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-10-09 16:18:19 +0100
committerJosé Fonseca <[email protected]>2009-10-09 16:18:38 +0100
commitc2e926b72de21bfac0048f32e1204537446d5ab0 (patch)
treeedd38240b1c326321fc5c9c3fb436ecf20bdb890 /src/gallium/drivers/llvmpipe/lp_rast.c
parentb0cd386e777912df115858d90f2eec31811c2d9c (diff)
llvmpipe: Pass framebuffer coords to shader.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index d4f369d4d02..e73331535fb 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -250,7 +250,7 @@ void lp_rast_shade_quads( struct lp_rasterizer *rast,
/* run shader */
state->jit_function( &state->jit_context,
- x, y,
+ rast->x + x, rast->y + y,
inputs->a0,
inputs->dadx,
inputs->dady,