cancel
Showing results for 
Search instead for 
Did you mean: 

OpenGL & Vulkan

airgamer
Journeyman III

GL_ARB_gl_spirv bug with dual source blending

I decided to investigate using GL_ARB_gl_spirv to work around the bug mentioned here GL_ARB_separate_shader_objects extension broken

I ported the test case attached in the aforementioned thread to use spirv shaders, but found similar issues.

Using a AMD R9 380;

When spirv shaders are used with a monolithic build, the output shows as yellow, similar to the output of the original test (when it should be green)

When SSO is used, the output is white, indicating a separate issue.

When using an old nvidia mobile GPU, all tests display green (as it should).

I'm not entirely sure what the issue is, but as with the original issue, I suspect a driver bug.

Attached is a test case, the console will display 4 options, (1: GLSL, 2: GLSL SSO, 3: Spriv, 4: Spriv SSO) and will wait for you to enter the number of a test you want to run.

0 Likes
Reply
5 Replies
airgamer
Journeyman III

Re: GL_ARB_gl_spirv bug with dual source blending

Still an issue on 18.8.1

0 Likes
Reply
xhuang
Staff
Staff

Re: GL_ARB_gl_spirv bug with dual source blending

Hi dipak​, can you move this thread to OpenGL & Vulkan?

0 Likes
Reply
dipak
Staff
Staff

Re: GL_ARB_gl_spirv bug with dual source blending

Done.

Hi airgamer I've whitelisted you now so you will be able to post anywhere in DevGurus. 

xhuang
Staff
Staff

Re: GL_ARB_gl_spirv bug with dual source blending

pastedImage_0.png

pastedImage_1.png

Yes, i could see the same symptom on my box. We will investigate this problem also. Thanks for your reporting.

0 Likes
Reply
xhuang
Staff
Staff

Re: GL_ARB_gl_spirv bug with dual source blending

Hello,

Here's some update for the issue using 3.SPIRV: the problem has been fixed and will be included the in formal release soon. Thanks.

pastedImage_0.png

0 Likes
Reply