KhronosGroup / OpenGL-Refpages

OpenGL and OpenGL ES reference page sources, and generated HTML used as backing store for khronos.org
427 stars 134 forks source link

textureLod() taking vec4 for sampler2DShadow in ref page vec3 in spec #73

Closed Sknowman closed 4 years ago

Sknowman commented 4 years ago

The opengl ref pages https://www.khronos.org/registry/OpenGL-Refpages/gl4/ say

float textureLod(sampler2DShadow sampler, vec4 P, float lod);

The spec https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.4.60.pdf pg180

float textureLod(sampler2DShadow sampler, vec3 P, float lod)

vec4 use does not compile

oddhack commented 4 years ago

@sknowman please confirm if #74 fixes this issue. Thanks!