anv/cmd_buffer: Move num_workgroups to compute state
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 16 Dec 2017 00:53:03 +0000 (16:53 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Jan 2018 05:10:44 +0000 (21:10 -0800)
commit38ec78049f69821091a2d42b0f457a1b044d4273
treef42285f40a5d74bd84cdb6202362a92ddeacc004
parent95ff2322948692f5f7b1d444aabe878fba53304c
anv/cmd_buffer: Move num_workgroups to compute state

While we're here, make it an anv_address.

Tested-by: Józef Kucia <joseph.kucia@gmail.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Cc: "18.0" <mesa-stable@lists.freedesktop.org>
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c