diff options
author | Jason Ekstrand <[email protected]> | 2017-08-29 09:21:32 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-03-07 12:13:47 -0800 |
commit | 90c9f29518d32a29725b114f3b16ad8c62a812ff (patch) | |
tree | 236302586f2998c6788f92dd903b5341f3d61ae8 /src/intel/compiler/brw_eu_defines.h | |
parent | 8256ee3fa363064ac3bd824d436aced81c61d23f (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.h | 9 |
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, |