summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-10-08 12:44:30 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-10-08 12:44:30 +0100
commita6676d896ed18426ed3d7e6340347974c1694ca2 (patch)
treeb5c51f2325a5ffd079edf130119c60540594220b /src/gallium/drivers/llvmpipe/lp_rast.h
parent5e13dfe6181952f0f538a77b8a9f91c1d7601ceb (diff)
downloadexternal_mesa3d-a6676d896ed18426ed3d7e6340347974c1694ca2.zip
external_mesa3d-a6676d896ed18426ed3d7e6340347974c1694ca2.tar.gz
external_mesa3d-a6676d896ed18426ed3d7e6340347974c1694ca2.tar.bz2
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.h5
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 8f4bd52..e417be9 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: