Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
10
libs/shaders/GL/debug_rect.vsh.glsl
Normal file
10
libs/shaders/GL/debug_rect.vsh.glsl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
layout (location = 0) in vec2 a_position;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(a_position, 0, 1);
|
||||
#ifdef VULKAN
|
||||
gl_Position.y = -gl_Position.y;
|
||||
gl_Position.z = (gl_Position.z + gl_Position.w) * 0.5;
|
||||
#endif
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue