summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/r300/r300_vs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/drivers/r300/r300_vs.c')
-rw-r--r--lib/mesa/src/gallium/drivers/r300/r300_vs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/drivers/r300/r300_vs.c b/lib/mesa/src/gallium/drivers/r300/r300_vs.c
index 62152714d..96d6c4386 100644
--- a/lib/mesa/src/gallium/drivers/r300/r300_vs.c
+++ b/lib/mesa/src/gallium/drivers/r300/r300_vs.c
@@ -249,7 +249,7 @@ void r300_translate_vertex_shader(struct r300_context *r300,
compiler.Base.remove_unused_constants = TRUE;
}
- compiler.RequiredOutputs = ~(~0 << (vs->info.num_outputs + 1));
+ compiler.RequiredOutputs = ~(~0U << (vs->info.num_outputs + 1));
compiler.SetHwInputOutput = &set_vertex_inputs_outputs;
/* Insert the WPOS output. */