[Mesa-dev] [PATCH 0/9] nvc0: ARB_shader_ballot for Kepler+ (v2)

Boyan Ding boyan.j.ding at gmail.com
Mon Apr 10 00:58:38 UTC 2017


This is v2 series of my ARB_shader_ballot enablement. I added some fixes
based on Samuel Pitoiset's feedback, which mainly include adapting
existing OP_SHFL usage to the new form in gm107's lowering and addition
of several assertion checks. It is also rebased against current master.

Boyan Ding (9):
  gm107/ir: Emit third src 'bound' and optional predicate output of SHFL
  nvc0/ir: Properly handle a "split form" of predicate destination
  nvc0/ir: Emit OP_SHFL
  gk110/ir: Emit OP_SHFL
  nvc0/ir: Allow 0/1 immediate value as source of OP_VOTE
  nvc0/ir: Add SV_LANEMASK_* system values.
  nvc0/ir: Implement TGSI_SEMANTIC_SUBGROUP_*
  nvc0/ir: Implement TGSI_OPCODE_BALLOT and TGSI_OPCODE_READ_*
  nvc0: Enable ARB_shader_ballot on Kepler+

 docs/features.txt                                  |   2 +-
 docs/relnotes/17.1.0.html                          |   2 +-
 src/gallium/drivers/nouveau/codegen/nv50_ir.h      |   5 +
 .../drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp |  85 ++++++++++++++++-
 .../drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp |  50 ++++++++--
 .../drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp  | 101 +++++++++++++++++++--
 .../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp  |  55 +++++++++++
 .../nouveau/codegen/nv50_ir_lowering_gm107.cpp     |  15 ++-
 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c     |   3 +-
 9 files changed, 293 insertions(+), 25 deletions(-)

-- 
2.12.1



More information about the mesa-dev mailing list