Difference between revisions of "Known Driver Bugs"

(Created page with "== Nvidia == * Some shader with loops with a long body like GI makes the shader compiler crash. Workaround : Manually unroll the loop. * Array of constants seem to be slower tha...")
 
Line 5: Line 5:
 
* Array of constants seem to be slower than normal when dynamic addressed.
 
* Array of constants seem to be slower than normal when dynamic addressed.
 
Workaround : Use uniform arrays.
 
Workaround : Use uniform arrays.
 +
* imageLoad() returns undefined values with out of bound index instead of 0 (as mentionned by the spec) on linux.
 +
Workaround : Clamp indexes or use texture.
  
 
== AMD ==
 
== AMD ==
Line 12: Line 14:
 
* Bindless srgb textures are sampled like rgb textures
 
* Bindless srgb textures are sampled like rgb textures
 
Workaround : Use #ifdefs and pow(., 2.2) to manually do the conversion
 
Workaround : Use #ifdefs and pow(., 2.2) to manually do the conversion
 +
* imageLoad() returns undefined values with out of bound index instead of 0 (as mentionned by the spec) on linux.
 +
Workaround : Clamp indexes or use texture.
 +
* On linux libasan crash early because of overlapping memcpy addresses.
 +
Workaround : Do not use libasan with catalyst
  
 
== Mesa ==
 
== Mesa ==

Revision as of 20:38, 17 September 2016

Nvidia

  • Some shader with loops with a long body like GI makes the shader compiler crash.

Workaround : Manually unroll the loop.

  • Array of constants seem to be slower than normal when dynamic addressed.

Workaround : Use uniform arrays.

  • imageLoad() returns undefined values with out of bound index instead of 0 (as mentionned by the spec) on linux.

Workaround : Clamp indexes or use texture.

AMD

  • Samplers object seems not to be properly unbound when dealing with depth test and array texture like for shadowedsunlight shader.

Workaround : Use a dedicated texture unit for such samplers

  • Bindless srgb textures are sampled like rgb textures

Workaround : Use #ifdefs and pow(., 2.2) to manually do the conversion

  • imageLoad() returns undefined values with out of bound index instead of 0 (as mentionned by the spec) on linux.

Workaround : Clamp indexes or use texture.

  • On linux libasan crash early because of overlapping memcpy addresses.

Workaround : Do not use libasan with catalyst

Mesa

  • DoF shaders make the compiler go into an infinite loop

Workaround : Do not activate dof

Intel

  • On Sandy Bridge UBO are not properly updated

Workaround : Do not use UBO

  • srgb Texture compression is broken.

Workaround : Do not use texture compression.