Rob Clark <robdcl...@gmail.com> writes: > Eric, > > we've managed to find the alpha-ref bitfield on a4xx, so suddenly I > don't actually need this anymore.. > > I've pushed a slightly updated version where I'd fixed a few more > things (and was passing the fbo-alphatest-formats tests for me) to my > github tree, in case you feel motivated to take it over: > > > https://github.com/freedreno/mesa/commit/70df2f9a2bbddf8e1608bab2a041a81b9b7c34e8 > > what was left was to drop the const semantic and convert it over to an > interface where driver passes in which const slot it wants to use. To > do that, we might want to re-work the tgsi_lowering interface slightly > so the driver does the first tgsi_scan_shader() (so it knows # of > consts) and tgsi_lowering only does the 2nd tgsi_scan_shader() in > cases where the shader is transformed. We seems like a sane change to > me.
With NIR getting ready to land, I'm planning on doing lowering in that instead. It already has a way to describe state updates required for uniforms, which I would just translate to my driver's per-uniform state update enum.
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev