diff options
author | Axel Davy <[email protected]> | 2015-12-12 19:20:28 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-02-04 22:12:17 +0100 |
commit | 04e22a04a61e0388ccc5d8c65f79bc3cfa5ac3bc (patch) | |
tree | 628ffbe241e5713140407ee008a3689cec7844d8 /include/KHR | |
parent | 15ce2778fb7a530ab000f453b2a18c1edbaee59c (diff) |
st/nine: Introduce STREAMFREQ state
Previous vertex elements code update
was protected by
'if ((group & (NINE_STATE_VDECL | NINE_STATE_VS)) ||
state->changed.stream_freq & ~1)'
itself protected by
'if (group & (NINE_STATE_COMMON | NINE_STATE_VS))'
If no state is changed except the stream frequency,
no update would happen.
This patch solves the problem by adding a new
NINE_STATE_STREAMFREQ state.
Another way would be to add state->changed.stream_freq & ~1
check to the main test.
Signed-off-by: Axel Davy <[email protected]>
Reviewed-by: Patrick Rudolph <[email protected]>
Diffstat (limited to 'include/KHR')
0 files changed, 0 insertions, 0 deletions