diff options
author | Connor Abbott <cwabbott0@gmail.com> | 2016-05-05 11:40:41 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <siglesias@igalia.com> | 2016-05-10 11:25:05 +0200 |
commit | ba582e58cd30c815137a11c9497b01d97842e525 (patch) | |
tree | c3165a0d703a1f125f6a925e1b0bee9d76b2df16 /src/mesa/drivers/dri/i965/brw_defines.h | |
parent | cc3bae5cd7a599e62bfad3b6bf78729f6d07fa61 (diff) | |
download | external_mesa3d-ba582e58cd30c815137a11c9497b01d97842e525.zip external_mesa3d-ba582e58cd30c815137a11c9497b01d97842e525.tar.gz external_mesa3d-ba582e58cd30c815137a11c9497b01d97842e525.tar.bz2 |
i965/fs: add PACK opcode
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_defines.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_defines.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index 60b696c..4696faf 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -1013,6 +1013,15 @@ enum opcode { */ SHADER_OPCODE_LOAD_PAYLOAD, + /** + * Packs a number of sources into a single value. Unlike LOAD_PAYLOAD, this + * acts intra-channel, obtaining the final value for each channel by + * combining the sources values for the same channel, the first source + * occupying the lowest bits and the last source occupying the highest + * bits. + */ + FS_OPCODE_PACK, + SHADER_OPCODE_SHADER_TIME_ADD, /** |