commit | 9b35faba426acc111741aa69752cb87185e548aa | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Tue Aug 22 14:09:37 2017 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Tue Nov 07 10:37:52 2017 -0800 |
tree | 7b598b13ff074ca25c01ebd1e364a7066939b07c | |
parent | 3ee91ee6ac739f7ad4d5d4b066073efbeb511b41 [diff] |
nir/lower_system_values: Lower SUBGROUP_*_MASK based on type The SUBGROUP_*_MASK system values are uint64_t when coming in from GLSL but uvec4 when coming in from SPIR-V. Lowering based on type allows us to nicely handle both. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>