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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user