Enum BlobKind
- Namespace
- ShadowDusk.HLSL.Dxc
- Assembly
- ShadowDusk.HLSL.dll
The container format of a compiled shader blob.
public enum BlobKind
Fields
D3dBytecode = 2A bare legacy D3D9 SM1–3 token stream (version token
0xFFFF____ps /0xFFFE____vs, CTAB comment, instructions,0x0000FFFFend token) — what vkd3d-shader's D3D_BYTECODE target emits and what the FNA fx_2_0 container embeds.Dxbc = 1DXC's bytecode container. Note DXC emits Shader-Model-6 DXIL, not the SM ≤ 5 DXBC_TPF that MonoGame's DX11 runtime loads — the shipping DirectX path uses the vkd3d-shader backend for DXBC, not DXC.
Dxil = 3A Shader Model 6 DXIL container — what DXC emits for the DirectX12 target (shipped in the
.mgfx) and for DirectX11's reflection-only companion compile (never shipped; vkd3d produces DX11's DXBC). Added by the 2026-07-27 bug hunt (N10): these blobs were previously mislabeled Dxbc / Spirv.Spirv = 0A SPIR-V module (the OpenGL/Vulkan path's intermediate).