Values of few possible values

Known bits cannot see a value whose few possible values share no bit: a mask m = c ? ~0 : 0, its negation, its absolute value, a field or a product of those. The walk keeps, for a 32-bit integer or a boolean that is a function of one such value (its leaf), the value it has for each of the leaf's (ucas's map rule):

On the Maxwell translator's modules: the masks of predicates (c ? ~0 : 0), their negations and absolute values, and what vertex programs compute of them.


Made from docs/layers/gpu/spirv-opt.md at 69237645142c. GPL-3.0-or-later.