Address feedback

This commit is contained in:
Feng Chen 2023-01-11 11:10:48 +08:00
parent 3b5e1a24bc
commit a3da7094bc
5 changed files with 62 additions and 14 deletions

View file

@ -32,4 +32,4 @@ void main() {
float y = float((VERTEX_ID & 2) << 1);
gl_Position = vec4(x - 1.0, FLIPY * (y - 1.0), 0.0, 1.0);
texcoord = fma(vec2(x, y) / 2.0, tex_scale, tex_offset);
}
}