swr/rast: Add "Num Instructions Executed" stats intrinsic.
authorGeorge Kyriazis <george.kyriazis@intel.com>
Thu, 15 Mar 2018 17:49:51 +0000 (12:49 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 18 Apr 2018 15:51:38 +0000 (10:51 -0500)
commit093c1aee88dd61289cdeabffb402a29ae30d6b24
tree07054bd48d01df18bef44e7098aed681ac725a28
parent5fbee5e4ef1aa3d247a50ff8792c05318c9ea98c
swr/rast: Add "Num Instructions Executed" stats intrinsic.

Added a SWR_SHADER_STATS structure which is passed to each shader. The
stats pass will instrument the shader to populate this.

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