Syncaidius / MoltenEngine

A spare-time C# .NET 8 game engine project. Cross-platform, multi-threaded.
MIT License
299 stars 20 forks source link

HLSL Shaders are not disposed correctly #10

Closed Syncaidius closed 2 years ago

Syncaidius commented 6 years ago

HlslFoundation and HlslShader do not have an OnPipelineDispose() implementation.

This is where any samplers, bound textures, constant buffers and various other resources should be correctly disposed if not referenced by, or bound to any other HLSL shaders.

Syncaidius commented 2 years ago

Fixed after the switch from SharpDX to Silk.NET. Closing.