Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No name set for buffer created by SpriteBatch constructor #534

Open
Rizzmond opened this issue Feb 21, 2025 · 1 comment · May be fixed by #535
Open

No name set for buffer created by SpriteBatch constructor #534

Rizzmond opened this issue Feb 21, 2025 · 1 comment · May be fixed by #535
Assignees
Labels

Comments

@Rizzmond
Copy link

Rizzmond commented Feb 21, 2025

Comparing a ReportLiveDeviceObjects(D3D11_RLDO_DETAIL | D3D11_RLDO_IGNORE_INTERNAL) before and after the SpriteBatch constructor is run I see one live object missing a name.
D3D11 WARNING: Live ID3D11VertexShader at 0x0000016453A0D450, Name: DirectXTK:SpriteBatch, Refcount: 1, IntRef: 0 [ STATE_CREATION WARNING #430: LIVE_VERTEXSHADER]
D3D11 WARNING: Live ID3D11PixelShader at 0x0000016451E1F0A0, Name: DirectXTK:SpriteBatch, Refcount: 1, IntRef: 0 [ STATE_CREATION WARNING #432: LIVE_PIXELSHADER]
D3D11 WARNING: Live ID3D11InputLayout at 0x0000016451E1FBD0, Name: DirectXTK:SpriteBatch, Refcount: 1, IntRef: 0 [ STATE_CREATION WARNING #433: LIVE_INPUTLAYOUT]
D3D11 WARNING: Live ID3D11Buffer at 0x00000164303EAEE0, Name: DirectXTK:SpriteBatch, Refcount: 1, IntRef: 0 [ STATE_CREATION WARNING #423: LIVE_BUFFER]
D3D11 WARNING: Live ID3D11Buffer at 0x00000164303E83C0, Refcount: 1, IntRef: 0 [ STATE_CREATION WARNING #423: LIVE_BUFFER]
D3D11 WARNING: Live ID3D11Buffer at 0x00000164303E90B0, Name: DirectXTK:SpriteBatch, Refcount: 1, IntRef: 0 [ STATE_CREATION WARNING #423: LIVE_BUFFER]

@walbourn
Copy link
Member

It's the constant buffer. I'll update that.

@walbourn walbourn self-assigned this Feb 22, 2025
@walbourn walbourn added the bug label Feb 22, 2025
@walbourn walbourn linked a pull request Feb 22, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants