aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_format_float.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-07-01 06:49:59 +1000
committerDave Airlie <[email protected]>2019-08-27 12:29:25 +1000
commitfb34369eb5e5992591139d5e04b9bc8cf8b2be71 (patch)
tree3372ff38b3a929784dfd354af222d8374f831076 /src/gallium/auxiliary/gallivm/lp_bld_format_float.c
parenta8ef6b5755c49118dc77dea6bb4b1087ef74ccc2 (diff)
gallivm: make lp_build_float_to_r11g11b10 take a const src
This allows using it with a const src later. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_format_float.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_format_float.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_float.c b/src/gallium/auxiliary/gallivm/lp_bld_format_float.c
index b87174e4a20..1924650ca40 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_format_float.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_format_float.c
@@ -235,7 +235,7 @@ lp_build_float_to_smallfloat(struct gallivm_state *gallivm,
*/
LLVMValueRef
lp_build_float_to_r11g11b10(struct gallivm_state *gallivm,
- LLVMValueRef *src)
+ const LLVMValueRef *src)
{
LLVMValueRef dst, rcomp, bcomp, gcomp;
struct lp_build_context i32_bld;