Pascal uses a new compute launch descriptor format that is not compatible with previous generations. This series adds support for the new format, thus enabling ARB_compute_shader for Pascal. The piglit tests for compute shader all passed on my GP107.
The first two patches are cosmetic fixes discovered when writing the code. Major work is done in the latter two. Boyan Ding (4): nouveau: Fix indentation of maxwell compute class definitions nvc0: Fix index of unk fields in nve4_cp_launch_desc nvc0: Add new launch descriptor format for GP100 nvc0: Enable compute support for Pascal src/gallium/drivers/nouveau/nv_object.xml.h | 6 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 6 +- src/gallium/drivers/nouveau/nvc0/nve4_compute.c | 108 ++++++++++++++++++++++-- src/gallium/drivers/nouveau/nvc0/nve4_compute.h | 71 +++++++++++++++- 4 files changed, 177 insertions(+), 14 deletions(-) -- 2.12.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev