mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 21:50:34 +01:00
i965: fallback bitmap operation on sandybridge
Need to bring back correct fb write with header to set pixel write mask. Fallback for now. Note: Conflicts in intel_pixel_bitmap.c due to the removal of intel_texture_bitmap from master. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
aaf7f78dfa
commit
71bdc82c19
1 changed files with 6 additions and 0 deletions
|
|
@ -508,10 +508,16 @@ intelBitmap(GLcontext * ctx,
|
|||
const struct gl_pixelstore_attrib *unpack,
|
||||
const GLubyte * pixels)
|
||||
{
|
||||
struct intel_context *intel = intel_context(ctx);
|
||||
|
||||
if (do_blit_bitmap(ctx, x, y, width, height,
|
||||
unpack, pixels))
|
||||
return;
|
||||
|
||||
/* FIXME */
|
||||
if (intel->gen == 6)
|
||||
return _swrast_Bitmap(ctx, x, y, width, height, unpack, pixels);
|
||||
|
||||
if (intel_texture_bitmap(ctx, x, y, width, height,
|
||||
unpack, pixels))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue