diff options
Diffstat (limited to 'src/gallium/drivers/r600/sb/sb_expr.cpp')
-rw-r--r-- | src/gallium/drivers/r600/sb/sb_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/sb/sb_expr.cpp b/src/gallium/drivers/r600/sb/sb_expr.cpp index ad798453bc1..05674ff24b8 100644 --- a/src/gallium/drivers/r600/sb/sb_expr.cpp +++ b/src/gallium/drivers/r600/sb/sb_expr.cpp @@ -332,7 +332,7 @@ void expr_handler::apply_alu_src_mod(const bc_alu &bc, unsigned src, } void expr_handler::apply_alu_dst_mod(const bc_alu &bc, literal &v) { - float omod_coeff[] = {2.0f, 4.0, 0.5f}; + const float omod_coeff[] = {2.0f, 4.0, 0.5f}; if (bc.omod) v = v.f * omod_coeff[bc.omod - 1]; |