tree: 0da2a32607bae67b9825321ff92419a2ed0cb78a [path history] [tgz]
  1. shader_lib/
  2. BUILD.gn
  3. code_gen_template.h
  4. compiler.cc
  5. compiler.h
  6. compiler_backend.cc
  7. compiler_backend.h
  8. compiler_test.cc
  9. compiler_test.h
  10. compiler_unittests.cc
  11. constants.cc
  12. constants.h
  13. impellerc_main.cc
  14. include_dir.h
  15. includer.cc
  16. includer.h
  17. logger.h
  18. README.md
  19. reflector.cc
  20. reflector.h
  21. runtime_stage_data.cc
  22. runtime_stage_data.h
  23. shader_bundle.cc
  24. shader_bundle.h
  25. shader_bundle_data.cc
  26. shader_bundle_data.h
  27. shader_bundle_unittests.cc
  28. source_options.cc
  29. source_options.h
  30. spirv_compiler.cc
  31. spirv_compiler.h
  32. spirv_sksl.cc
  33. spirv_sksl.h
  34. switches.cc
  35. switches.h
  36. switches_unittests.cc
  37. types.cc
  38. types.h
  39. uniform_sorter.cc
  40. uniform_sorter.h
  41. utilities.cc
  42. utilities.h
engine/src/flutter/impeller/compiler/README.md

The Impeller Shader Compiler & Reflector

Host side tooling that consumes GLSL 4.60 (Core Profile) shaders and generates libraries suitable for consumption by an Impeller backend. Along with said libraries, the reflector generates code and meta-data to construct rendering and compute pipelines at runtime.

Invocation

To invoke impellerc by itself, compile the engine and run the binary via

`find engine/src/out/host_debug_unopt_arm64 -name impellerc` --input=path/to/shader.frag --input-type=frag --entry-point=main`