GLSL writer: emit gl_PointSize = 1 in all vertex shaders for OpenGL.
The OpenGL ES 3.1 spec says: "The point size is taken from the shader built-in gl_PointSize written by the vertex shader, and clamped to the implementation-dependent point size range. If the value written to gl_PointSize is less than or equal to zero, or if no value is written, the point size is undefined." ANGLE/D3D11 will emit a warning on this and abort processing, causing dawn_end2end tests to fail. Bug: dawn:1390 Change-Id: I6a56467842ba80d8a070af7240ee07bb111089dd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87720 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
parent
c0fe68907b
commit
790e4c2d60
|
@ -2207,6 +2207,9 @@ bool GeneratorImpl::EmitEntryPointFunction(const ast::Function* func) {
|
|||
// Emit original entry point function body
|
||||
{
|
||||
ScopedIndent si(this);
|
||||
if (func->PipelineStage() == ast::PipelineStage::kVertex) {
|
||||
line() << "gl_PointSize = 1.0;";
|
||||
}
|
||||
|
||||
if (!EmitStatements(func->body->statements)) {
|
||||
return false;
|
||||
|
|
|
@ -234,6 +234,7 @@ Interface vert_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
Interface inner_result = vert_main();
|
||||
gl_Position = inner_result.pos;
|
||||
col1_1 = inner_result.col1;
|
||||
|
|
|
@ -58,6 +58,7 @@ VertexOutput vs_main(VertexInput tint_symbol) {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
VertexInput tint_symbol_2 = VertexInput(position_1, color_1, quad_pos_1);
|
||||
VertexOutput inner_result = vs_main(tint_symbol_2);
|
||||
gl_Position = inner_result.position;
|
||||
|
|
|
@ -20,6 +20,7 @@ vec4 tint_symbol(VertexInputs0 inputs0, uint loc1, uint instance_index, VertexIn
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
VertexInputs0 tint_symbol_1 = VertexInputs0(uint(gl_VertexID), loc0_1);
|
||||
VertexInputs1 tint_symbol_2 = VertexInputs1(loc1_2, loc3_1);
|
||||
vec4 inner_result = tint_symbol(tint_symbol_1, loc1_1, uint(gl_InstanceID), tint_symbol_2);
|
||||
|
|
|
@ -30,6 +30,7 @@ VertexOutputs vs_main(uint VertexIndex) {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
VertexOutputs inner_result = vs_main(uint(gl_VertexID));
|
||||
texcoords_1 = inner_result.texcoords;
|
||||
gl_Position = inner_result.position;
|
||||
|
|
|
@ -66,6 +66,7 @@ main_out tint_symbol_1(vec3 position_param, vec2 uv_param, vec3 normal_param) {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
main_out inner_result = tint_symbol_1(position_param_1, uv_param_1, normal_param_1);
|
||||
gl_Position = inner_result.tint_symbol;
|
||||
vUV_1_1 = inner_result.vUV_1;
|
||||
|
|
|
@ -7,6 +7,7 @@ vec4 tint_symbol() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = tint_symbol();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -29,6 +29,7 @@ vec4 tint_symbol(uint tint_symbol_1) {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = tint_symbol(uint(gl_VertexID));
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -17,6 +17,7 @@ Output tint_symbol(uint VertexIndex, uint InstanceIndex) {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
Output inner_result = tint_symbol(uint(gl_VertexID), uint(gl_InstanceID));
|
||||
gl_Position = inner_result.Position;
|
||||
color_1 = inner_result.color;
|
||||
|
|
|
@ -153,6 +153,7 @@ VertexOutput tint_symbol_1(vec3 a_Position, vec2 a_UV, vec4 a_Color, vec3 a_Norm
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
VertexOutput inner_result = tint_symbol_1(a_Position_1, a_UV_1, a_Color_1, a_Normal_1, a_PosMtxIdx_1);
|
||||
v_Color_1 = inner_result.v_Color;
|
||||
v_TexCoord_1 = inner_result.v_TexCoord;
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -13,6 +13,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -13,6 +13,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -13,6 +13,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -13,6 +13,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -13,6 +13,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -13,6 +13,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -10,6 +10,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
|
@ -25,6 +25,7 @@ vec4 vertex_main() {
|
|||
}
|
||||
|
||||
void main() {
|
||||
gl_PointSize = 1.0;
|
||||
vec4 inner_result = vertex_main();
|
||||
gl_Position = inner_result;
|
||||
gl_Position.y = -(gl_Position.y);
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue