llvmpipe/linear: fix ppc64/s390 build

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11969>
This commit is contained in:
Dave Airlie 2021-05-14 11:00:41 +10:00 committed by Roland Scheidegger
parent 5a1d3bcf26
commit fd9cc1d007
3 changed files with 7 additions and 1 deletions

View File

@ -360,4 +360,9 @@ fail:
}
#else
void
lp_linear_check_variant(struct lp_fragment_shader_variant *variant)
{
}
#endif

View File

@ -227,7 +227,6 @@ lp_linear_check_fastpath(struct lp_fragment_shader_variant *variant)
return variant->jit_linear != NULL;
}
#else
void
boolean
lp_linear_check_fastpath(struct lp_fragment_shader_variant *variant)
{

View File

@ -52,9 +52,11 @@ struct lp_linear_sampler {
struct lp_linear_interp {
struct lp_linear_elem base;
#if defined(PIPE_ARCH_SSE)
__m128i a0;
__m128i dadx;
__m128i dady;
#endif
int width; /* rounded up to multiple of 4 */