Roland Scheidegger wrote: > Jerome Glisse wrote: > >>>> According to fragment program extension, TEX, TXP, ... should >>>> give you the right A value (Ap depending on which texture unit >>>> you are using). >>> >>> That's not how I read that. TEX,TXP,... refer to texture sampling >>> only, there is no thing as previous unit there. Thus, for an RGB >>> texture, A should be always 1. >> >> >> What induced me to this , is that in fragment program extension >> description they say to look at table 3.21 and in this one there is >> reference to Ap for A in RGB. Anyway i think you are right here. > > What version of the spec are you using? Table 3.21 only lists the > component mapping here. > > Well, if my theory is sound, then the glean pixelFormats test is wrong.
I don't think the test is wrong as-is. It's just that GL_COMBINE mode exercises things in a different way. A better way, in fact. I'll clean up your patch, Roland, and check it in. I'll check if GL_ARB_texture_env_combine is supported at run time. -Brian ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel