projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix promotion of floats to doubles
[mesa.git]
/
src
/
intel
/
common
/
gen_l3_config.c
diff --git
a/src/intel/common/gen_l3_config.c
b/src/intel/common/gen_l3_config.c
index 46926f8bdf4952a435bddf9ad3fcddeff5c96d98..d54368556d37877349a906af09240a0d70577629 100644
(file)
--- a/
src/intel/common/gen_l3_config.c
+++ b/
src/intel/common/gen_l3_config.c
@@
-245,7
+245,7
@@
gen_diff_l3_weights(struct gen_l3_weights w0, struct gen_l3_weights w1)
float dw = 0;
for (unsigned i = 0; i < GEN_NUM_L3P; i++)
- dw += fabs(w0.w[i] - w1.w[i]);
+ dw += fabs
f
(w0.w[i] - w1.w[i]);
return dw;
}