mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-18 06:34:37 +08:00
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:
parent
b66e567762
commit
abea663317
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user