[Mesa-dev] [Bug 99477] [Master of Orion] Shader compile error: no matching function for call to `texture2DLod(sampler2D, vec2, float)';

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 21 17:22:34 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99477

--- Comment #6 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(In reply to Andreas Schultes from comment #5)
> Inserting "#version 130" fix this bug. 
> https://www.opengl.org/registry/doc/GLSLangSpec.Full.1.30.10.pdf on page 12.
> tells that a #version is required to use version 130.

FWIW it should be available in vertex shaders starting with GLSL 1.10 (no
#version) required. But to use in fragment shaders, you either need #version
130 or #extension ARB_shader_texture_lod: require.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170121/1651910f/attachment-0001.html>


More information about the mesa-dev mailing list