[Mesa-dev] [PATCH] gallium: Make TGSI_SEMANTIC_FOG register four-component wide.

Michal Krol michal at vmware.com
Wed Nov 20 08:07:41 PST 2013


----- Original Message -----
> From: José Fonseca <jfonseca at vmware.com>
> 
> +            t->outputs[i] = ureg_writemask(t->outputs[i], TGSI_WRITEMASK_X);

What happens when the application decides to write to any component other than X? The application writemask combined with the one above will yield an empty one. Are we making sure that such instructions are skipped?

-- 
michal


More information about the mesa-dev mailing list