diff options
author | Christoph Bumiller <[email protected]> | 2009-09-14 21:03:19 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2009-09-15 12:13:23 +0200 |
commit | 01670ca8073b57029625873b5c8374fb8716e1eb (patch) | |
tree | 145a7de3af6555b143208b9532c0dcb2b55de7e8 /src/gallium/drivers/nv50/nv50_state.c | |
parent | 06dac41cc50303fe767041dcb4b2192763dd9c16 (diff) |
nv50: add preliminary support for point sprites
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_state.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state.c b/src/gallium/drivers/nv50/nv50_state.c index 1de60fed6ec..81fa3e34c59 100644 --- a/src/gallium/drivers/nv50/nv50_state.c +++ b/src/gallium/drivers/nv50/nv50_state.c @@ -297,6 +297,9 @@ nv50_rasterizer_state_create(struct pipe_context *pipe, so_method(so, tesla, NV50TCL_POINT_SIZE, 1); so_data (so, fui(cso->point_size)); + so_method(so, tesla, NV50TCL_POINT_SPRITE_ENABLE, 1); + so_data (so, cso->point_sprite); + so_method(so, tesla, NV50TCL_POLYGON_MODE_FRONT, 3); if (cso->front_winding == PIPE_WINDING_CCW) { so_data(so, nvgl_polygon_mode(cso->fill_ccw)); |