mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
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.
This commit is contained in:
parent
594dab4769
commit
6a382250a1
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue