if (shader->info->label)
fprintf(fp, "label: %s\n", shader->info->label);
+ switch (shader->stage) {
+ case MESA_SHADER_COMPUTE:
+ fprintf(fp, "local-size: %u, %u, %u%s\n",
+ shader->info->cs.local_size[0],
+ shader->info->cs.local_size[1],
+ shader->info->cs.local_size[2],
+ shader->info->cs.local_size_variable ? " (variable)" : "");
+ fprintf(fp, "shared-size: %u\n", shader->info->cs.shared_size);
+ break;
+ default:
+ break;
+ }
+
fprintf(fp, "inputs: %u\n", shader->num_inputs);
fprintf(fp, "outputs: %u\n", shader->num_outputs);
fprintf(fp, "uniforms: %u\n", shader->num_uniforms);