[Mesa-dev] Miscompilation on Intel?

org.mesa3d.mesa-users at io7m.com org.mesa3d.mesa-users at io7m.com
Sun Apr 23 19:00:21 UTC 2017


On 2017-04-23T18:12:47 +0000
<org.mesa3d.mesa-users at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 854 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170423/fade04d9/attachment.sig>


More information about the mesa-dev mailing list