On Sat, 28 Jan 2012 16:58:37 -0800, Kenneth Graunke <kenn...@whitecape.org> 
wrote:
> Exporting a publicly visible class with a generic name like
> "variable_entry" via ir_variable_refcount.h is kind of mean.
> 
> Many IR transformers would like to define their own "variable_entry"
> class.  If they accidentally include this header, the compiler/linker
> may get confused and try to instantiate the wrong variable_entry class,
> leading to bizarre runtime crashes.
> 
> The hope is that renaming this one will allow .cpp files to safely
> declare and use their own file-scope "variable_entry" classes.
> 
> This avoids crashes caused by converting src/glsl to automake.
> 
> Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
> Reviewed-and-tested-by: Matt Turner <matts...@gmail.com>

Series is:

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgp5kzx6UINhm.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to