swr/rast: Be more explicit when fetching next component
authorGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 7 Feb 2018 07:02:00 +0000 (01:02 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 16 Feb 2018 16:54:01 +0000 (10:54 -0600)
commit74e8bb4a22be186aec2b8777690a2ac5a72b8fb4
tree8c89fdb1141982caeb66a388308532dd7295d8ec
parentda77eb55d54779fc19d7966032d73e74d8f83f91
swr/rast: Be more explicit when fetching next component

Use a new function to denote that we want to get offset to next component
and hide the fact that GEP is used underneath.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/builder_mem.cpp
src/gallium/drivers/swr/rasterizer/jitter/builder_mem.h