Declare extension usage for vertex shader layer
This commit is contained in:
parent
856ee103cf
commit
3be8fdf82c
@ -145,6 +145,8 @@ GLuint LoadShader(const char * file, unsigned type)
|
|||||||
char versionString[20];
|
char versionString[20];
|
||||||
sprintf(versionString, "#version %d\n", irr_driver->getGLSLVersion());
|
sprintf(versionString, "#version %d\n", irr_driver->getGLSLVersion());
|
||||||
std::string Code = versionString;
|
std::string Code = versionString;
|
||||||
|
if (irr_driver->hasVSLayerExtension())
|
||||||
|
Code += "#extension GL_AMD_vertex_shader_layer : enable\n";
|
||||||
if (UserConfigParams::m_azdo)
|
if (UserConfigParams::m_azdo)
|
||||||
Code += "#extension GL_ARB_bindless_texture : enable\n";
|
Code += "#extension GL_ARB_bindless_texture : enable\n";
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user