summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_eu_defines.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-08-29 09:21:32 -0700
committerJason Ekstrand <[email protected]>2018-03-07 12:13:47 -0800
commit90c9f29518d32a29725b114f3b16ad8c62a812ff (patch)
tree236302586f2998c6788f92dd903b5341f3d61ae8 /src/intel/compiler/brw_eu_defines.h
parent8256ee3fa363064ac3bd824d436aced81c61d23f (diff)
i965/fs: Add support for nir_intrinsic_shuffle
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu_defines.h')
-rw-r--r--src/intel/compiler/brw_eu_defines.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_eu_defines.h b/src/intel/compiler/brw_eu_defines.h
index 30e2e8f0708..3449c73d771 100644
--- a/src/intel/compiler/brw_eu_defines.h
+++ b/src/intel/compiler/brw_eu_defines.h
@@ -451,6 +451,15 @@ enum opcode {
*/
SHADER_OPCODE_BROADCAST,
+ /* Pick the channel from its first source register given by the index
+ * specified as second source.
+ *
+ * This is similar to the BROADCAST instruction except that it takes a
+ * dynamic index and potentially puts a different value in each output
+ * channel.
+ */
+ SHADER_OPCODE_SHUFFLE,
+
SHADER_OPCODE_GET_BUFFER_SIZE,
VEC4_OPCODE_MOV_BYTES,