projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b5153
)
intel/compiler: implement conversion between float/int 16-bit types
author
Iago Toral Quiroga
<itoral@igalia.com>
Tue, 6 Mar 2018 12:35:49 +0000
(13:35 +0100)
committer
Iago Toral Quiroga
<itoral@igalia.com>
Thu, 3 May 2018 09:40:25 +0000
(11:40 +0200)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_fs_nir.cpp
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_fs_nir.cpp
b/src/intel/compiler/brw_fs_nir.cpp
index 2f341931ff54b469458df42e698e4f1415aa94dc..137e917f6100b64cb947e4c6a8e79a71c3f675ad 100644
(file)
--- a/
src/intel/compiler/brw_fs_nir.cpp
+++ b/
src/intel/compiler/brw_fs_nir.cpp
@@
-793,10
+793,14
@@
fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr)
case nir_op_f2f32:
case nir_op_f2i32:
case nir_op_f2u32:
+ case nir_op_f2i16:
+ case nir_op_f2u16:
case nir_op_i2i32:
case nir_op_u2u32:
case nir_op_i2i16:
case nir_op_u2u16:
+ case nir_op_i2f16:
+ case nir_op_u2f16:
inst = bld.MOV(result, op[0]);
inst->saturate = instr->dest.saturate;
break;