|
Blender V5.3
|
#include <algorithm>#include <filesystem>#include <fstream>#include <iostream>#include <string>#include "processor.hh"Go to the source code of this file.
Functions | |
| static std::vector< std::string > | list_files (const std::string &dir) |
| static metadata::Source | scan_external_symbols (const std::vector< std::string > &file_list, std::vector< std::string > &visited_files, const std::string &file_buffer, const std::string &file_name) |
| int | main (int argc, char **argv) |
|
static |
Definition at line 19 of file shader_tool.cc.
References blender::gpu::shader::parser::filename(), and list_files().
Referenced by list_files(), and main().
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 93 of file shader_tool.cc.
References blender::gpu::shader::BLENDER_GLSL, blender::gpu::shader::BSL, blender::gpu::shader::SourceProcessor::convert(), blender::bke::subdiv::exit(), blender::gpu::shader::parser::filename(), blender::gpu::shader::GLSL, list_files(), main, blender::result, and scan_external_symbols().
|
static |
Definition at line 37 of file shader_tool.cc.
References blender::gpu::shader::metadata::Source::dependencies, blender::bke::subdiv::exit(), blender::gpu::shader::parser::filename(), blender::gpu::shader::SourceProcessor::parse_include_and_symbols(), scan_external_symbols(), blender::gpu::shader::metadata::Source::symbol_table, and blender::gpu::shader::metadata::Source::template_definitions.
Referenced by main(), and scan_external_symbols().