diff options
author | Jordan Justen <[email protected]> | 2015-12-18 01:42:46 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-12-18 01:45:11 -0800 |
commit | 5e82a91324d13c9194416347521120a93beef133 (patch) | |
tree | 9d2d8012b6dd421f548d06d11d3d172f22a2c203 /src/vulkan/anv_private.h | |
parent | d7f66f9f6fb47ddf30c782961eb2fc1dcc593975 (diff) |
anv/gen8: Add support for gl_NumWorkGroups
Co-authored-by: Kristian Høgsberg <[email protected]>
Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r-- | src/vulkan/anv_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index b763f701570..a8583c98db4 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -1031,6 +1031,8 @@ struct anv_cmd_state { uint32_t vb_dirty; anv_cmd_dirty_mask_t dirty; anv_cmd_dirty_mask_t compute_dirty; + uint32_t num_workgroups_offset; + struct anv_bo *num_workgroups_bo; VkShaderStageFlags descriptors_dirty; VkShaderStageFlags push_constants_dirty; uint32_t scratch_size; |