diff options
author | Luca Barbieri <[email protected]> | 2010-08-22 12:02:41 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-08-22 15:42:17 +0200 |
commit | 7de1f86c49716eeadb443507d16ead933288059c (patch) | |
tree | b9d55e24616fa7b149b07bf0079ca2dae6fabd14 /src/gallium/drivers/nvfx/nvfx_context.c | |
parent | 9fefab340f59519efc5c5690347a54e437d9407a (diff) |
nvfx: simplify and correct fragment program update logic
This version should hopefully be much clearer and thus less likely
to be subtly broken.
Also fixes point sprites on nv40 and possibly some other bugs too.
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_context.c')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_context.c b/src/gallium/drivers/nvfx/nvfx_context.c index 8e852010f57..e78fc14da44 100644 --- a/src/gallium/drivers/nvfx/nvfx_context.c +++ b/src/gallium/drivers/nvfx/nvfx_context.c @@ -90,6 +90,8 @@ nvfx_create(struct pipe_screen *pscreen, void *priv) /* set these to that we init them on first validation */ nvfx->state.scissor_enabled = ~0; + nvfx->hw_pointsprite_control = -1; + nvfx->hw_vp_output = -1; nvfx->use_vertex_buffers = -1; LIST_INITHEAD(&nvfx->render_cache); |