Comments (9)
Effectively, if we re-enable that code by initializing i to 0, then we get another problem because this line is commented :
//gVkWantedInstanceExtensions[k] = "";
Which means that VK_EXT_debug_report
is both in the VK_LAYER_LUNARG_standard_validation
and the "nullptr" layer (second loop) as the standard validation layer is implicitly enabled.
The only way to fix when we require VK_EXT_debug_report
is to uncomment that line again.
However, it causes a new issue as we can't call CreateInstance again as we broke the initial array.
So, the real correct solution after we fix the loop with uint i = 0;
is to empty the local array of string instead :
wantedInstanceExtensions[k] = "";
from the-forge.
@simondeschenes
We just merged a fix for the loop index but we weren't able to reproduce the second part of this issue.
Could you give us repro steps?
Also, could you try it out after the latest merge?
Thanks
from the-forge.
You need to comment #define USE_DEBUG_UTILS_EXTENSION
inside of Vulkan.cpp
.
That way, it will want to use VK_EXT_DEBUG_REPORT_EXTENSION_NAME
instead of VK_EXT_DEBUG_UTILS_EXTENSION_NAME
.
If you do, and have the first loop fixed, you will get VK_EXT_debug_utils
2 times in the gVkInstanceExtensions
array (member of pRenderer
).
I believe this commented code (because of the comment) was supposed to address this issue :
//gVkWantedInstanceExtensions[k] = "";
However, it is not right because it modifies gVkWantedInstanceExtensions
instead of the local wantedInstanceExtensions
array.
This is why the code should now read :
wantedInstanceExtensions[k] = "";
in both loops.
from the-forge.
I looked at the latest merge and it is effectively partially fixed. See previous post.
from the-forge.
Just to add to this, this is crashing on Linux on this line:
https://github.com/ConfettiFX/The-Forge/blob/master/Common_3/Renderer/Vulkan/Vulkan.cpp#L2533
I tried the things @simondeschenes suggests but it still crashes. I haven't spent much time on this to investigate.
Cheers!
from the-forge.
Disregard this, it was just an issue on my side not passing #define VULKAN, it works with/without the tweak from @simondeschenes
from the-forge.
@simondeschenes this should be resolved with the next release, probably next week ... if you have a chance check it out and then we can close this.
from the-forge.
As soon as I see the code online I'll check it out.
from the-forge.
It is up now ... let us know ....
from the-forge.
Related Issues (20)
- missing file include creates incomplete DLL export for IMemory.h/MemoryTracking.c
- missing FORGE_RENDERER_API on gSelectedRendererApi variable so that it can be exported in a .dll HOT 1
- Rendering artifacts when disabling HDAO option in Visibility Buffer example on Windows PC with DirectX12 and Vulkan backend in The Forge 1.53 HOT 1
- Hello, is there any doc/examples on render mesh into 2d image? HOT 1
- heartbeat? HOT 8
- Materials playground hair assets missing HOT 2
- Vulkan - bug in queue initialization causing out of bounds access HOT 1
- Compiling error on MacOS 13.5.2 and Xcode 14.3.1 HOT 2
- Audio? HOT 2
- Sample Project HOT 4
- Supergiant's Hades switch from c# to c++, any more detail please!
- Issue of fullscreen windows at start HOT 1
- Possible issue in fsFetchZipEntryName function HOT 1
- Error from validation layers in vulkan backend in vk_utils_caps_builder HOT 1
- Direct3D12.cpp is missing "pRenderTarget->mDescriptors = pDesc->mDescriptors;" HOT 2
- Python regex warnings HOT 2
- enhancement request - explicitly sized enums in the API
- Wrong description or permission
- Missing #else implementation in fntGetFontAtlasSize()
- Any tutorial that how to start a project with vscode that can be built for android and windows exe both? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from the-forge.