diff options
author | Matt Turner <[email protected]> | 2016-01-21 15:30:57 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2016-02-01 10:43:57 -0800 |
commit | 1a53a4fc7ab0a1f61504f62b9e1e9bce0bc86b52 (patch) | |
tree | 6f7c4fd10829bd58b5c46a3ca18aecb24a5ec850 /src/mesa/drivers/dri/i965/brw_compiler.c | |
parent | 9ce901058f3d08031d486da7f0f8b86ea351ef69 (diff) |
i965/fs: Switch from GLSL IR to NIR for un/packHalf2x16 scalarizing.
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_compiler.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_compiler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.c b/src/mesa/drivers/dri/i965/brw_compiler.c index 115d19c1d3e..5b8358ad8b6 100644 --- a/src/mesa/drivers/dri/i965/brw_compiler.c +++ b/src/mesa/drivers/dri/i965/brw_compiler.c @@ -86,6 +86,8 @@ shader_perf_log_mesa(void *data, const char *fmt, ...) static const struct nir_shader_compiler_options scalar_nir_options = { COMMON_OPTIONS, + .lower_pack_half_2x16 = true, + .lower_unpack_half_2x16 = true, }; static const struct nir_shader_compiler_options vector_nir_options = { |