summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-31 14:18:36 -0600
committerBrian <[email protected]>2008-03-31 14:18:36 -0600
commit6a382250a10e7022e93b6be6fe4657445d85a568 (patch)
tree7a95c447c8a92a5daa6187bfbbaf3659fc5d4c94
parent594dab4769533afaeb30a588e1731a6753a93f0d (diff)
gallium: set the bypass_vs flag now
The glBitmap vertex shader is a no-op, but we still have to specify it in order to convey the number of inputs/outputs.
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c
index 0cc910a67fa..3f0d354e941 100644
--- a/src/mesa/state_tracker/st_cb_bitmap.c
+++ b/src/mesa/state_tracker/st_cb_bitmap.c
@@ -761,8 +761,9 @@ st_init_bitmap(struct st_context *st)
sampler->mag_img_filter = PIPE_TEX_FILTER_NEAREST;
sampler->normalized_coords = 1;
- /* init scissor state once */
+ /* init baseline rasterizer state once */
memset(&st->bitmap.rasterizer, 0, sizeof(st->bitmap.rasterizer));
+ st->bitmap.rasterizer.bypass_vs = 1;
init_bitmap_cache(st);
}