TheCherno / Hazel

Hazel Engine
Apache License 2.0
11.76k stars 1.51k forks source link

ShaderBinary problem #678

Closed FlyingStudent closed 6 months ago

FlyingStudent commented 6 months ago

Hi Everyone, First of all I want to apologize for misusing the Issues section in here. But now, I came with a real thing that happened when i cloned Hazel. I didn't clone it using the command line because there was a problem to me with that so i downloaded the zip archive and then unzipped it and downloaded all the necessary modules and downloaded and downloaded the vulkan sdk(1.3.211.0 version). the problem this: Screenshot (244) Why is that happening ? What is the problem ? (As the error message says: the error is in the glShaderBinary function and it is due to GL_SHADER_BINARY_FORMAT_SPIR_V, But why it's an invalid enum since glad offers it and it's represented ? is there any other enum that would fit instead of GL_SHADER_BINARY_FORMAT_SPIR_V?) Thanks all for helping ❤❤

VagueLobster commented 6 months ago

It's probably happening because you're using an Intel integrated GPU and NOT a Nvidia or AMD dedicated GPU!!! Intel GPU's and Vulkan are usually a no-go! + Hazel doesn't support Intel GPU's out of the box!

FlyingStudent commented 6 months ago

@VagueLobster You are right I am using an Intel GPU. Is there anyway i can get vulkan to work on my Current GPU ? Or I need to upgrade ?

VagueLobster commented 6 months ago

You are right I am using an Intel GPU. Is there anyway i can get vulkan to work on my Current GPU ? Or I need to upgrade ?

You would need to upgrade

FlyingStudent commented 6 months ago

@VagueLobster Thank you so much for your help ❤❤