diff options
author | Marek Olšák <[email protected]> | 2013-04-26 14:42:10 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-05-11 23:45:02 +0200 |
commit | b88cebb634d74772fa509f5ca88fb71d397b3d85 (patch) | |
tree | 845b1284f64f861d5acdb60bea31d06eab34a402 /src | |
parent | a17e87d4ebd84c1a01c3821c04ed9d8d7c763983 (diff) |
st/mesa: don't check for _NEW_PROGRAM when binding UBOs
Probably copied from i965. However st/mesa has its flags ST_NEW_xxx_PROGRAM.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_atom_constbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c index f72af7af529..27a910b5fca 100644 --- a/src/mesa/state_tracker/st_atom_constbuf.c +++ b/src/mesa/state_tracker/st_atom_constbuf.c @@ -229,7 +229,7 @@ static void bind_vs_ubos(struct st_context *st) const struct st_tracked_state st_bind_vs_ubos = { "st_bind_vs_ubos", { - _NEW_PROGRAM, + 0, ST_NEW_VERTEX_PROGRAM | ST_NEW_UNIFORM_BUFFER, }, bind_vs_ubos @@ -248,7 +248,7 @@ static void bind_fs_ubos(struct st_context *st) const struct st_tracked_state st_bind_fs_ubos = { "st_bind_fs_ubos", { - _NEW_PROGRAM, + 0, ST_NEW_FRAGMENT_PROGRAM | ST_NEW_UNIFORM_BUFFER, }, bind_fs_ubos |