diff options
author | José Fonseca <[email protected]> | 2009-10-09 16:18:19 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-10-09 16:18:38 +0100 |
commit | c2e926b72de21bfac0048f32e1204537446d5ab0 (patch) | |
tree | edd38240b1c326321fc5c9c3fb436ecf20bdb890 | |
parent | b0cd386e777912df115858d90f2eec31811c2d9c (diff) |
llvmpipe: Pass framebuffer coords to shader.
-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 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, |