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:
@@ -761,8 +761,9 @@ st_init_bitmap(struct st_context *st)
|
|||||||
sampler->mag_img_filter = PIPE_TEX_FILTER_NEAREST;
|
sampler->mag_img_filter = PIPE_TEX_FILTER_NEAREST;
|
||||||
sampler->normalized_coords = 1;
|
sampler->normalized_coords = 1;
|
||||||
|
|
||||||
/* init scissor state once */
|
/* init baseline rasterizer state once */
|
||||||
memset(&st->bitmap.rasterizer, 0, sizeof(st->bitmap.rasterizer));
|
memset(&st->bitmap.rasterizer, 0, sizeof(st->bitmap.rasterizer));
|
||||||
|
st->bitmap.rasterizer.bypass_vs = 1;
|
||||||
|
|
||||||
init_bitmap_cache(st);
|
init_bitmap_cache(st);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user