diff options
author | Marek Olšák <[email protected]> | 2010-04-14 04:12:08 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-14 04:48:19 +0200 |
commit | 3da70606b3af1e907d56666d199957b6da0c73fe (patch) | |
tree | 0505ae4add95f4e31d2b13b588b4757e4a0c116b /src/gallium/drivers/r300/r300_context.c | |
parent | abc2f29dd2baa9c8aa672f07a1500e579364ab29 (diff) |
r300g: atomize VS constant buffer
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index bdc1ebedcc0..9a235baf7d7 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -67,6 +67,7 @@ static void r300_destroy_context(struct pipe_context* context) FREE(r300->viewport_state.state); FREE(r300->ztop_state.state); FREE(r300->fs_constants.state); + FREE(r300->vs_constants.state); FREE(r300); } @@ -114,6 +115,7 @@ static void r300_setup_atoms(struct r300_context* r300) R300_INIT_ATOM(vap_output_state, 6); R300_INIT_ATOM(pvs_flush, 2); R300_INIT_ATOM(vs_state, 0); + R300_INIT_ATOM(vs_constants, 0); R300_INIT_ATOM(texture_cache_inval, 2); R300_INIT_ATOM(textures_state, 0); R300_INIT_ATOM(fs, 0); @@ -138,6 +140,7 @@ static void r300_setup_atoms(struct r300_context* r300) r300->viewport_state.state = CALLOC_STRUCT(r300_viewport_state); r300->ztop_state.state = CALLOC_STRUCT(r300_ztop_state); r300->fs_constants.state = CALLOC_STRUCT(r300_constant_buffer); + r300->vs_constants.state = CALLOC_STRUCT(r300_constant_buffer); } struct pipe_context* r300_create_context(struct pipe_screen* screen, |