Currently the factory method is ignored when check whether a value is already cached with GPUObjectCache.
If there are two factory methods that have the same hash value for their arguments (e.g. by taking the same arguments) the cache will return the same cached object for both.
This could be fixed in the same way like the context is recorded by GPUObjectCache.
Currently the factory method is ignored when check whether a value is already cached with
GPUObjectCache
. If there are two factory methods that have the same hash value for their arguments (e.g. by taking the same arguments) the cache will return the same cached object for both.This could be fixed in the same way like the context is recorded by
GPUObjectCache
.