diff options
author | Luca Barbieri <[email protected]> | 2010-02-23 16:31:33 +0100 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-04-12 12:13:23 +0200 |
commit | 26e40448becb07e292d269dc4d8fbc56caebba3c (patch) | |
tree | d66291f5d5f2593f58a1ab7c3eed8e16fa54b1e0 /src/gallium/drivers/nvfx/nvfx_state.c | |
parent | 5eb6b1a981f87a39323604f5496aafdb38b126a9 (diff) |
nvfx: add NVFX_NEW_{FRAG,VERT}CONST
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_state.c')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_state.c b/src/gallium/drivers/nvfx/nvfx_state.c index b91211584f7..4053f28a651 100644 --- a/src/gallium/drivers/nvfx/nvfx_state.c +++ b/src/gallium/drivers/nvfx/nvfx_state.c @@ -496,10 +496,10 @@ nvfx_set_constant_buffer(struct pipe_context *pipe, uint shader, uint index, nvfx->constbuf_nr[shader] = buf->width0 / (4 * sizeof(float)); if (shader == PIPE_SHADER_VERTEX) { - nvfx->dirty |= NVFX_NEW_VERTPROG; + nvfx->dirty |= NVFX_NEW_VERTCONST; } else if (shader == PIPE_SHADER_FRAGMENT) { - nvfx->dirty |= NVFX_NEW_FRAGPROG; + nvfx->dirty |= NVFX_NEW_FRAGCONST; } } |