anv: Add anv_cmd_buffer_cs_push_constants
authorJordan Justen <jordan.l.justen@intel.com>
Wed, 9 Dec 2015 00:56:26 +0000 (16:56 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 9 Dec 2015 19:02:20 +0000 (11:02 -0800)
commitf8d5fb4293ea13d0459dd69c40d3d68003f94015
tree8df8e34a9f0ec555176219a5f6da37ef2224d8e1
parent974bdfa9ad87bb8282def5e9aab9dfe4849b3bc7
anv: Add anv_cmd_buffer_cs_push_constants

Similar to anv_cmd_buffer_push_constants, but handles the compute
pipeline, which requires different setup from the other stages.

This also handles initializing the compute shader local IDs.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/vulkan/anv_cmd_buffer.c
src/vulkan/anv_private.h