summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-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 d4f369d4d0..e73331535f 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,