Assiduous

Results 231 comments of Assiduous

> IIUC you want people to enable to find some external packages and some submodule packages What I don't understand in case of vcpkg is who is responsible for downloading...

Yes, that makes it clearer - thanks. > in the next step needed build options will be passed to invoke the cmake configure step of the library Is it possible...

When the debugging information is embedded in shaders, PIX seems to be working, but does not show the structured buffer layout. At the same time it does show the layout...

Reply from PIX: > There is something strange going on with HLSL source code in this trace. > > The VS and PS shaders are both named "hlsl.hlsl". > The...

This should be fixed in https://github.com/DiligentGraphics/DiligentCore/commit/3e28408c01aa7b5b5adb4f75bca40dc102ce33c4 and https://github.com/DiligentGraphics/DiligentCore/commit/85ed1b17bf51f263be301641d83db52c7819d981

If you do this in the loop, you have to explicitly [Flush](https://github.com/DiligentGraphics/DiligentCore/blob/master/Graphics/GraphicsEngine/interface/DeviceContext.h#L1123) the device context. The engine allocates temporary staging memory for every update. This memory is locked until the...

Do you flush it in the loop after every update or after the loop? It needs to be in the loop.

Ok, there is one more method you have to call in the loop: [FinishFrame](https://github.com/DiligentGraphics/DiligentCore/blob/master/Graphics/GraphicsEngine/interface/DeviceContext.h#L1261) So the way memory management works is quite involved: when you call `UpdateTexture`, the engine has...

There is [another method](https://github.com/DiligentGraphics/DiligentCore/blob/master/Graphics/GraphicsEngine/interface/RenderDevice.h#L222) that is related to this. It however releases non-dynamic stale resources. Remember that Diligent is a low-level library, so sometimes it requires more explicit control of...

Like I tried to explain, the engine has to allocate the memory every time you call `UpdateTexture` because there is no other way to do this. If the command buffer...