Hey,
During implementation of bindless texture with ARB_bindless_texture I just found a crash(nullptr dereference) that happens during glLinkProgram in atio6axx.dll!00007ffce698a911() Unknown.
layout (std140) uniform SomeUniform
{
sampler2DShadow ShadowMap;
};
void main()
{
...
float result = texture(ShadowMap, vec3(Uvs, depth)).r;
...
}
Changing snippet to use sampler2D fixes issue(but we lose comparison sampler):
layout (std140) uniform SomeUniform
{
sampler2D ShadowMap;
};
void main()
{
...
float result = texture(ShadowMap, Uvs).r < depth ? 1.0 : 0.0;
...
}
Driver version: 22.88.2
Graphics Card: RX 480 8GB
A fix(or workaround) would be very welcome.
Best Regards
Solved! Go to Solution.
Hi @armageddon ,
As I can see from the related bug ticket, the above issue has been fixed and the fix is already available in the recent drivers (since 23.2.1). Could you please try the latest driver and let us know your findings?
Thanks.
Hi @armageddon ,
Thank you for reporting the issue. I have whitelisted you and moved the post to the AMD OpenGL developers forum.
Thanks.
Hi @armageddon ,
I have reported the issue to the OpenGL team. If I get any update on this, I will let you know.
Thanks.
Update:
The OpenGL team was able to reproduce the issue. A ticket has been opened to track this issue.
Thanks.
Hi @armageddon ,
As I can see from the related bug ticket, the above issue has been fixed and the fix is already available in the recent drivers (since 23.2.1). Could you please try the latest driver and let us know your findings?
Thanks.
Yes, it works! 🙂 thank you!
Thanks for the confirmation.