gboisse / gfx

A minimalist and easy to use graphics API.
MIT License
502 stars 36 forks source link

Fix allow unordered access for ranges #47

Closed smeunier-amd closed 2 years ago

smeunier-amd commented 2 years ago

Support this case:

RWTexture2D<float4> g_RWAverages[6];

Before these changes, ensureTextureHasUsageFlag only processed g_RWAverages[0]. Now the whole range is processed.