1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-09 20:32:43 +01:00

Merge pull request #171 from tsjost/removeglextension

Remove GLSL extensions that are in core
This commit is contained in:
Daniel Evans 2016-08-03 22:21:04 +01:00 committed by GitHub
commit 9b00b7cbee
3 changed files with 0 additions and 18 deletions

View File

@ -4,8 +4,6 @@ namespace GameShaders {
const char* WaterHQ::VertexShader = R"(
#version 330
#extension GL_ARB_explicit_attrib_location : enable
#extension GL_ARB_uniform_buffer_object : enable
layout(location = 0) in vec2 position;
out vec2 TexCoords;
@ -77,8 +75,6 @@ void main() {
const char* Mask3D::VertexShader = R"(
#version 330
#extension GL_ARB_explicit_attrib_location : enable
#extension GL_ARB_uniform_buffer_object : enable
layout(location = 0) in vec3 position;
@ -112,8 +108,6 @@ void main() {
const char* Sky::VertexShader = R"(
#version 330
#extension GL_ARB_explicit_attrib_location : enable
#extension GL_ARB_uniform_buffer_object : enable
layout(std140) uniform SceneData {
mat4 projection;
@ -149,8 +143,6 @@ void main() {
const char* WorldObject::VertexShader = R"(
#version 330
#extension GL_ARB_explicit_attrib_location : enable
#extension GL_ARB_uniform_buffer_object : enable
layout(location = 0) in vec3 position;
layout(location = 1) in vec3 normal;
@ -194,7 +186,6 @@ void main()
const char* WorldObject::FragmentShader = R"(
#version 330
#extension GL_ARB_uniform_buffer_object : enable
in vec3 Normal;
in vec2 TexCoords;
@ -248,7 +239,6 @@ void main()
const char* Particle::FragmentShader = R"(
#version 330
#extension GL_ARB_uniform_buffer_object : enable
in vec3 Normal;
in vec2 TexCoords;
@ -291,8 +281,6 @@ void main()
const char* ScreenSpaceRect::VertexShader = R"(
#version 330
#extension GL_ARB_explicit_attrib_location : enable
#extension GL_ARB_uniform_buffer_object : enable
layout(location = 0) in vec2 position;
out vec2 TexCoords;
@ -324,8 +312,6 @@ void main()
const char* DefaultPostProcess::VertexShader = R"(
#version 330
#extension GL_ARB_explicit_attrib_location : enable
#extension GL_ARB_uniform_buffer_object : enable
layout(location = 0) in vec2 position;
out vec2 TexCoords;

View File

@ -8,8 +8,6 @@
const char* MapVertexShader = R"(
#version 330
#extension GL_ARB_explicit_attrib_location : enable
#extension GL_ARB_uniform_buffer_object : enable
layout(location = 0) in vec2 position;
out vec2 TexCoord;

View File

@ -58,8 +58,6 @@ glm::vec4 indexToCoord(int font, int index)
const char* TextVertexShader = R"(
#version 330
#extension GL_ARB_explicit_attrib_location : enable
#extension GL_ARB_uniform_buffer_object : enable
layout(location = 0) in vec2 position;
layout(location = 3) in vec2 texcoord;