radv: do not load the local invocation index when it's unused
[mesa.git] / src / amd / common / ac_shader_info.h
index 0136d5af403cd9a233e8dbba2fde91e0275f80f3..79e5615254b8188cf584eb4d9658b4c611e2d624 100644 (file)
@@ -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;
 };