Midgard texture ops taking bias/LOD(/offset) have both immediate and
register modes, depending on whether the argument is constant or not.
Rather than always using register mode and emitting dumb modes all over
the place, support packing constant bias/LOD.

Alyssa Rosenzweig (3):
  panfrost/midgard: Handle negative immediate bias
  panfrost/midgard: Add helper to encode constant bias
  panfrost/midgard: Reorder to permit constant bias

 .../drivers/panfrost/midgard/disassemble.c    |   7 +-
 .../drivers/panfrost/midgard/midgard.h        |   2 +-
 .../panfrost/midgard/midgard_compile.c        | 131 +++++++++++-------
 3 files changed, 87 insertions(+), 53 deletions(-)

-- 
2.20.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to