Replaces the cwd-relative sys.path.insert(0, 'tools') with a path
derived from __file__, matching the idiom used by neighbouring tests
(e.g. tests/test_f32_fuzz.py). Test now runs from any cwd.
AI-assisted.
- tools/rdna2spirv.py: when emitting s_sendmsg(MSG_GS_ALLOC_REQ) in stage ms/msc, guard OpStore %ms_counts with local_index == 0 to eliminate SharedMemoryDataRace-RaceOnStore. The counts are uniform across the workgroup (from SGPR m0), and all invocations synchronize at the subsequent workgroup barrier before loading %ms_counts.
- tests/test_mesh_alloc_single_writer.py: add unit tests verifying the invocation-0 guard and valid SPIR-V assembly for native mesh and --mesh-compute.