diff options
author | Brian <[email protected]> | 2008-02-21 16:18:05 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-21 16:18:05 -0700 |
commit | eb4dc2dd5ed62e6ccb55ccc2bc13f6a2f3fc1f76 (patch) | |
tree | 36918ed5ea3c04aefe57eb4e3629cdf31ced2987 /src/gallium/auxiliary/draw/draw_context.c | |
parent | a93d8bfaf2aba1b2fe3ecfbb5bc4b7ff113c305e (diff) |
gallium: new AA point drawing stage
AA points are drawn by converting the point to a quad, then modifying the
user's fragment shader to compute a coverage value. The final fragment
color's alpha is modulated by the coverage value. Fragments outside the
point's radius are killed.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index b90a9f474de..c28e78d33a3 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -105,6 +105,8 @@ void draw_destroy( struct draw_context *draw ) draw->pipeline.validate->destroy( draw->pipeline.validate ); if (draw->pipeline.aaline) draw->pipeline.aaline->destroy( draw->pipeline.aaline ); + if (draw->pipeline.aapoint) + draw->pipeline.aapoint->destroy( draw->pipeline.aapoint ); if (draw->pipeline.rasterize) draw->pipeline.rasterize->destroy( draw->pipeline.rasterize ); tgsi_exec_machine_free_data(&draw->machine); |