Drawable Renderer (#1570), Update shader sources
This commit is contained in:
committed by
Bart Louwers
parent
c873570987
commit
ec45ef654e
@@ -1,5 +1,5 @@
|
||||
// Generated code, do not modify this file!
|
||||
// Generated on 2023-05-12T17:51:34.322Z by mwilsnd using shaders/generate_shader_code.js
|
||||
// Generated on 2023-05-23T00:45:10.632Z by timsylvester using shaders/generate_shader_code.js
|
||||
|
||||
#pragma once
|
||||
#include <mbgl/shaders/shader_source.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Generated code, do not modify this file!
|
||||
// Generated on 2023-05-15T21:08:38.312Z by timsylvester using shaders/generate_shader_code.js
|
||||
// Generated on 2023-05-23T00:45:10.632Z by timsylvester using shaders/generate_shader_code.js
|
||||
|
||||
#pragma once
|
||||
#include <mbgl/shaders/shader_source.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Generated code, do not modify this file!
|
||||
// Generated on 2023-05-18T18:41:48.652Z by timsylvester using shaders/generate_shader_code.js
|
||||
// Generated on 2023-05-23T00:45:10.632Z by timsylvester using shaders/generate_shader_code.js
|
||||
|
||||
#pragma once
|
||||
#include <mbgl/shaders/shader_source.hpp>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
layout (location = 0) in vec2 a_pos;
|
||||
layout (std140) uniform DrawableUBO {
|
||||
mat4 u_matrix;
|
||||
vec2 u_world;
|
||||
vec2 pad;
|
||||
};
|
||||
|
||||
void main() {
|
||||
|
||||
@@ -2,6 +2,8 @@ layout (location = 0) in vec2 a_pos;
|
||||
|
||||
layout (std140) uniform DrawableUBO {
|
||||
mat4 u_matrix;
|
||||
vec2 u_world;
|
||||
vec2 pad;
|
||||
};
|
||||
|
||||
#pragma mapbox: define highp vec4 color
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
layout (location = 0) in vec2 a_pos;
|
||||
|
||||
uniform mat4 u_matrix;
|
||||
uniform vec2 u_world;
|
||||
layout (std140) uniform DrawableUBO {
|
||||
mat4 u_matrix;
|
||||
vec2 u_world;
|
||||
vec2 pad;
|
||||
};
|
||||
|
||||
out vec2 v_pos;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user