New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 11 users

Issue metadata

Status: Fixed
Owner:
User never visited
Closed: May 2011
OS: ----
Priority: Medium
Renderer: ----
Type: Enhancement

Blocking:
issue chromium:65340



Sign in to add a comment

Implement vertex texture fetch support

Reported by dan...@transgaming.com, Dec 14 2010 Back to list

Issue description

See http://code.google.com/p/angleproject/wiki/VTF for details on what needs to be done.

Attaching preliminary patch that someone started.  Note the most interesting aspects are likely the HLSL function implementations.  Probably don't want to include the software vertex processing bits (at least initially).

 
vertex_textures.patch
15.3 KB View Download

Comment 3 by mike.c...@gmail.com, Mar 21 2011

Would love to see VTF in ANGLE, would make for some excellent particle / N-body projects!
Owner: ----
Labels: -Type-Defect Type-Enhancement
Owner: nicolas....@gmail.com
Status: Started
I have a set of patches for this that pass the OpenGL ES 2.0 conformance test suite, renders the 'DisplacementMap' sample of the PowerVR SDK, and runs http://steveharoz.com/public/webgl/ with 'Geometry'.

If anyone knows of some other applications/samples that use VTF, or can make one (or knows someone who can make one), that would be very useful for testing. Thanks!
Project Member

Comment 10 by kbr@chromium.org, May 5 2011

Excellent, thank you! A couple more:

http://www.ibiblio.org/e-notes/webgl/gpu/big_wave.htm (this one uses OES_texture_float too, so is a good test of the combination of these extensions)
http://spidergl.org/example.php?id=8

Here is a cloth simulation demo by Petros @petrosagg Aggelatos from my team (Kamibu) which uses texture lookups in the vertex shader:

http://petros.kamibu.com/files/cloth/
webgl bench has a VTF test case: http://webgl-bench.appspot.com
All links marked by [EXT2] at
http://www.ibiblio.org/e-notes/webgl/gpu/contents.htm
[EXT+2] uses OES_texture_float too
Support for VTF has been implemented in r635 - r645.

Thanks all for the many test apps. Aside from those which don't run due to other reasons, VTF support appears robust and makes for some pretty demos!

Please note that the current Chrome build's shader validator incorrectly doesn't recognize the VTF functions if you don't have a DirectX 10 graphics card. Instead it should recognize them but report that the number of supported samplers is exceeded. This was fixed in the compiler code but will require a new Canary build to report the proper error message.
Some of these demos also revealed a depth test bug. This got fixed in r634.
Status: Fixed
It seems that chrome 13.0.766.0 (at least) has these changes picked up now. Closing.

Sign in to add a comment