mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
ac/nir: Fix accessing an unitialized value.
Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
029e8ff81c
commit
b8c9ce4459
1 changed files with 2 additions and 1 deletions
|
|
@ -3361,7 +3361,8 @@ static void visit_tex(struct nir_to_llvm_context *ctx, nir_tex_instr *instr)
|
|||
unsigned dmask = 0xf;
|
||||
LLVMValueRef address[16];
|
||||
LLVMValueRef coords[5];
|
||||
LLVMValueRef coord = NULL, lod = NULL, comparitor = NULL, bias, offsets = NULL;
|
||||
LLVMValueRef coord = NULL, lod = NULL, comparitor = NULL;
|
||||
LLVMValueRef bias = NULL, offsets = NULL;
|
||||
LLVMValueRef res_ptr, samp_ptr, fmask_ptr = NULL, sample_index = NULL;
|
||||
LLVMValueRef ddx = NULL, ddy = NULL;
|
||||
LLVMValueRef derivs[6];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue