You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ResourceDataReader block pool currently will create a duplicated block if you read a derived type after a base type at the same position.
Considering 81e55a0 :
Reading the shader parameters first will add the Texture Data blocks to the pool.
If the ShaderGroup has an embedded texture dictionary it will also read blocks of type TextureDX11 (which derives from Texture ) which are the same blocks and so they are at the same position in the resource.
At this point it will create a duplicated object as the cached one is not of type TextureDX11 but a base Texture. The block pool should replace the block with the most derived one but also somehow update all the blocks which referenced to the old one to now reference the replaced one.
The text was updated successfully, but these errors were encountered:
The ResourceDataReader block pool currently will create a duplicated block if you read a derived type after a base type at the same position.
Considering 81e55a0 :
Reading the shader parameters first will add the
Texture
Data blocks to the pool.If the ShaderGroup has an embedded texture dictionary it will also read blocks of type
TextureDX11
(which derives fromTexture
) which are the same blocks and so they are at the same position in the resource.At this point it will create a duplicated object as the cached one is not of type
TextureDX11
but a baseTexture
. The block pool should replace the block with the most derived one but also somehow update all the blocks which referenced to the old one to now reference the replaced one.The text was updated successfully, but these errors were encountered: