[Mesa-dev] [PATCH 1/2] glsl: add driconf to zero-init unintialized vars

Vladislav Egorov vegorov180 at gmail.com
Sun Jun 26 00:31:02 UTC 2016


Maybe it would make sense to add browsers like Firefox or Chrome to this 
list? I noticed that many shaders on e.g. ShaderToy expect 
zero-initialisation and fail miserably on Mesa. It seems that on most 
browsers/platforms/drivers variables are zero-initialised, so authors 
don't see anything going wrong. It also seems that eventually variables 
will be zero-initialised in WebGL: 
https://github.com/KhronosGroup/WebGL/issues/1266


More information about the mesa-dev mailing list