Skip to content

HLSL-LSP v0.12.0

Choose a tag to compare

@KStocky KStocky released this 07 Sep 09:34
c1db594

Highlights

  • Added compiler-backed incoming and outgoing call hierarchy with stable overload and root-context identity.
  • Added entry-point data-flow analysis for reachable and recursive functions, global/resource reads and writes, unreachable functions, and unused declarations.
  • Added navigable call hierarchy and entry-point data-flow experiences to Visual Studio and Visual Studio Code.
  • Added bounded configured macro include expansion for hlsl.preprocessorDefinitions, including alias chains, quoted and angle headers, virtual mappings, variants, editor overrides, dependency invalidation, and Preprocessor Explorer provenance.

Reliability

  • Call and data-flow analysis is bounded, cancellable, generation-aware, and conservative around incomplete compiler information.
  • Configured include expansion defers to DXC for source-defined, conditional, malformed, cyclic, context-dependent, or later compiler-argument-overridden macros.
  • Linux safely reports skipped-region analysis as unavailable for rewritten virtual include buffers affected by a DXC 1.9 GetSkippedRanges crash, while retaining include resolution, macros, diagnostics, and configuration details.

Documentation

  • Added call hierarchy and entry-point data-flow protocol/editor documentation.
  • Documented configured macro include JSON escaping, resolution boundaries, provenance, and the Linux skipped-region limitation.

This minor release includes #68 and #69.