]> git.tdb.fi Git - libs/gl.git/commit
Recreate ProgramData buffer when needed even if no blocks were updated
authorMikko Rasa <tdb@tdb.fi>
Sun, 25 Sep 2022 17:02:52 +0000 (20:02 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 25 Sep 2022 17:21:57 +0000 (20:21 +0300)
commit0b9f7e786f7bf4c751c62f345a932916b113e40c
tree18dba47317b4b8823eb7170cfd7137c9df12fa06
parentb6c4e1a794276ca343c0c9bb0a300e729ca41931
Recreate ProgramData buffer when needed even if no blocks were updated

This can happen if setting a uniform triggers promotion of the buffer
from static to streaming, but the next shader program does not use that
uniform.
source/materials/programdata.cpp