microsoft / D3D12TranslationLayer

A library containing utilities for mapping higher-level graphics work to D3D12
MIT License
327 stars 47 forks source link

Add debug check for DXBC blob size #66

Open vdwtanner opened 2 years ago

vdwtanner commented 2 years ago

DXBC blobs should be a multiple of 4 bytes. This isn't a hard requirement, but in case something changes and we need to debug it, having a check to remind us could help.