mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 10:50:16 +01:00
radv: fix warnings in ubo load code.
Reviewed by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
0fafe94a39
commit
d38eece4e6
1 changed files with 0 additions and 3 deletions
|
|
@ -2095,9 +2095,6 @@ static LLVMValueRef visit_load_buffer(struct nir_to_llvm_context *ctx,
|
|||
static LLVMValueRef visit_load_ubo_buffer(struct nir_to_llvm_context *ctx,
|
||||
nir_intrinsic_instr *instr)
|
||||
{
|
||||
const nir_intrinsic_info *info = &nir_intrinsic_infos[instr->intrinsic];
|
||||
const char *load_name;
|
||||
LLVMTypeRef data_type = ctx->f32;
|
||||
LLVMValueRef results[4], ret;
|
||||
LLVMValueRef rsrc = get_src(ctx, instr->src[0]);
|
||||
LLVMValueRef offset = get_src(ctx, instr->src[1]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue