cancel
Showing results for 
Search instead for 
Did you mean: 

OpenGL & Vulkan

dr_duban
Journeyman III

glsl linker issue

Vendor ATI Technologies Inc.
Renderer AMD Radeon(TM) Graphics
Version 4.3.14761 Core Profile Forward-Compatible Context 21.10.2 30.0.13025.5005
Shading Language 4.60

 

lets say I have vertex, geometry and fragment shaders, and I sample some textures in vertex, in geometry and in fragment.

so, my question is, why does linker give me this:

Validation failed! - Different sampler types for same sample texture unit in geometry shader.

?

Why validation is a part of linking? What texture units at build time???

This can be resolved with layout(binding), but questions remain.

0 Likes
1 Solution
dr_duban
Journeyman III

my mistake, sorted the thing out

View solution in original post

0 Likes
2 Replies
dipak
Big Boss

Hi @dr_duban ,

Thanks for your query. I have whitelisted you. I am moving the post to the OpenGL forum. 

Thanks.

0 Likes
dr_duban
Journeyman III

my mistake, sorted the thing out

0 Likes