projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e44799
)
nir: Add a layer_id system value intrinsic
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 15 Nov 2016 23:15:48 +0000
(15:15 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 22 Nov 2016 21:03:29 +0000
(13:03 -0800)
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/compiler/nir/nir_intrinsics.h
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_intrinsics.h
b/src/compiler/nir/nir_intrinsics.h
index 00bd294b910d3e73e71a241b177be12163e140da..f45bfe22a0d8003355f3ba24c56693ba24b5292c 100644
(file)
--- 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)