summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-10-15 00:12:19 +0100
committerKeith Whitwell <[email protected]>2010-10-15 13:27:47 +0100
commit0a1c9001037a13b69b157994e7983aa3dee158d3 (patch)
tree289ae15bb01f50b568bf67912aae6135c4b0b9bf /src/gallium/drivers/llvmpipe/lp_rast.c
parent4195febeecd2d2f5571afdb90cbb185a4759f50a (diff)
llvmpipe: don't pass frontfacing as a float
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index 35e2f731e89..8e9be755e07 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -365,7 +365,7 @@ lp_rast_shade_tile(struct lp_rasterizer_task *task,
BEGIN_JIT_CALL(state);
variant->jit_function[RAST_WHOLE]( &state->jit_context,
tile_x + x, tile_y + y,
- inputs->facing,
+ inputs->frontfacing,
inputs->a0,
inputs->dadx,
inputs->dady,
@@ -446,7 +446,7 @@ lp_rast_shade_quads_mask(struct lp_rasterizer_task *task,
BEGIN_JIT_CALL(state);
variant->jit_function[RAST_EDGE_TEST](&state->jit_context,
x, y,
- inputs->facing,
+ inputs->frontfacing,
inputs->a0,
inputs->dadx,
inputs->dady,