NVidia 关于新 OpenGL 的介绍似乎声称 GLSL 现在有#include 指令

NVidia presentation about new OpenGL seems to claim GLSL has now #include directives

根据 nvidia 的 those slides(幻灯片 24),最近的 opengl / glsl 中似乎有某种包含指令。

根据 the wiki,这似乎不是真的:“[...]。最值得注意的遗漏是 #include。”

那么,谁在这里?我是否应该自己做这不是问题,我只是想精确了解 NVidia 在本次演示中似乎声称的内容。

这是 NVIDIA 对正在发生的事情的错误陈述。出于某种原因,NVIDIA 决定在提供核心功能的同时提供仅扩展功能,没有任何关于哪些部分是仅扩展的声明。

这张幻灯片所指的是 ARB_shading_language_include, an OpenGL extension that has not be incorporated into any version of OpenGL. Indeed, if this database is accurate,那么 公开此扩展的 OpenGL 的唯一实现 是由 NVIDIA 编写的。

因此,如果您使用此功能,您就将自己绑定到 NVIDIA 的硬件上。