diff options
author | Zack Rusin <[email protected]> | 2009-01-26 15:22:53 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2009-01-27 12:20:26 -0500 |
commit | 4f5308bdcb9e62f678975a77783a48096f6dfdc6 (patch) | |
tree | 3895687d86bdff430155b850b663d252f867dfdc /src/mesa | |
parent | d6888e811d24eaa7e8d9093be606394f00435c05 (diff) |
gallium: remove redundant size from the constant buffer
reuse the size of the actual buffer
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_atom_constbuf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c index d02e51cb9a5..514b10cd022 100644 --- a/src/mesa/state_tracker/st_atom_constbuf.c +++ b/src/mesa/state_tracker/st_atom_constbuf.c @@ -92,8 +92,6 @@ void st_upload_constants( struct st_context *st, pipe_buffer_unmap(pipe->screen, cbuf->buffer); } - cbuf->size = paramBytes; - st->pipe->set_constant_buffer(st->pipe, id, 0, cbuf); } else { |