On 8/27/06, Rune Petersen <[EMAIL PROTECTED]> wrote: > Hi, > > Quake3 causes fallback because r300_translate_vertex_shader() returns > early and doesn't translate the shader. > > The culprit: > if (!mesa_vp->Base.String) > return; > > To me it looks suspect because checking a pointer to the shader string > to verify that the parsed shader is valid doesn't make sense to me. > And this check i omitted for fragment translation which uses the same > structure. > > Anything obvious I missed? > > > Rune Petersen >
I think this check was added few day ago because of a bug spotted in r200 something about a call to fragment shader before any fragment shader program is supplied. Maybe digging a bit the spec and see what to do when called without any program bound. best, Jerome Glisse ------------------------------------------------------------------------- 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