mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
llvmpipe: Compile fewer unnecessary functions
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35043>
This commit is contained in:
parent
d30593ae3d
commit
7e9182e6ee
1 changed files with 1 additions and 1 deletions
|
|
@ -1025,7 +1025,7 @@ compile_sample_functions(struct llvmpipe_context *ctx, struct lp_static_texture_
|
|||
functions[sample_key] = matrix->jit_sample_functions[sample_key];
|
||||
else if (op_type == LP_SAMPLER_OP_FETCH)
|
||||
functions[sample_key] = matrix->jit_fetch_functions[sample_key];
|
||||
else
|
||||
else if (texture->format == PIPE_FORMAT_NONE)
|
||||
functions[sample_key] = compile_sample_function(ctx, texture, sampler, sample_key);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue