diff options
author | Stephane Marchesin <[email protected]> | 2008-04-02 18:26:49 +0200 |
---|---|---|
committer | Stephane Marchesin <[email protected]> | 2008-04-02 18:26:49 +0200 |
commit | fb19b3393fbee26f7bb88b572b3d0cc2943f2edc (patch) | |
tree | ed06e7b25c05cc131590acde1190725bb210c135 /src/gallium/drivers/nv10/nv10_fragtex.c | |
parent | 8f26e975ca6341cb3366a18beb352b5cdcaee2bc (diff) |
nv10: fix some more state, work on the vertex emission code.
Diffstat (limited to 'src/gallium/drivers/nv10/nv10_fragtex.c')
-rw-r--r-- | src/gallium/drivers/nv10/nv10_fragtex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv10/nv10_fragtex.c b/src/gallium/drivers/nv10/nv10_fragtex.c index a4bf1082845..67e0b4bd45d 100644 --- a/src/gallium/drivers/nv10/nv10_fragtex.c +++ b/src/gallium/drivers/nv10/nv10_fragtex.c @@ -72,6 +72,7 @@ nv10_fragtex_format(uint pipe_format) static void nv10_fragtex_build(struct nv10_context *nv10, int unit) { +#if 0 struct nv10_sampler_state *ps = nv10->tex_sampler[unit]; struct nv10_miptree *nv10mt = nv10->tex_miptree[unit]; struct pipe_texture *pt = &nv10mt->base; @@ -115,11 +116,13 @@ nv10_fragtex_build(struct nv10_context *nv10, int unit) OUT_RING (ps->filt | 0x2000 /* magic */); OUT_RING ((pt->width[0] << 16) | pt->height[0]); OUT_RING (ps->bcol); +#endif } void nv10_fragtex_bind(struct nv10_context *nv10) { +#if 0 struct nv10_fragment_program *fp = nv10->fragprog.active; unsigned samplers, unit; @@ -141,5 +144,6 @@ nv10_fragtex_bind(struct nv10_context *nv10) } nv10->fp_samplers = fp->samplers; +#endif } |