mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-23 01:29:33 +02:00
Merge branch 'gl_common' into bindless
This commit is contained in:
commit
3b5948ad85
1 changed files with 2 additions and 4 deletions
|
@ -17,8 +17,7 @@ std::string GLBackend::getBackendShaderHeader() const {
|
||||||
|
|
||||||
#if defined(USE_GLES)
|
#if defined(USE_GLES)
|
||||||
static const std::string header(
|
static const std::string header(
|
||||||
R"SHADER(
|
R"SHADER(#version 310 es
|
||||||
#version 310 es
|
|
||||||
#extension GL_EXT_texture_buffer : enable
|
#extension GL_EXT_texture_buffer : enable
|
||||||
precision lowp float; // check precision 2
|
precision lowp float; // check precision 2
|
||||||
precision lowp samplerBuffer;
|
precision lowp samplerBuffer;
|
||||||
|
@ -26,8 +25,7 @@ precision lowp sampler2DShadow;
|
||||||
)SHADER");
|
)SHADER");
|
||||||
#else
|
#else
|
||||||
static const std::string header(
|
static const std::string header(
|
||||||
R"SHADER(
|
R"SHADER(#version 410 core
|
||||||
#version 410 core
|
|
||||||
)SHADER");
|
)SHADER");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue