[Mesa-dev] [RFC PATCH 0/3] ARB_bindless_texture support for Kepler

Ilia Mirkin imirkin at alum.mit.edu
Sat Jun 24 16:01:37 UTC 2017


This is RFC because it doesn't work. All the piglits pass, but all the games
hang with bindless enabled.

I can't immediately think of what I've missed though.

I also totally hate the way I implemented images. It should be possible to do
it much better on Maxwell, since images are represented by TIC entries there.
It might be better to redo it by creating our own pseudo-TIC area for images
on Kepler. Either way, it ought to work... and it doesn't seem to.

Ilia Mirkin (3):
  nv50/ir: use the image info in the instruction rather than decl
  nvc0: add support for bindless textures on kepler+
  nvc0: add bindless image support for kepler

 src/gallium/drivers/nouveau/codegen/nv50_ir.h      |   1 +
 .../drivers/nouveau/codegen/nv50_ir_driver.h       |   1 +
 .../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp  | 248 ++++++++++++++-------
 .../nouveau/codegen/nv50_ir_lowering_nvc0.cpp      |  67 +++---
 .../nouveau/codegen/nv50_ir_lowering_nvc0.h        |   2 +-
 src/gallium/drivers/nouveau/nvc0/nvc0_context.c    |   2 +
 src/gallium/drivers/nouveau/nvc0/nvc0_context.h    |  26 ++-
 src/gallium/drivers/nouveau/nvc0/nvc0_program.c    |   1 +
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c     |  11 +-
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.h     |  10 +
 src/gallium/drivers/nouveau/nvc0/nvc0_tex.c        | 172 ++++++++++++++
 src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c        |  11 +
 src/gallium/drivers/nouveau/nvc0/nve4_compute.c    |  12 +
 13 files changed, 441 insertions(+), 123 deletions(-)

-- 
2.13.0



More information about the mesa-dev mailing list