diff options
author | Samuel Pitoiset <[email protected]> | 2017-12-20 20:56:55 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-01-04 18:43:07 +0100 |
commit | 3b2cb2f99ae8f82dd172f8486753637ae580d571 (patch) | |
tree | c487642afb08f5ee865245b5eaedd83d10ca7ed7 /src/amd/common/ac_shader_info.h | |
parent | aa187fe7bfac856207a5feee36e17120a6ee9d22 (diff) |
amd/common: scan if gl_InvocationID is used
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_info.h')
-rw-r--r-- | src/amd/common/ac_shader_info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_info.h b/src/amd/common/ac_shader_info.h index 79e5615254b..7c79d1a728e 100644 --- a/src/amd/common/ac_shader_info.h +++ b/src/amd/common/ac_shader_info.h @@ -31,6 +31,7 @@ struct ac_shader_info { bool needs_push_constants; uint32_t desc_set_used_mask; bool needs_multiview_view_index; + bool uses_invocation_id; struct { bool has_vertex_buffers; /* needs vertex buffers and base/start */ bool needs_draw_id; |