Drawable Renderer (#1570), Update shader sources

This commit is contained in:
Tim Sylvester
2023-05-22 17:46:23 -07:00
committed by Bart Louwers
parent c873570987
commit ec45ef654e
6 changed files with 12 additions and 5 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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() {

View File

@@ -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

View File

@@ -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;