gallivm: make lp_build_float_to_r11g11b10 take a const src

This allows using it with a const src later.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
Dave Airlie
2019-07-01 06:49:59 +10:00
parent a8ef6b5755
commit fb34369eb5
2 changed files with 2 additions and 2 deletions
@@ -204,7 +204,7 @@ lp_build_smallfloat_to_float(struct gallivm_state *gallivm,
LLVMValueRef
lp_build_float_to_r11g11b10(struct gallivm_state *gallivm,
LLVMValueRef *src);
const LLVMValueRef *src);
void
lp_build_r11g11b10_to_float(struct gallivm_state *gallivm,
@@ -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;