diff options
author | Jose Maria Casanova Crespo <[email protected]> | 2018-07-09 02:00:23 +0200 |
---|---|---|
committer | Jose Maria Casanova Crespo <[email protected]> | 2018-07-10 00:14:49 +0200 |
commit | 87fc9af3fc5ab7b5b61e17615ce5ec47e8907698 (patch) | |
tree | f409f2734722daff93cfbeb460e179e2da259ca9 /src/intel | |
parent | 030472c1f04d393514df94d35fb9c1de499ff8cf (diff) |
i965/fs: Enable conversions to 8-bit integers
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_fs_nir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index 83ed9575f80..4155b2ed996 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++ b/src/intel/compiler/brw_fs_nir.cpp @@ -834,6 +834,8 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr) case nir_op_u2u16: case nir_op_i2f16: case nir_op_u2f16: + case nir_op_i2i8: + case nir_op_u2u8: inst = bld.MOV(result, op[0]); inst->saturate = instr->dest.saturate; break; |