llvmpipe: remove unneeded casts in lp_rast_linear_fallback.c

Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17561>
This commit is contained in:
Brian Paul 2022-07-18 10:10:29 -06:00 committed by Marge Bot
parent 4f26e00795
commit 593282a9cd
1 changed files with 6 additions and 6 deletions

View File

@ -116,9 +116,9 @@ shade_quads_all(struct lp_rasterizer_task *task,
variant->jit_function[RAST_WHOLE](&state->jit_context,
x, y,
inputs->frontfacing,
(const float (*)[4])GET_A0(inputs),
(const float (*)[4])GET_DADX(inputs),
(const float (*)[4])GET_DADY(inputs),
GET_A0(inputs),
GET_DADX(inputs),
GET_DADY(inputs),
cbufs,
NULL,
0xffff,
@ -156,9 +156,9 @@ shade_quads_mask(struct lp_rasterizer_task *task,
variant->jit_function[RAST_EDGE_TEST](&state->jit_context,
x, y,
inputs->frontfacing,
(const float (*)[4])GET_A0(inputs),
(const float (*)[4])GET_DADX(inputs),
(const float (*)[4])GET_DADY(inputs),
GET_A0(inputs),
GET_DADX(inputs),
GET_DADY(inputs),
cbufs,
NULL,
mask,