diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-10-09 16:18:19 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-10-09 16:18:38 +0100 |
commit | c2e926b72de21bfac0048f32e1204537446d5ab0 (patch) | |
tree | edd38240b1c326321fc5c9c3fb436ecf20bdb890 /src/gallium/drivers/llvmpipe | |
parent | b0cd386e777912df115858d90f2eec31811c2d9c (diff) |
llvmpipe: Pass framebuffer coords to shader.
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.c | 2 |
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, |