ShaderData: Atomically generate property values


Ensure same lock is used when generating property values for ShaderData.
Not doing so could cause a race condition if two different threads
checked if ShaderData contained property value for a given block at the
same time.

Also removes unused method to avoid similary issues in the future.

Fixes: QTBUG-111427
Pick-to: 6.7 6.6
Change-Id: Iadf88aeb7a440bcfd46f2a8e164403fa7d6e1713
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
commitc6fafcb66814c1de1fd67c1e049d94c94ce0d2f0
parent747d7b9e0e16dafe143a0f4ee821b100eccbe6f4
authorAlexander Hulander <alexander.hulander@evoma.se>
committerAlexander Hulander <alexander.hulander@evoma.se>
commit timeWed, 28 Feb 2024 06:57:23 +0100