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:
parent
5a1d3bcf26
commit
fd9cc1d007
|
@ -360,4 +360,9 @@ fail:
|
|||
}
|
||||
|
||||
|
||||
#else
|
||||
void
|
||||
lp_linear_check_variant(struct lp_fragment_shader_variant *variant)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue