nir: Add lowering of nir_op_unpack_half_2x16.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
Matt Turner
2016-01-21 15:46:47 -08:00
parent e4278a847e
commit 9ce901058f
2 changed files with 29 additions and 4 deletions

View File

@@ -1468,6 +1468,9 @@ typedef struct nir_shader_compiler_options {
/** lowers ffract to fsub+ffloor: */
bool lower_ffract;
bool lower_pack_half_2x16;
bool lower_unpack_half_2x16;
/**
* Does the driver support real 32-bit integers? (Otherwise, integers
* are simulated by floats.)