mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
llvmpipe: Initialize variables in emit_instruction.
This commit is contained in:
parent
3e8b2fda21
commit
add6dfbba6
1 changed files with 3 additions and 3 deletions
|
|
@ -496,9 +496,9 @@ emit_instruction(
|
|||
if (IS_DST0_CHANNEL_ENABLED( inst, CHAN_X ) ||
|
||||
IS_DST0_CHANNEL_ENABLED( inst, CHAN_Y ) ||
|
||||
IS_DST0_CHANNEL_ENABLED( inst, CHAN_Z )) {
|
||||
LLVMValueRef *p_floor_log2;
|
||||
LLVMValueRef *p_exp;
|
||||
LLVMValueRef *p_log2;
|
||||
LLVMValueRef *p_floor_log2 = NULL;
|
||||
LLVMValueRef *p_exp = NULL;
|
||||
LLVMValueRef *p_log2 = NULL;
|
||||
|
||||
src0 = emit_fetch( bld, inst, 0, CHAN_X );
|
||||
src0 = lp_build_abs( &bld->base, src0 );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue