VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/shaders/cconvBGR.c@ 22776

Last change on this file since 22776 was 22776, checked in by vboxsync, 16 years ago

video hw accel: more accurate shaders

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 223 bytes
Line 
1#extension GL_ARB_texture_rectangle : enable
2uniform sampler2DRect uSrcTex;
3void vboxCConv(int srcI)
4{
5 vec2 srcCoord = vec2(gl_TexCoord[srcI]);
6 gl_FragColor = texture2DRect(uSrcTex, vec2(srcCoord.x, srcCoord.y));
7}
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette