diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-03-31 14:18:36 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-31 14:18:36 -0600 |
commit | 6a382250a10e7022e93b6be6fe4657445d85a568 (patch) | |
tree | 7a95c447c8a92a5daa6187bfbbaf3659fc5d4c94 /src | |
parent | 594dab4769533afaeb30a588e1731a6753a93f0d (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.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_cb_bitmap.c | 3 |
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 0cc910a67f..3f0d354e94 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); } |