On 2017-04-23T18:12:47 +0000
<org.mesa3d.mesa-us...@io7m.com> wrote:
>
> Hello.
> 
> I have the following apitrace that seems to indicate a uniform variable
> being erroneously optimized out:

This one is my fault. Due to a preprocessing mishap, the values for the
surface albedo and specular values were being set to (0.0, 0.0, 0.0).
The compiler correctly spotted that I was multiplying the light values
by this constant zero value later on and optimized out the light values
entirely.

Sorry for the noise!

M

Attachment: pgpUDyb4euEpC.pgp
Description: OpenPGP digital signature

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

Reply via email to