驱动开发系列66 - glCompileShader实现 - GLSL中添加内置函数
一:概述
本文介绍如何为 GLSL 语言中增加一个内置函数,以https://registry.khronos.org/OpenGL/extensions/ARB/ARB_shader_texture_image_samples.txt扩展为例,介绍下添加textureSamples内置函数的过程。
本文介绍如何为 GLSL 语言中增加一个内置函数,以https://registry.khronos.org/OpenGL/extensions/ARB/ARB_shader_texture_image_samples.txt扩展为例,介绍下添加textureSamples内置函数的过程。