Hi, This new series improves things related to the driver constant buffer which are useful for compute shaders on gk104+. I have still not tested the series.
Please review, Thanks! Samuel Pitoiset (5): nv50,nvc0: replace resInfoCBSlot by auxCBSlot nv50/ir: make use of auxCBSlot instead of magic numbers nvc0: remove unused data in driver CB at 0x0 for Kepler nvc0: avoid using magic numbers for the uniform_bo offsets nvc0: shift driver constant buffer offsets by 32 bytes .../drivers/nouveau/codegen/nv50_ir_driver.h | 3 +-- .../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 3 ++- .../nouveau/codegen/nv50_ir_lowering_nv50.cpp | 4 ++-- .../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 15 ++++++------ src/gallium/drivers/nouveau/nouveau_compiler.c | 2 -- src/gallium/drivers/nouveau/nv50/nv50_program.c | 1 - src/gallium/drivers/nouveau/nvc0/nvc0_compute.c | 13 +++++----- src/gallium/drivers/nouveau/nvc0/nvc0_context.h | 22 +++++++++++++++++ src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 16 ++++++------- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 24 +++++++------------ src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 2 +- .../drivers/nouveau/nvc0/nvc0_state_validate.c | 28 ++++++++++++---------- src/gallium/drivers/nouveau/nvc0/nvc0_tex.c | 9 ++++--- src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c | 14 ++++++----- 14 files changed, 86 insertions(+), 70 deletions(-) -- 2.7.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev