Files
mesa/src/compiler
Boris Brezillon 296c5fd25d nir/lower_tex: Add a way to lower TXS(non-0-LOD) instructions
The V3D driver has an open-coded solution for this, and we need the
same thing for Panfrost, so let's add a generic way to lower TXS(LOD)
into max(TXS(0) >> LOD, 1).

Changes in v2:
* Use == 0 instead of !
* Rework the minification logic as suggested by Jason
* Assign cursor pos at the beginning of the function
* Patch the LOD just after retrieving the old value

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
2019-06-18 06:36:07 -07:00
..
2017-07-21 08:47:56 +03:00
2018-07-09 23:02:33 -07:00
2018-07-09 23:02:33 -07:00
2018-08-10 15:15:09 -07:00
2018-03-30 14:33:03 -06:00
2018-03-27 08:36:37 -04:00