You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey so i've been playing around with nuklear and it seem like the nuklear_glfw_gl4.h on the fragment shader is giving of a error on
" sampler2D smp = sampler2D(Texture);\n".
tried to log the error and I've got the following.
[GL]: failed to compile shader: Fragment shader failed to compile with the following errors:
ERROR: 0:10: error(#442) Invalid construct, bindless handle only can be constructed from uvec2.
ERROR: error(#273) 1 compilation errors. No code generated
if anybody know the solution that would be amazing 👍
The text was updated successfully, but these errors were encountered:
Hi in the shader change "uniform uint64_t Texture;\n" to "uniform uvec2 Texture;\n"
and then go to line 440 I think:
Comment out this line glUniformHandleui64ARB(dev->uniform_tex, tex_handle);
and place directly above or under this glUniform2ui(dev->uniform_tex, tex_handle, tex_handle >> 32);
Hey so i've been playing around with nuklear and it seem like the nuklear_glfw_gl4.h on the fragment shader is giving of a error on
" sampler2D smp = sampler2D(Texture);\n".
tried to log the error and I've got the following.
[GL]: failed to compile shader: Fragment shader failed to compile with the following errors:
ERROR: 0:10: error(#442) Invalid construct, bindless handle only can be constructed from uvec2.
ERROR: error(#273) 1 compilation errors. No code generated
if anybody know the solution that would be amazing 👍
The text was updated successfully, but these errors were encountered: