Removed NativeImage Y flip (moved to gpu)

Removed un-needed framebuffers
Removed multi-framebuffer async path and made everything "async"
This commit is contained in:
mcrcortex committed 2024-08-29 10:37:28 +10:00
1 parent a6493b623c
commit e208d9babc
5 files changed
+85 -70

No files matched your search

@@ -0,0 +1,9 @@
{
"vertex": "blit_screen_flip",
"fragment": "blit_screen",
"samplers": [
{ "name": "DiffuseSampler" }
],
"uniforms": [
]
}
@@ -0,0 +1,11 @@
#version 150
in vec3 Position;
out vec2 texCoord;
void main() {
vec2 screenPos = vec2(Position.x, 1-Position.y) * 2.0 - 1.0;
gl_Position = vec4(screenPos.x, screenPos.y, 1.0, 1.0);
texCoord = Position.xy;
}