fix: version directives need to come before comments (#4717)
even though https://www.khronos.org/opengl/wiki_opengl/index.php/Core_Language_(GLSL)#Version states the exact oppositedevelop
parent
eccfa3030e
commit
aac49336f2
|
@ -1,8 +1,7 @@
|
|||
#version 330 core
|
||||
// Copyright 2021 The Terasology Foundation
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
#version 330 core
|
||||
|
||||
in vec2 v_uv0;
|
||||
|
||||
uniform sampler2D texDepth;
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#version 330 core
|
||||
// Copyright 2021 The Terasology Foundation
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
#version 330 core
|
||||
|
||||
layout (location = 0) in vec3 in_vert;
|
||||
layout (location = 1) in vec3 in_normal;
|
||||
layout (location = 2) in vec2 in_uv0;
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#version 330 core
|
||||
// Copyright 2021 The Terasology Foundation
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
#version 330 core
|
||||
|
||||
#define UNCHARTED_2_TONEMAP
|
||||
// #define REINHARD_TONEMAP
|
||||
// #define BURGESS_TONEMAP
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#version 330 core
|
||||
// Copyright 2021 The Terasology Foundation
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
#version 330 core
|
||||
|
||||
layout (location = 0) in vec3 in_vert;
|
||||
layout (location = 1) in vec3 in_normal;
|
||||
layout (location = 2) in vec2 in_uv0;
|
||||
|
|
Loading…
Reference in New Issue