swr/rast: partial support for Tiled Resources
authorAlok Hota <alok.hota@intel.com>
Thu, 23 Aug 2018 23:42:25 +0000 (18:42 -0500)
committerAlok Hota <alok.hota@intel.com>
Wed, 16 Jan 2019 19:53:30 +0000 (13:53 -0600)
commit9459863dfa16071ff5088a15d853028f2865c4a7
treec7473f02d044096d811a8e26b8fc1a888210cb45
parent9cacf9d8772fe8efd8bdded902b1b2f9b2c6e1cd
swr/rast: partial support for Tiled Resources

- updated sample from TRTT surfaces correctly
- implemented mapped status return for TRTT surfaces
- implemented per-sample instruction minLod clamp
- updated bilinear filter weight calculation to be closer to D3D specs
- implemented "ReducedTexcoordRange" operation from D3D specs to avoid
loss of precision on high-value normalized coordinates
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.cpp
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.h