swr/rast: Add builder_gfx_mem.{h|cpp}
authorGeorge Kyriazis <george.kyriazis@intel.com>
Mon, 26 Mar 2018 18:29:04 +0000 (13:29 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 18 Apr 2018 15:51:38 +0000 (10:51 -0500)
commitd73082b98b884d6ffb72fe81a9b7c7f392aa1391
treeac81ecf76c1c8defc7d309c79331336f04a494a2
parent1eb72673fc239b5d0a95e393b847fdf8c8de6962
swr/rast: Add builder_gfx_mem.{h|cpp}

Abstract usage scenarios for memory accesses into builder_gfx_mem.
Builder_gfx_mem will convert gfxptr_t from 64-bit int to regular pointer
types for use by builder_mem.

v2: reworded commit message; renamed enum more appropriately
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/Makefile.sources
src/gallium/drivers/swr/meson.build
src/gallium/drivers/swr/rasterizer/jitter/builder_gfx_mem.cpp [new file with mode: 0644]
src/gallium/drivers/swr/rasterizer/jitter/builder_gfx_mem.h [new file with mode: 0644]
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp