swr/rast: Use blend context struct to pass params
authorGeorge Kyriazis <george.kyriazis@intel.com>
Thu, 8 Mar 2018 07:35:17 +0000 (01:35 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 18 Apr 2018 15:51:38 +0000 (10:51 -0500)
commita3edcfe1fb5a6acebd7c402bc1640f27bc469b38
tree6afcb822d1f83037687280c1a9308dab6097c232
parentbe6cf0fd7c944aba81256b30212ab3fba309c4d7
swr/rast: Use blend context struct to pass params

Stuff parameters into a blend context struct before passing down through
the PFN_BLEND_JIT_FUNC function pointer. Needed for stat changes.

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