swr/rast: Add MEM_ADD helper function to Builder.
authorGeorge Kyriazis <george.kyriazis@intel.com>
Thu, 15 Mar 2018 17:08:00 +0000 (12:08 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 18 Apr 2018 15:51:38 +0000 (10:51 -0500)
commit5fbee5e4ef1aa3d247a50ff8792c05318c9ea98c
treefb93e263b237085fca311ecece28158b8102bf81
parent9103119cb36fbcfd591df8c722fa9941aaa9a911
swr/rast: Add MEM_ADD helper function to Builder.

mem[offset] += value

This function will be heavily used by all stats intrinsics.

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