llvmpipe: pass frontfacing param to jit_function() call

Instead of 1, in shade_quads_all() and shade_quads_mask().  This fixes
a VMware test (dx10-is-front-face)

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-06-20 13:57:22 -06:00 committed by Marge Bot
parent b66e567762
commit abea663317
1 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ shade_quads_all( struct lp_rasterizer_task *task,
BEGIN_JIT_CALL(state, task);
variant->jit_function[RAST_WHOLE]( &state->jit_context,
x, y,
1,
inputs->frontfacing,
(const float (*)[4])GET_A0(inputs),
(const float (*)[4])GET_DADX(inputs),
(const float (*)[4])GET_DADY(inputs),
@ -155,7 +155,7 @@ shade_quads_mask(struct lp_rasterizer_task *task,
BEGIN_JIT_CALL(state, task);
variant->jit_function[RAST_EDGE_TEST](&state->jit_context,
x, y,
1,
inputs->frontfacing,
(const float (*)[4])GET_A0(inputs),
(const float (*)[4])GET_DADX(inputs),
(const float (*)[4])GET_DADY(inputs),