Jonathan's picture

[GLSL] Same shader and different cards, not same rendering ?! (Intel chipset)

Hi,

Here's what I get, when I'm rendering 16bits (medical) images, with 2 differents cards : NVidia Quadro FX 580 / Intel Q45 Express Chipset, using the same (brightness/contrast) shader.

Any ideas ?

Thanks

Inline Images

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Looks like a precision issue. Does Intel support (and obey) precision modifiers in shaders? If yes, try setting everything to highp.

Additionally, Intel drivers have an option to downsample all 32bpp textures to 16bpp, make sure this is disabled (or try using floating-point textures which shouldn't be affected by this).

Jonathan's picture

Thanks for the answer.

The Intel card has GLSL 1.20 and precision modifiers appears in GLSL 1.30.
The driver is correctly set to 32bpp textures, and I've also try to set all parameters to "quality".
Unsuccessfully.

I'll try using floating point texture !

Jonathan's picture

Hi again,

I've tried using floating-point textures, but problem is still here.
Could it be possible that the Intel card don't support 16bits textures ?
I just noticed that isn't happening on 8bits textures..

Is there an extension to check this support (higher than 8 bits) ?

Thanks .