Skip to content

HLSL-LSP v0.17.0

Latest

Choose a tag to compare

@KStocky KStocky released this 10 Nov 19:40
bb71964

Native Windows FXC / D3DCompiler backend

  • Adds an opt-in native FXC backend for legacy Shader Model 4/5 projects in Visual Studio and VS Code.
  • Select the compiler and an optional production-matched D3DCompiler DLL per project, file group, or shader variant.
  • Uses native FXC compilation, errors and warnings, preprocessing, disassembly, and reflection, including unsaved include buffers.
  • Reports unsupported capabilities explicitly instead of silently compiling with DXC or inventing reflected metadata.
  • DXC remains the default. FXC requires Windows; shared source-symbol features still use the DXC source index.
  • See the FXC configuration and capability guide.

Visual Studio reliability

  • Fixes custom shader-extension settings, document synchronization, classification, and navigation integration.
  • Applies native settings atomically and preserves the previous settings if a read fails.
  • Serializes runtime restarts and startup, awaits host shutdown before replacing the transport, and prevents overlapping owned server processes.
  • Preserves the existing connection after failed shutdown and keeps newer language-version changes made during a restart.

Runtime diagnostics and background analysis

  • Deduplicates DXC runtime conflicts using the complete normalized runtime selection, including equivalent paths with trailing separators.
  • Adds document/configuration provenance and process/session correlation to runtime troubleshooting logs, with existing protocol-trace redaction.
  • Returns ordinary document activity to quiet logging after a conflict is resolved.
  • Fixes a scheduler lost-wakeup race that could leave analysis waits blocked indefinitely.

Downloads

  • Visual Studio: HlslLsp.VisualStudio.vsix
  • Visual Studio Code: hlsl-lsp-vscode.vsix, including Windows x64 and Linux x64 runtimes
  • Standalone Linux x64: HLSL-LSP-linux-x64.tar.gz

All components use version 0.17.0. Linux requires glibc 2.38 or newer; the FXC backend is Windows-only.

Full changelog: v0.16.0...v0.17.0