vkCreateComputePipeline error -1 strikes again (no idea why)

Godot Version

4.5 stable

Question

so i was trying to implement an SVO Chunk builder right, using compute shader for maximum multithreading, but i swear to god this error keeps popping up, and zeroing all data inside the buffer:

i solved this one time by shrinking the code to bares, but now it’s back again and I DON’T KNOW WHY, absolutely no idea, i hope this is just because my code sucks but if not then i will be extremely dissapointed. error dissapears when the level 6 function is commented, but at that point why would i even post this forum, i’m sorry, i’m just tired of waiting hours total just in compiling.

(after some researching it seems that error -1 points to VK_ERROR_OUT_OF_HOST_MEMORY, still no exact idea)

thank you, in advance.

update: it was because the code is too heavy (probably had something to do with the register), so had to offload the heavy work on other shader.

1 Like