☰
Debian Codegraph
@
1.9.25+dfsg3-3
/
/
shaders
/
src
/
post_process_getters.vs
☽
☼
shaders/src/post_process_getters.vs
code
plain
raw
Apache-2.0
2012-2021, The Android Open Source Project; 2015-2021, Google LLC; 2017, Romain Guy
debian/copyright
1
/** @public-api */
2
vec4 getPosition() {
3
vec4 pos = position;
4
5
// In Vulkan, clip space is Y-down. In OpenGL and Metal, clip space is Y-up.
6
#if defined(TARGET_VULKAN_ENVIRONMENT)
7
pos.y = -pos.y;
8
#endif
9
10
return pos;
11
}