[Mesa-dev] [Mesa-stable] [PATCH 1/3] i965: Put an assertion to check valid varying_to_slot[varying]

Carl Worth cworth at cworth.org
Mon Apr 21 11:48:41 PDT 2014


Anuj Phogat <anuj.phogat at gmail.com> writes:
>        decl |= buffer << SO_DECL_OUTPUT_BUFFER_SLOT_SHIFT;
> +      assert(vue_map->varying_to_slot[varying] >= 0);
>        decl |= vue_map->varying_to_slot[varying] <<

I have the same question here as in my previous message to another
patch.

Could this new assert() cause a program which was previously functioning
to stop functioning?

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140421/8a22a30b/attachment.sig>


More information about the mesa-dev mailing list