Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
23106 Discussions

GLSL compiler error when using biased textureOffset overloads

crosire
Beginner
1,674 Views
A customer ran into an issue where the GLSL shaders of my application would fail to compile on Intel hardware. He provided me with the following information about his hardware: Intel HD Graphics 4600 Driver Version: 10.18.14.4080 Operating System: Windows 8.1 Pro Processor: Intel Code i5-4430 Device ID: 0412 The problematic shaders contain the following helper function: vec4 _textureBias(sampler2D s, vec4 c) { return textureOffset(s, c.xy, ivec2(0), c.w); } Which is using the second textureOffset intrinsic function overload, as described here: https://www.opengl.org/sdk/docs/man/html/textureOffset.xhtml. Note the optional last "bias" parameter. This compiles fine on both NVIDIA and AMD hardware. The above Intel system however reports: ERROR: 'textureOffset' : no matching overloaded function found (using implicit conversion) I suspect the driver is missing the overloads with that optional "bias" parameter. Removing this function solves the error, which is working for now, because it's not currently in use, but I'd still prefer to support it. Thank you in advance!
0 Kudos
1 Reply
Michael_C_Intel2
Employee
1,674 Views

Hi,

I am checking to see if this is a known issue with our our driver. In the meantime I want to get an internal ticket filed and get our graphics driver development team to investigate (if they are not already).
 

In order to get things moving quickly please reply to this thread with the details using the format shown in the sticky post in this forum

https://software.intel.com/en-us/forums/topic/532646

Information like how to reproduce including the name of your application as we will need to investigate.

-Michael

0 Kudos
Reply