projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: fix the type of ir_constant_data::u16
[mesa.git]
/
src
/
compiler
/
glsl
/
lower_mat_op_to_vec.cpp
diff --git
a/src/compiler/glsl/lower_mat_op_to_vec.cpp
b/src/compiler/glsl/lower_mat_op_to_vec.cpp
index 88c5d6679d246bec06b17584f688a4815c98cc81..13d3ccbaddbbfd28ea7aade5629277f4da990240 100644
(file)
--- a/
src/compiler/glsl/lower_mat_op_to_vec.cpp
+++ b/
src/compiler/glsl/lower_mat_op_to_vec.cpp
@@
-360,6
+360,9
@@
ir_mat_op_to_vec_visitor::visit_leave(ir_assignment *orig_assign)
switch (orig_expr->operation) {
case ir_unop_d2f:
case ir_unop_f2d:
+ case ir_unop_f2f16:
+ case ir_unop_f2fmp:
+ case ir_unop_f162f:
case ir_unop_neg: {
/* Apply the operation to each column.*/
for (i = 0; i < matrix_columns; i++) {