st/mesa: simplify update_constants functions
authorMarek Olšák <marek.olsak@amd.com>
Sun, 30 Apr 2017 14:20:10 +0000 (16:20 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 8 May 2017 16:32:00 +0000 (18:32 +0200)
commita159d6ed20e3487df37c0d447564d4690d59ccc4
tree08ac6728fec44fe6fc4ac782873f2a136c6d8834
parentbb6e851a1e52599e346112837b93686a90817901
st/mesa: simplify update_constants functions

Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_atom_constbuf.c
src/mesa/state_tracker/st_atom_constbuf.h
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c