[BUG] Exception thrown: read access violation. shader_internal was nullptr.
I have an amd rx 7600 graphics card with the latest driver and when it finishes compiling it shows this error and does not start the editor, the file is "wiGraphicsDevice_DX12.cpp" and the line number is 4119 this is the error line and the message is "Exception thrown: read access violation. shader_internal was nullptr."
stream.stream1.PS = { shader_internal->shadercode.data(), shader_internal->shadercode.size() };
Greetings.
Sorry, this should be fixed, it was caused by today's commit.
Thanks for the quick fix, now there is another problem, in the editor if I add a cube and select allow mesh shader the cube is not shown and if I try to load a scene for example sponza the GPU stops responding and the screen goes completely black and a few seconds later it returns showing this message
.
are you running in debug or release mode? Most error checking is only done in asserts; if you were running in release, I assume the createfence call earlier failed and fence is uninitialized
The mesh shader is not working on AMD GPU for the moment, I couldn't find the reason why.
I don't know if this link can help you to know the config limits of the mesh shaders on amd gpu.
https://gpuopen.com/learn/mesh_shaders/mesh_shaders-optimization_and_best_practices/
Those are just recommendations for performance. My implementation is within the dx12 and vulkan specs so it should work on AMD, but it doesn't, and no errors are given.