diff options
author | Samuel Pitoiset <[email protected]> | 2017-12-14 17:32:41 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-12-14 22:22:26 +0100 |
commit | 90c3bf07892c27c86c2474b14388e6b627454d76 (patch) | |
tree | c6120db7014f93241ec7d215db92a7b83eb10644 /src/amd/common/ac_shader_info.h | |
parent | 2294d35b243dee15af15895e876a63b7d22e48cc (diff) |
radv: do not load the local invocation index when it's unused
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[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 0136d5af403..79e5615254b 100644 --- a/src/amd/common/ac_shader_info.h +++ b/src/amd/common/ac_shader_info.h @@ -45,6 +45,7 @@ struct ac_shader_info { bool uses_grid_size; bool uses_block_id[3]; bool uses_thread_id[3]; + bool uses_local_invocation_idx; } cs; }; |