jpvanoosten / LearningDirectX12

This repository is intended to be used as a code repository for learning DirectX 12.

Home Page:https://www.3dgep.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Structured buffer CreateViews doesn't check resource desc for validation

FireFlyForLife opened this issue · comments

Currently StructuredBuffer::CreateViews() attempts to create a SRV and UAV. Even though sometimes a UAV cannot be created (the resource flag ALLOW_UNORDERED_ACCESS is not set for example).