freedreno: Add local_size to ir3_shader_variant
We want to use the local_size when available to calculate the threadsize in ir3, and we need it to work with e.g. computerator where we don't have a nir shader. Add a local_size field and use that in computerator instead of of a separate structure that's inaccessable to core ir3. Also set a dummy local_size in the tests to avoid a divide-by-zero. Part-of: <mesa/mesa!9498>
- src/freedreno/computerator/ir3_asm.c 3 additions, 1 deletionsrc/freedreno/computerator/ir3_asm.c
- src/freedreno/ir3/ir3_assembler.c 5 additions, 0 deletionssrc/freedreno/ir3/ir3_assembler.c
- src/freedreno/ir3/ir3_assembler.h 0 additions, 1 deletionsrc/freedreno/ir3/ir3_assembler.h
- src/freedreno/ir3/ir3_compiler_nir.c 7 additions, 0 deletionssrc/freedreno/ir3/ir3_compiler_nir.c
- src/freedreno/ir3/ir3_parser.y 3 additions, 3 deletionssrc/freedreno/ir3/ir3_parser.y
- src/freedreno/ir3/ir3_shader.h 3 additions, 0 deletionssrc/freedreno/ir3/ir3_shader.h
- src/freedreno/vulkan/tu_pipeline.c 1 addition, 1 deletionsrc/freedreno/vulkan/tu_pipeline.c