cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

blinkhawk
Journeyman III
Journeyman III

TextureViews on rendertargets will render under the parent format instead of the textureView's format in AMD OpenGL Windows driver

I'm not sure if the developers are aware of this bug but I've had it a long time and have had to resort to glCopyImageSubData to avoid it. The issue occurs when you have a Texture of Format A and a Texture View of that Texture using format B. If I setup the TextureView as a renderTarget, the data rendered will be wrong and use the format of the parent texture. I have tested this in other drivers, including NVIDIA's and Intel's where it works correctly, so I'm assuming it's an AMD's driver bug.

0 Kudos
4 Replies
dorisyan
Staff
Staff

Re: TextureViews on rendertargets will render under the parent format instead of the textureView's format in AMD OpenGL Windows driver

Hi blinkhawk‌, could you please provide a minimal code that can reproduce this problem? Thanks very much!

0 Kudos
blinkhawk
Journeyman III
Journeyman III

Re: TextureViews on rendertargets will render under the parent format instead of the textureView's format in AMD OpenGL Windows driver

The problem was detected from commit history, our users and bisect a long time ago. It will take me a time to provide you with a minimal test as we will have to remake it. This will take some time though as we currently got a busy schedule. Sorry for answering late. We'll provide as soon as possible.

0 Kudos
dorisyan
Staff
Staff

Re: TextureViews on rendertargets will render under the parent format instead of the textureView's format in AMD OpenGL Windows driver

That's great! Thanks very much!

0 Kudos
a_devaykin
Adept I
Adept I

Re: TextureViews on rendertargets will render under the parent format instead of the textureView's format in AMD OpenGL Windows driver

Hello.

Sad to see that this issue is still not solved

I've created a minimal repro example of this problem: GitHub - adevaykin/AMDRenderToTextureView: Repro case for bug report 

0 Kudos