Michał Król wrote:
Hello,
I am planning to enable ARB_vertex_shader in Mesa.FWIU, I must add a new stage 
in the tnl module.Done, dont see the results.Added conditions in other stages 
that are replacedby vertex shaders. Still I see black screen.

Is your code being run? Try running gdb, breaking in _tnl_run_pipeline and stepping through the code to see what's happening.

What other source files, besides t_vb_*.c, shouldI be aware of to have vertex 
shader running?

As long as the new stage is in the pipeline, that should be enough (for tnl).

Also, I am not sure with the tnl attrib indexes.What is the diferrence between 
VERT_ATTRIB_*,VERT_RESULT_ and _TNL_ATTRIB_* index flavours?Are the attrib 
indices generic and sharedamong all vertex-programming models?

The TNL_ATTRIB_* bits are a superset of VERT_ATTRIB bits and are used throughout the pipeline. The VERT_RESULT_ bits aren't really used except in the existing vertex-program stages, and they are translated away straight away. This should change so that mesa's pipeline better matches what is specified in the vertex and fragment program extensions.

Keith



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to