// Print the EXACT header and main the density pipeline uses, so the gate
// assembles the same string _build_custom_shader does rather than a copy.
#include <cstdio>
#include <string>
#include "dc_shader_source.h"
int main(int argc, char** argv) {
if (argc < 3) { fprintf(stderr, "usage: dump_density_parts <header.out> <main.out>\n"); return 2; }
FILE* h = fopen(argv[1], "wb"); fputs(DENSITY_GLSL_HEADER, h); fclose(h);
FILE* m = fopen(argv[2], "wb"); fputs(DENSITY_GLSL_MAIN, m); fclose(m);
printf("header %zu bytes, main %zu bytes\n",
std::string(DENSITY_GLSL_HEADER).size(), std::string(DENSITY_GLSL_MAIN).size());
return 0;
}