aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup_line.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-08-06 02:54:36 -0400
committerZack Rusin <[email protected]>2013-08-06 20:23:57 -0400
commit12522041d6e17ac176a8e86c590789bfbbe9def5 (patch)
tree8076548ef8b257ff8453d5b752266c9bc778fe31 /src/gallium/drivers/llvmpipe/lp_setup_line.c
parent2572e3b4a17e4b0de9b5ed7fe6f4edf01abd5655 (diff)
draw: fix slot detection
Nowadays -1 for slots means that the semantic is not present, so we need to store it in a signed variables, otherwise <0 comparisons are pointless. Fixes http://bugzilla.eng.vmware.com/show_bug.cgi?id=67811 (at least with softpipe, edgeflags don't work wit llvmpipe) Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_line.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_line.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_line.c b/src/gallium/drivers/llvmpipe/lp_setup_line.c
index 3b16163ba59..a25a6b02f8d 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_line.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup_line.c
@@ -622,7 +622,6 @@ try_setup_line( struct lp_setup_context *setup,
} else {
line->inputs.frontfacing = TRUE;
}
-
/* Setup parameter interpolants:
*/