Skip to main content

shader_debugger_core 1.0.1 copy "shader_debugger_core: ^1.0.1" to clipboard
shader_debugger_core: ^1.0.1 copied to clipboard

Pure-Dart core of the Flutter shader debugger: a GLSL type model, symbol table and probe-shader instrumenter for Flutter fragment shaders.

1.0.1 #

  • New README with a usage example. No API changes.

1.0.0 #

First release.

  • analyzeShader(): lexer, preprocessor (conditionals, macros with ##, includes), parser and resolver for Flutter's GLSL subset. Never throws: problems become diagnostics, and statements it does not understand are not pickable.
  • Data model: GlslType (with the parts a picker can select: matrix columns, array elements, struct fields), SymbolTable / Scope / GlslSymbol, StatementInfo (writes, the parts written, variables in scope) and ShaderAnalysis.
  • instrument(): turns a selection into a probe shader for heatmaps and exact pixel reads.
  • package:shader_debugger_core/protocol.dart: the names shared by the runtime and the DevTools extension (protocol version 5).
0
likes
150
points
28
downloads

Documentation

API reference

Publisher

verified publishermohamed.al-samarrai.com

Weekly Downloads

Pure-Dart core of the Flutter shader debugger: a GLSL type model, symbol table and probe-shader instrumenter for Flutter fragment shaders.

Repository (GitHub)
View/report issues

Topics

#shaders #glsl #debugging #graphics

License

MIT (license)

Dependencies

source_span

More

Packages that depend on shader_debugger_core