diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_quad_blend.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_quad_blend.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_quad_blend.c b/src/gallium/drivers/llvmpipe/lp_quad_blend.c index 2b060574ae..4312753eef 100644 --- a/src/gallium/drivers/llvmpipe/lp_quad_blend.c +++ b/src/gallium/drivers/llvmpipe/lp_quad_blend.c @@ -41,6 +41,7 @@ #include "lp_quad.h" #include "lp_surface.h" #include "lp_tile_cache.h" +#include "lp_tile_soa.h" #include "lp_quad_pipe.h" @@ -163,7 +164,7 @@ blend_run(struct quad_stage *qs, int y = ity + (j >> 1); for (i = 0; i < 4; i++) { src[i][4*k + j] = float_to_ubyte(quad->output.color[cbuf][i][j]); - dst[i][4*k + j] = tile->data.color[i][y][x]; + dst[i][4*k + j] = TILE_PIXEL(tile->data.color, x, y, i); } } } @@ -193,7 +194,7 @@ blend_run(struct quad_stage *qs, int x = itx + (j & 1); int y = ity + (j >> 1); for (i = 0; i < 4; i++) { /* loop over color chans */ - tile->data.color[i][y][x] = src[i][4*k + j]; + TILE_PIXEL(tile->data.color, x, y, i) = src[i][4*k + j]; } } } |