summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-01-25 11:05:52 -0800
committerMatt Turner <[email protected]>2016-02-01 10:43:57 -0800
commit9b8786eba95532d53c45d52059a44abd7ee93530 (patch)
tree490d7b4a39bf10942937cf47cbae0fbd05b56543 /src/compiler/nir/nir.h
parent1dc312e295c66ab8674d2f47f859e310f607b2ed (diff)
nir: Add lowering support for packing opcodes.
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index fa53d818fb7..da55affe388 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -1469,6 +1469,10 @@ typedef struct nir_shader_compiler_options {
bool lower_ffract;
bool lower_pack_half_2x16;
+ bool lower_pack_unorm_2x16;
+ bool lower_pack_snorm_2x16;
+ bool lower_pack_unorm_4x8;
+ bool lower_pack_snorm_4x8;
bool lower_unpack_half_2x16;
bool lower_extract_byte;