0 votes

I'm trying to compile engine from the master-branch with mono and double precision enabled. Compile works fine but when I try open any project I receive error and editor crashes:

Godot Engine v4.0.beta.custombuild.8a98110e3 - https://godotengine.org
Vulkan API 1.2.236 - Using Vulkan Device #0: AMD - AMD Radeon Pro 5500M
[mvk-error] VK
ERRORFORMATNOTSUPPORTED: VkFormat VKFORMATR64G64B64SFLOAT is not supported for vertex buffers on this device.
[mvk-error] VKERRORINITIALIZATIONFAILED: Render pipeline compile failed (Error code 2):
Vertex attribute vertex0(0) is missing from the vertex descriptor.
ERROR: vkCreateGraphicsPipelines failed with error -3 for shader 'CanvasOcclusionShaderRD:0'.
at: render
pipelinecreate (drivers/vulkan/renderingdevice_vulkan.cpp:6393)

I compiled it with the following command:

scons platform=macos arch= --jobs=$(sysctl -n hw.logicalcpu) precision=double modulemonoenabled=yes

I also compiled without double precision and without it both mono and standard versions works fine so the problem seems to be with double precision.

The error message suggest that the GPU (AMD Radeon Pro 5500M) doesn't support 64-bit data types but this shouldn't be a problem because GPU is still not using 64-bit data types as described here: https://godotengine.org/en/article/emulating-double-precision-gpu-render-large-worlds ?

Godot version 4.0 Master, own build
in Engine by (95 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.