[Mesa-dev] [PATCH 04/13] nir: Add a layer_id system value intrinsic

Jason Ekstrand jason at jlekstrand.net
Wed Nov 16 19:31:36 UTC 2016


---
 src/compiler/nir/nir_intrinsics.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compiler/nir/nir_intrinsics.h b/src/compiler/nir/nir_intrinsics.h
index 00bd294..f45bfe2 100644
--- a/src/compiler/nir/nir_intrinsics.h
+++ b/src/compiler/nir/nir_intrinsics.h
@@ -328,6 +328,7 @@ 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)
 SYSTEM_VALUE(alpha_ref_float, 1, 0, xx, xx, xx)
+SYSTEM_VALUE(layer_id, 1, 0, xx, xx, xx)
 
 /* Blend constant color values.  Float values are clamped. */
 SYSTEM_VALUE(blend_const_color_r_float, 1, 0, xx, xx, xx)
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list