microsoft / D3D12TranslationLayer

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

Revert PlaneIndex => Subresource change #53

Closed jenatali closed 3 years ago

jenatali commented 3 years ago

I'd missed the two asserts and comment above which should've clued me in that the originally requested subresource isn't valid to use for this map resource. Instead, it needs to be just the plane index, which is the right subresource for this map resource.