There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS
Loading several effects with identical blend states with Effects11 causes the Direct3D debug layer to output the following warning in certain scenarios:
D3D11 WARNING: ID3D11BlendState1::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]
This warning seem to be caused by the Direct3D run-time containing some internal deduplication functionality, so that the effect objects ends up sharing the same ID3D11BlendState1 object. This is probably a good idea, but causes the ID3D11BlendState1 object
to be named twice from SetDebugObjectName. The second naming generates a STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS from the Direct3D debug layer if the effect files have different filename lengths.
One way of resolving this problem is to skip naming the object in SetDebugObjectName if the object is already named.