From: Mikko Rasa Date: Sun, 9 Jan 2022 13:38:54 +0000 (+0200) Subject: Only set pipeline resources as used when the resource changes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=362534d5838123150311360b465026edba38bb7d;hp=362534d5838123150311360b465026edba38bb7d;p=libs%2Fgl.git Only set pipeline resources as used when the resource changes 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. ---