commit | 80ddfab2f54d7cd9dd4b93d2fbfa239f061a1f2b | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Fri Sep 29 17:57:32 2017 -0700 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Tue Nov 07 10:37:52 2017 -0800 |
tree | ae7d48e61d34f58d19bc7958b1cb31f3d87a8bed | |
parent | 25f7453c9e6dc7c947b936bdac86680c332362bf [diff] |
intel/cs: Rework the way thread local ID is handled Previously, brw_nir_lower_intrinsics added the param and then emitted a load_uniform intrinsic to load it directly. This commit switches things over to use a specific NIR intrinsic for the thread id. The one thing I don't like about this approach is that we have to copy thread_local_id over to the new visitor in import_uniforms. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>