diff options
author | Anuj Phogat <[email protected]> | 2013-07-17 19:04:54 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2013-08-16 09:46:15 -0700 |
commit | 6066fb1721e937ebb1ab48034e744c17a9ee78b5 (patch) | |
tree | 7a42d83b05b464a04ec8f99fab08a7748aba1af8 /src/mesa/drivers/dri/i965/brw_blorp.h | |
parent | d944a6144f6ee6a0b24126ce72de280db90038c9 (diff) |
i965/blorp: Use more appropriate variable names
When we talk about both multi-sample and single-sample scaled blits,
rect_grid_{x1, y1} are more appropriate variable names as compared
to sample_grid_{x1, y1}. There are no functional changes in this patch.
It just prepares for the BLORP implementation of single-sample scaled
blit with bilinear filter.
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_blorp.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h index a53ba2fcec5..49862b89de6 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.h +++ b/src/mesa/drivers/dri/i965/brw_blorp.h @@ -178,11 +178,9 @@ struct brw_blorp_wm_push_constants uint32_t dst_x1; uint32_t dst_y0; uint32_t dst_y1; - /* Top right coordinates of the rectangular sample grid used for - * multisample scaled blitting. - */ - float sample_grid_x1; - float sample_grid_y1; + /* Top right coordinates of the rectangular grid used for scaled blitting */ + float rect_grid_x1; + float rect_grid_y1; brw_blorp_coord_transform_params x_transform; brw_blorp_coord_transform_params y_transform; /* Pad out to an integral number of registers */ |