microsoft / D3D12TranslationLayer

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

When max SRV heap size is 0 from upper layer args, use a reasonable default #60

Closed jenatali closed 2 years ago

jenatali commented 2 years ago

Fixes a regression from a74474d1d9a7d358768b202ab2bd2198b7f023b6 when used with D3D11On12/OpenCLOn12 which don't set this arg (clearing the struct to 0s).