diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2016-05-22 16:33:44 -0700 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2016-06-01 19:29:02 -0700 |
commit | 8f48d23e0fcc0809f6397a67c26751a45a95e076 (patch) | |
tree | 8973802e0750be43d252facf97cb4a5dd29d0bec /src/compiler/nir | |
parent | 6f316c9d8658e870b0140b0f601d35d1fcf133b9 (diff) |
i965: Add nir channel_num system value
v2:
* simd16/32 fixes (curro)
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r-- | src/compiler/nir/nir_intrinsics.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_intrinsics.h b/src/compiler/nir/nir_intrinsics.h index aeb60382673..6f86c9f95f2 100644 --- a/src/compiler/nir/nir_intrinsics.h +++ b/src/compiler/nir/nir_intrinsics.h @@ -304,6 +304,7 @@ SYSTEM_VALUE(work_group_id, 3, 0, xx, xx, xx) SYSTEM_VALUE(user_clip_plane, 4, 1, UCP_ID, xx, xx) SYSTEM_VALUE(num_work_groups, 3, 0, xx, xx, xx) SYSTEM_VALUE(helper_invocation, 1, 0, xx, xx, xx) +SYSTEM_VALUE(channel_num, 1, 0, xx, xx, xx) /* * Load operations pull data from some piece of GPU memory. All load |