mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
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 <brianp@vmware.com>
This commit is contained in:
parent
a17e87d4eb
commit
b88cebb634
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue