Mercurial > repos > blastem
view shaders/default.v.glsl @ 1463:63f309cfbef9
Fix what are hopefully th elast of the 68K instruction decoder bugs revealed by r57shell/realmonster's test ROM
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 08 Sep 2017 00:38:10 -0700 |
parents | b1147418254a |
children | fa9ae059e4d3 |
line wrap: on
line source
#version 110 attribute vec2 pos; varying vec2 texcoord; uniform float width, height; void main() { gl_Position = vec4(pos, 0.0, 1.0); texcoord = sign(pos) * vec2(width/1024.0, height/-1024.0) + vec2(width/1024.0, height/1024.0); }