IronRDP/crates/ironrdp-glutin-renderer/shaders/texture_shader.vert
Benoît Cortier 55d11a5000
refactor: clarify project architecture (#123)
> Make the root of the workspace a virtual manifest. It might
> be tempting to put the main crate into the root, but that
> pollutes the root with src/, requires passing --workspace to
> every Cargo command, and adds an exception to an otherwise
> consistent structure.

> Don’t succumb to the temptation to strip common prefix
> from folder names. If each crate is named exactly as the
> folder it lives in, navigation and renames become easier.
> Cargo.tomls of reverse dependencies mention both the folder
> and the crate name, it’s useful when they are exactly the
> same.

Source:
https://matklad.github.io/2021/08/22/large-rust-workspaces.html#Smaller-Tips
2023-05-09 21:00:07 +00:00

10 lines
No EOL
197 B
GLSL

precision mediump float;
attribute vec2 a_position;
attribute vec2 a_tex_coord;
varying vec2 v_texCoord;
void main(){
v_texCoord = a_tex_coord;
gl_Position = vec4(a_position, 0.0, 1.0);
}