[Mesa-dev] [PATCH v2] glsl: Track initial mask in constant propagation live set

Eric Anholt eric at anholt.net
Tue Jun 28 10:07:05 PDT 2011


On Mon, 27 Jun 2011 19:51:51 -0700, "Ian Romanick" <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
> The set of values initially available (before any kills) must be
> tracked with each constant in the set.  Otherwise the wrong component
> can be selected after earlier components have been killed.
> 
> NOTE: This is a candidate for the 7.10 and 7.11 branches.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37383
> Cc: Eric Anholt <eric at anholt.net>
> Cc: Kenneth Graunke <kenneth at whitecape.org>
> Cc: Matthias Bentrup <matthias.bentrup at googlemail.com>
> ---
> v2 fixes some regressions in the previous version.  Instead of
> tracking the kill mask in the ACP, the initial value mask is tracked.
> A copy constructor is added to make sure the correct initial mask is
> propagated to copies.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110628/49c6047b/attachment.pgp>


More information about the mesa-dev mailing list