diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2020-04-30 15:06:08 +0200 |
---|---|---|
committer | Pierre-Eric Pelloux-Prayer <[email protected]> | 2020-05-05 12:26:02 +0200 |
commit | 679421628bf89067b4cbfa85530f196ca2835717 (patch) | |
tree | 4bf9e1620392ec778d876f94810a481ffdf7806a /SConstruct | |
parent | fa6b22d36a915f27dee576063aead9e2c577f966 (diff) |
glsl: add a is_implicit_initializer flag
Shared globals and glsl_zero_init can cause linker errors if the
variable is only initialized in 1 place.
This commit adds a flag to variables that have been implicitely
initialized to be able in this situation to keep the explicit
initialization value.
Without this change the global-single-initializer-2-shaders piglit
test fails when using glsl_zero_init.
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4607>
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions