diff options
author | José Fonseca <[email protected]> | 2009-10-08 12:44:30 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-10-08 12:44:30 +0100 |
commit | a6676d896ed18426ed3d7e6340347974c1694ca2 (patch) | |
tree | b5c51f2325a5ffd079edf130119c60540594220b /src/gallium/drivers/llvmpipe/lp_rast.h | |
parent | 5e13dfe6181952f0f538a77b8a9f91c1d7601ceb (diff) |
llvmpipe: Add the rast -> jit shader glue.
Ugly code. Will eventually be reduced to a very thin inlined function.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_rast.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h index 8f4bd52c9e5..e417be935b0 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.h +++ b/src/gallium/drivers/llvmpipe/lp_rast.h @@ -17,9 +17,8 @@ struct lp_rast_state { /* The shader itself. Probably we also need to pass a pointer to * the tile color/z/stencil data somehow: */ - void (*run)( struct lp_jit_context *jc, - struct quad_header **quads, - unsigned nr ); + lp_jit_frag_func shader; + }; /* Coefficients necessary to run the shader at a given location: |