]> git.tdb.fi Git - libs/gl.git/commitdiff
Only set pipeline resources as used when the resource changes
authorMikko Rasa <tdb@tdb.fi>
Sun, 9 Jan 2022 13:38:54 +0000 (15:38 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 9 Jan 2022 13:38:54 +0000 (15:38 +0200)
This avoids an issue on Vulkan where invalid descriptor set writes were
generated if a resource unused by the current shader was set to the same
value it already had and the shader wasn't changed.

I'm not really sure if the flags should be set in the common part at all,
since the OpenGL bckend barely uses them.  But other approaches are not
clearly superior either.


No differences found